Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Add nox to our dev dependencies and therefore to requirements-extras.txt #799

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

eskultety
Copy link
Member

@eskultety eskultety commented Jan 28, 2025

See commit 3/3.

Note: if the contribution is external (not from an organization member), the CI
pipeline will not run automatically. After verifying that the CI is safe to run:

@eskultety eskultety force-pushed the nox-to-requirements branch 2 times, most recently from 2a6a9a5 to ed1f062 Compare January 28, 2025 14:37
Based on the background from commit 67d5143 the '--allow-unsafe' flag
was needed by pip-compile for both requirements.txt and
requirements-extras.txt solely because of setuptools and because
requirements.txt has been pulled in by requirements-extras.txt
directly.

Our direct dependency on setuptools was dropped in commit f21f732 but
the flag itself was only removed from the requirements.txt generator
CLI of pip-compile but not from the requirements-extras.txt one.
The latter was then removed later by accident in commit d42d95e which
converted our tox usage to nox.

In any case, this commit is proposed standalone to shed a bit more
light on the background of '--allow-unsafe' usage in our pip-compile
invocation which doesn't seem to be needed any longer. In case that
need arises again, this commit can be referenced/blamed in the future
as a knowledge base resource.

Signed-off-by: Erik Skultety <[email protected]>
See previous commit for explanation on why this is no longer needed on
our side and in fact hasn't been part of local development's setups for
a while ever since we switched to nox.

Signed-off-by: Erik Skultety <[email protected]>
We encourage developers to use nox as the local test automation tool,
yet we don't install it by default as part of our dependencies, fix
that.

Signed-off-by: Erik Skultety <[email protected]>
@eskultety eskultety force-pushed the nox-to-requirements branch from ed1f062 to dd35bec Compare January 29, 2025 08:36
@eskultety eskultety added this pull request to the merge queue Jan 29, 2025
Merged via the queue into hermetoproject:main with commit d4a77e1 Jan 29, 2025
16 of 17 checks passed
@eskultety eskultety deleted the nox-to-requirements branch January 29, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants