Skip to content

Restore setuptools as a requirement for older Nutils cases - #952

Merged
MakisH merged 3 commits into
developfrom
setuptools-nutils7
Nov 30, 2026
Merged

MakisH merged 3 commits into
developfrom
setuptools-nutils7

Conversation

@MakisH

@MakisH MakisH commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

#950 removed setuptools >= 69.0.0 from all Nutils-related requirements.txt. I thought this was not needed anymore since the required version was quite old, but the original reason for adding the requirement seems to be that the package is needed in the first place but not defined as an explicit requirement in older Nutils versions.

In the nightly tests, it seemed that Nutils 9 was fine without, but Nutils 7 was not. In another test run, it looked like Nutils 6 was affected as well. We do not have any explicit requirements for Nutils 8 (only one for >=8.5).

This PR reverts setuptools only for the older Nutils versions, and without specifying a version requirement, since we don't know of any. The requirements-reference.txt anyway provide a reference.

I think that the current tests are enough. Since running all Nutils tests takes a very long time, I will just merge and let the nightly and weekly tests do the job.

Checklist

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md. -> None needed, never released.
  • If I changed requirements.txt files, I regenerated sibling requirements-reference.txt files with python3 .dev-tools/releasing/update-requirements-reference.py (pass a path to update only that directory, or --all to refresh everything).

@MakisH MakisH self-assigned this Nov 30, 2026
@MakisH
MakisH merged commit 16a80a9 into develop Nov 30, 2026
2 checks passed
@MakisH
MakisH deleted the setuptools-nutils7 branch November 30, 2026 14:49
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.

1 participant