-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
A few more CI/tox tweaks #13948
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
A few more CI/tox tweaks #13948
Conversation
No reason for it that I can see.
Whatever pip is used almost certainly has the new resolver by now.
This way CI doesn't need to install coverage on its own just to run the `coverage report xml` command, instead it goes through tox.
I don't think it's needed.
No need to upgrade when it's not already installed.
This way it can only affect pytest. Don't think it matters here but only for consistency.
11952d6 to
665363a
Compare
| python -m pip install --upgrade pip | ||
| pip install --upgrade tox | ||
| pip install tox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally, I'd skip pip and have the entire env with tox pinned via --constraint=.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with this, how to skip pip but still get tox installed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant skip the previous line and have constraint on this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although, technically pipx is pre-installed so this could be skipped if there's no desire to pin the env.
| description = | ||
| run reverse dependency testing against pytest plugins under `{basepython}` | ||
| # use latest versions of all plugins, including pre-releases | ||
| pip_pre=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluetech I'd probably also delete --pre.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's intentional per the comment above it.
No description provided.