forked from ua-parser/uap-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: Tolsi/uap-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ua-parser/uap-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 10 files changed
- 2 contributors
Commits on Feb 1, 2025
-
I assume ruff's updated a few things since last time it was run, as it now fails.
Configuration menu - View commit details
-
Copy full SHA for 5f5f338 - Browse repository at this point
Copy the full SHA 5f5f338View commit details -
Fix memoisation of lazy parser & bump version
Reported by @Rafiot: the lazy parser is not memoised, this has limited effect on the basic / pure Python parser as its initialisation is trivial, but it *significantly* impact the re2 and regex parsers as they need to process regexes into a filter tree. The memoization was mistakenly removed in ua-parser#230: while refactoring initialisation I removed the setting of the `parser` global. - add a test to ensure the parser is correctly memoized, not re-instantiated every time - reinstate setting the global - add a mutex on `__getattr__`, it should only be used on first access and avoids two threads creating an expensive parser at the same time (which is a waste of CPU) Fixes ua-parser#253
Configuration menu - View commit details
-
Copy full SHA for ce12905 - Browse repository at this point
Copy the full SHA ce12905View commit details
Commits on Feb 15, 2025
-
builtins: fallback to package.json for uap-core version
In case where uap-core isn't a git repo (e.g. git archive), use uap-core's `package.json` as a fallback for getting a version.
Configuration menu - View commit details
-
Copy full SHA for 1b64406 - Browse repository at this point
Copy the full SHA 1b64406View commit details -
Fix fallback input for release action
Apparently the way submodules repos are configured leads to the branches not being mirrored locally (?) As such, the release job's fallback of checking out `'master'` fails whether triggered[^1] or scheduled[^2]. [^1]: https://github.com/ua-parser/uap-python/actions/runs/13090871627 [^2]: https://github.com/ua-parser/uap-python/actions/runs/13092233962
Configuration menu - View commit details
-
Copy full SHA for 2ca789e - Browse repository at this point
Copy the full SHA 2ca789eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea7a5ae - Browse repository at this point
Copy the full SHA ea7a5aeView commit details -
Since the environment is required via `workflow_dispatch`, the only fallback is scheduled release in which case we're publishing to pypy.
Configuration menu - View commit details
-
Copy full SHA for 60b35ec - Browse repository at this point
Copy the full SHA 60b35ecView commit details
Commits on Mar 3, 2025
-
Fix fallback input for release action for real
Turns out `'master'` probably worked all along as a fallback, the problem is that I was using `'master '`, with a trailing space, which was not a branch git managed to find for obvious reason, and since I carried the error into the fully qualified reference... is still didn't work. And manual triggers didn't have the issue because the tag was `required`, so I'd have to input the tag by hand every time, and the fallback value would be bypassed. - fix the fallback value - remove the requirement on `tag`, such that it's possible to manually trigger the action in a default state
Configuration menu - View commit details
-
Copy full SHA for 997990f - Browse repository at this point
Copy the full SHA 997990fView commit details
Commits on Jun 9, 2025
-
Update classifiers and version bounds
- add classifier for cpython 3.13 - add classifier for graal (now that it's been merged) - add pypy 3.11 to tox - re2 still hasn't published for CPython 3.13 so exclude from tox Fixes ua-parser#257, fixes ua-parser#265
Configuration menu - View commit details
-
Copy full SHA for 911b7a3 - Browse repository at this point
Copy the full SHA 911b7a3View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master