Open
Conversation
Python 3.14 raises RuntimeError when calling asyncio.get_event_loop() without an existing loop.
- Github Workflows - Tox envs - Readthedocs uses Python 3.14
Python 3.14 changed ast.literal_eval() error messages from "<ast.Name object at 0x...>" to "Name(id='...', ctx=...)". Updated the Ellipsis pattern to be flexible enough to match both formats.
Python 3.14 argparse uses color and emits ANSI codes. Set NO_COLOR=1 in test to get plain text output.
24 instead of 26 because I do not want to run in any more compatibility issues
example got reformatted by ruff so line numbers in expected trace back didn't match anymore. Replace the line number by an ellipsis to avoid that.
importlib.resources needs a fix for Python 3.10/3.11: use __package__ instead of __name__ In Python < 3.12, importlib.resources.files() only accepts packages, not modules. __name__ was 'batou.lib.logrotate' (module), __package__ is 'batou.lib' (package). importlib_metadata and importlib_resources deps can be dropped as we require Python 3.10+ now.
This was a workaround for a very old pip issue.
tox-uv-bare supports Python 3.10+ only, so we couldn't use it before. tox-extra pulls in a lot of deps, including uv which tox-uv-bare avoids. Devs can still choose to install tox globally, for example: uv tool install tox --with tox-extra
hatchling fails when it encounters socket files while building a wheel. - GPG agent socket files now created in temp dirs, auto-cleaned - Add gpg_home fixture to all GPG-using tests - Remove obsolete cleanup code - Kill gpg-agent after test session to prevent leftover processes
This hurts readability for pytest output and is not needed anymore as tests expecting a fixed screen width have been adapted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
check_package_is_moduleworkaround.pkg_resourceswithimportlib.metadata.Covers PRs #529, #531 and #541 which can be closed after merging this.