-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Remove tox #2135
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
Remove tox #2135
Conversation
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.
Thanks for cleaning this up! I have not tested, but I think removing tox will help simplify things. One nitpick.
.github/workflows/tests.yml
Outdated
@@ -38,7 +32,8 @@ jobs: | |||
python-version: "${{ matrix.python-version }}" |
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.
Isn't that going to be broken now that you've removed the version matrix?
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.
The
python-version
input is not set. The version of Python currently inPATH
will be used.
It seems Github was automatically picking up Python 3.12.3 and doesn't fail, and I missed that.
I pushed a fix to specify 3.12 explicitly.
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've read through the comments and I think we're all mostly in agreement: tox
can go.
Regarding the version matrix, I think it can be safely removed now that:
- Both the websiste and Trac are dockerized (they can run independent python versions as long as they run django versions that are database-compatible)
- We will switch to a preview server (see #1922 and #2153)
There are still mentions of the version matrix in the yaml file though, I think those should be removed. Come to think of it, what will be the new single source of truth when it comes to the Python version if we remove the matrix?
e38e7ba
to
f2293d6
Compare
You are right, I pushed an update.
For the test pipeline, we can continue to use the same |
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.
There is still a reference to matrix.python-version
which should be removed:
COVERALLS_FLAG_NAME: "${{ matrix.python-version }}"
(line 64)
Other than that I think this is ready to merge, nice work 👍🏻
Do we still use Coveralls? https://coveralls.io/github/django/djangoproject.com |
Resolves django#1817 Resolves django#1890
Yep. Pushed another fix. |
No idea 🤷🏻 I know I don't, but I don't know when that was added and/or why. It's possible it doesn't make sense anymore. |
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.
Looks good to me.
Resolves:
Depends on: