chore: fix noxfile, CI pass gate, and stale config#712
Merged
Conversation
- noxfile: unpack doc_deps in docs session (was passing list, causing TypeError)
- noxfile: detect free-threaded Python from session.python suffix ('t') instead
of inspecting nox-host sysconfig; pass PYTHON_GIL=0 via env= kwarg rather
than mutating os.environ; apply to both lite and tests sessions
- noxfile: drop unused os/sys/sysconfig imports
- ci.yml: add if: always() to pass job and fail-step so skipped upstream jobs
don't bypass branch protection
- pyproject.toml: align test-optional numba lower bound to >=0.62 (matches extra)
- pyproject.toml: remove duplicate cast_python_value in pylint disable list
- .pre-commit-config.yaml: remove requirements-txt-fixer (no requirements*.txt)
- .pre-commit-config.yaml: bump blacken-docs black pin from ~=24.0 to ~=25.0
Assisted-by: ClaudeCode:claude-sonnet-4-6
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #712 +/- ##
=======================================
Coverage 87.09% 87.09%
=======================================
Files 96 96
Lines 11231 11231
=======================================
Hits 9782 9782
Misses 1449 1449 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
43 tasks
henryiii
commented
Jun 11, 2026
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.
🤖 AI text below 🤖
Summary
docssession:session.install("-e.", doc_deps)was passing the deps list as a single argument (TypeError at runtime). Fixed tosession.install("-e.", *doc_deps).sys.version_info/sysconfigof the nox host interpreter and mutatingos.environ["PYTHON_GIL"], leaking into subsequent sessions. Now detects free-threaded builds from the"t"suffix onsession.pythonand passesenv={"PYTHON_GIL": "0"}tosession.run(...)only. Applied to bothliteandtestssessions (CI runsliteon 3.14t). Drops unusedos/sys/sysconfigimports.passgate: Addedif: always()and a step that fails when any upstream job is infailureorcancelledstate, so skipped jobs no longer satisfy branch protection.test-optionalgroup from>=0.57to>=0.62to match the published[numba]extra."cast_python_value"entry frompyproject.toml.requirements-txt-fixerhook: Removed from.pre-commit-config.yaml(norequirements*.txtfiles exist in the repo).blacken-docsblack pin: Bumpedadditional_dependencies: [black~=24.0]→black~=25.0; pre-commit.ci autoupdate never touchesadditional_dependencies.Part of #711
All changes validated:
yaml.safe_loadon CI YAML OK,uvx nox -llists sessions without error,prek -a --quietpasses clean.🤖 Generated with Claude Code