Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Bump ua-parser from 1.0.0 to 1.0.1 - #482

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/ua-parser-1.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/ua-parser-1.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 21, 2025 •

Copy link
Copy Markdown
Contributor

Bumps ua-parser from 1.0.0 to 1.0.1.

Release notes

Sourced from ua-parser's releases.

1.0.1: global parser is re-created on every access (/ parse)

This led to the parser having to be re-created on every access, which is quite expensive for the re2 and regex-based parser and completely negates their purpose.

This can be worked around by using a from-import (as Python will do the memoizing in that case, although every such from-import would create its own parser still)

from ua_parser import parser

and only parsing through that parser (without using the top-level utilities), or by setting the global parser "by hand" e.g.

ua_parser.parser = ua_parser.parser 

but obviously that requires knowing about the issue.

Major thanks to @​Rafiot for the report.

Commits
  • ce12905 Fix memoisation of lazy parser & bump version
  • 5f5f338 formatting fixes
  • 9f170aa Add zizmor to CI
  • e5a1348 Specify the PyPy version to target in tox
  • ca65e02 Remove dependency from ua-parser-builtins
  • e5bbe5a Add hook to do postN releases
  • 3bd09b7 Link readme to the default / stable documentation not latest
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [ua-parser](https://github.com/ua-parser/uap-python) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/ua-parser/uap-python/releases)
- [Commits](ua-parser/uap-python@1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: ua-parser
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants