hatch: update to 1.17.0 (and add new package dependencies).#61132
Open
Bnyro wants to merge 4 commits into
Open
hatch: update to 1.17.0 (and add new package dependencies).#61132Bnyro wants to merge 4 commits into
Bnyro wants to merge 4 commits into
Conversation
692a2eb to
71a8a48
Compare
Duncaen
requested changes
Jun 21, 2026
| # ignore backend tests, because updating hatchling when there is no new hatch | ||
| # version yet breaks these in hatch. | ||
| # ignore all cli tests that assume that hatch was installed via pip | ||
| # ignore tests that create temporary files in /tmp, which doesn't work in the build env |
Member
There was a problem hiding this comment.
Creating temporary files in /tmp should be possible, what is the issue specifically?
Contributor
Author
There was a problem hiding this comment.
Loally with ./xbps-src check hatch, the related tests pass. But on the GitHub CI runners (e.g. in this run), tests that try to execute binaries in /tmp fail:
OSError: Unable to locate executables directory within: /tmp/tmp7hv6e6w_/data/env/virtual/my-app/XFojh6yP/my-app
FileNotFoundError: [Errno 2] No such file or directory: Path('/tmp/tmppes2u9st/foo/bar/3.8/python/bin/python3')
and similar errors.
Contributor
Author
There was a problem hiding this comment.
(can be reproduced by removing lines 20-28 from the hatch template)
6ce9922 to
85d8373
Compare
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.
Testing the changes
New package
Local build testing
httpx2 and httpcore2 are forks of httpx and httpcore respectively, so I based their templates on the existing packages (although there are lots of dependency changes, and they don't include tests like their ancestor packages)