Skip to content

ci(downstream): bump hatchling to 1.31.0 and fix hatchling's rootdir - #1361

Merged
henryiii merged 1 commit into
pypa:mainfrom
henryiii:henryiii/ci/hatchling-131
Aug 3, 2026
Merged

ci(downstream): bump hatchling to 1.31.0 and fix hatchling's rootdir#1361
henryiii merged 1 commit into
pypa:mainfrom
henryiii:henryiii/ci/hatchling-131

Conversation

@henryiii

@henryiii henryiii commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

hatchling 1.31.0 fixed the flaky test.

In investigating the CI flake, Claude found that we never applied our exclusion,
since hatchling has no pytest config, it walks up and find ours. Added a rootdir to pin the correct paths (our warnings and such still leak in).

Assisted-by: ClaudeCode:claude-opus-5

hatchling 1.31.0 fixes the shared-scripts shebang rewriting that corrupted
non-script files, so the flaky test_default_shared_scripts deselect can go.

That deselect never applied anyway. hatchling ships no pytest config, so from
nox's tmp dir inside this checkout pytest made packaging's own directory the
rootdir, node IDs picked up a .nox/... prefix, and --deselect matched nothing.
Pass --rootdir=. so node IDs stay relative to the project.

Assisted-by: ClaudeCode:claude-opus-5
@henryiii
henryiii force-pushed the henryiii/ci/hatchling-131 branch from 1d67afd to ffb3330 Compare August 2, 2026 14:52
@henryiii henryiii changed the title ci(downstream): bump hatchling to 1.31.0 and unpack outside the checkout ci(downstream): bump hatchling to 1.31.0 and fix hatchling's rootdir Aug 2, 2026
@henryiii
henryiii merged commit f91d975 into pypa:main Aug 3, 2026
68 checks passed
@henryiii
henryiii deleted the henryiii/ci/hatchling-131 branch August 3, 2026 16:34
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