-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Upgrade to tox 4 #23449
Upgrade to tox 4 #23449
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @PedramNavid and the rest of your teammates on Graphite |
Deploy preview for dagit-storybook ready! ✅ Preview Built with commit 7275325. |
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.
We should make this run against the full suite + all python versions just to double check that everything is fine.
You can add a magic string in your commit message to do that: https://www.notion.so/dagster/Buildkite-01a5666c2527462db2c3abe0d98cde45?pvs=4#55a86580485948c2877c55e62fe7fa39
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-gu13jyx8o-elementl.vercel.app Direct link to changed pages: |
good call, just ran |
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.
Sweet, thanks! Is there a corresponding PR for internal
as well? Going to request changes just to make sure that's present.
- Let's ensure
tox>=4
just to be safe - Let's update
tox.ini.tmpl
in the python package scaffold as well
Added! TIL about the python package scaffold. This whole time I was copy pasting files from other packages that looked decent 😭 |
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.
yahoo
What are the concrete benefits we get out of the upgrade? |
There’s some performance improvements to start times and better handling of dependency changes, eg when adding a new package while developing. But really, I sometimes end up with tox 4 in my environment somehow and it would never run and I’d end up reinstalling 3.2.5 which annoyed me, which was the real motivation for this |
Makes sense! Obviously in support. Just wondering what concrete goodies we get. |
Ohh there's also this: |
Merge activity
|
FYI we already use |
Summary & Motivation
Tox 3 was last updated in 2022. It's time to move to tox 4. The only breaking change is passenv variables need to be on a new line
How I Tested These Changes
bk