Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: bump ua-parser from 1.0.0 to 1.0.1 #12922

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2025

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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

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-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner February 3, 2025 04:36
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 3, 2025
Copy link

netlify bot commented Feb 3, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 15ca723
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/67a047dbd3f18a0008743058
😎 Deploy Preview https://deploy-preview-12922--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 3, 2025

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 15ca723
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/67a047db82f2e100089d8e0f

@BeryJu BeryJu merged commit fda9b13 into main Feb 3, 2025
69 checks passed
@BeryJu BeryJu deleted the dependabot/pip/ua-parser-1.0.1 branch February 3, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant