Skip to content

hatch: update to 1.17.0 (and add new package dependencies).#61132

Open
Bnyro wants to merge 4 commits into
void-linux:masterfrom
Bnyro:hatch
Open

hatch: update to 1.17.0 (and add new package dependencies).#61132
Bnyro wants to merge 4 commits into
void-linux:masterfrom
Bnyro:hatch

Conversation

@Bnyro

@Bnyro Bnyro commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64-glibc

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)

@Bnyro Bnyro force-pushed the hatch branch 5 times, most recently from 692a2eb to 71a8a48 Compare June 19, 2026 15:00
Comment thread srcpkgs/hatch/template
# 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating temporary files in /tmp should be possible, what is the issue specifically?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Bnyro Bnyro Jun 21, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(can be reproduced by removing lines 20-28 from the hatch template)

@Bnyro Bnyro force-pushed the hatch branch 2 times, most recently from 6ce9922 to 85d8373 Compare June 21, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants