-
-
Notifications
You must be signed in to change notification settings - Fork 618
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
🧪 Only run "lowest" & "supported" pip in tox for PR/push @ CI #2142
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[tox] | ||
envlist = | ||
# NOTE: keep this in sync with the env list in .github/workflows/ci.yml. | ||
py{38,39,310,311,312,py3}-pip{previous,latest,main}-coverage | ||
pip{previous,latest,main}-coverage | ||
pip{previous,latest,main} | ||
py{38,39,310,311,312,py3}-pip{supported,lowest,latest,main}-coverage | ||
pip{supported,lowest,latest,main}-coverage | ||
pip{supported,lowest,latest,main} | ||
checkqa | ||
readme | ||
skip_missing_interpreters = True | ||
|
@@ -14,7 +14,8 @@ extras = | |
testing | ||
coverage: coverage | ||
deps = | ||
pipprevious: pip==22.2.* | ||
pipsupported: pip==24.2 | ||
piplowest: pip==22.2.* | ||
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does "supported" actually mean here?
Is "pipsupported" the highest version we claim to support? Like, there's a pip 24.3, but we don't claim to support that (yet)? If so, would (and with dashes for readability) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, kind of. I just wanted to have something that is pinned in CI. So after this effort, when a PR fails the CI, it's clear that it's not related to something that said PR changed. I don't want to think too much about this. The immediate goal is to unblock development, and it can be refined later.
Maybe, I was considering it. But in order to avoid spending a lot of time overthinking, I've gone with "supported" as "something we run in CI".
I was reminded recently that tox makes dash-separated chunks factors, which might not be desired. I thought about it promptly and decided that it's not worthy of being in the scope of this PR and blocking it. But it could be debated separately, once this is complete. I'm currently blocked on getting #2106 to a working state (plus have some work to do in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, sounds good. Let's check this again when the other things are in place 👍 |
||
piplatest: pip | ||
pipmain: https://github.com/pypa/pip/archive/main.zip | ||
setenv = | ||
|
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.
Could we add dashes (and of course elsewhere where referenced) to improve readability?
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.
Later. See the other comment.