Repository navigation
Restore setuptools as a requirement for older Nutils cases - #952
Merged
Merged
Conversation
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.
#950 removed
setuptools >= 69.0.0from all Nutils-relatedrequirements.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
setuptoolsonly for the older Nutils versions, and without specifying a version requirement, since we don't know of any. Therequirements-reference.txtanyway 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
changelog-entries/<PRnumber>.md. -> None needed, never released.requirements.txtfiles, I regenerated siblingrequirements-reference.txtfiles withpython3 .dev-tools/releasing/update-requirements-reference.py(pass a path to update only that directory, or--allto refresh everything).