-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
dropping Python 2 support for tox host python #1130
Comments
why do i keep getting CC's ^^ i'm no longer working actively on tox |
@RonnyPfannschmidt my bad, I cc-d you here in case you have something to add related to our sister project |
from the pytest as a consumer perspective i can say the plan is solid 👍 , we are going to track the implementation to ensure the ci setup will use the new versions when they get released good job going forward |
I'm all for it 👍 |
I am catching up on old issues atm anyway, so will add things here, if they come up. |
Sounds like a good plan @gaborbernat! 👍 We don't have this luxury in pytest because we need to run the same Python as the code we are testing, hehehe. |
@nicoddemus but we share the shedule :) |
this potentially adds complication to projects which use language: python
matrix:
include:
- env: TOXENV=py27
python: 2.7
- env: TOXENV=py36
python: 3.6
- env: TOXENV=pypy
python: pypy2.7-5.10.0
install: pip install tox
script: tox
|
well that would pull in the last working python 2 tox, it would only be problem if the tox.ini uses some tox 4 construct, not? |
I guess that's true, if |
Well I don't consider that upgrade an impediment, furthermore tox 4 is more like something for Q3 of this year so still some time to bump pip on those ancient CI zips. |
tox 4 alpha is out and made this happen, we're now 3.6 only. |
With the sunset of Python 2 fast approaching, and many projects already switched to Python 3, we'll do the switch ourselves (https://python3statement.org/). My suggestion is to let's enter into the last six month of Python 2 support. Starting with June 2019 our code base will be Python 3 only (
tox 4
). The last Python 2 support tox must include #998 (to allow python 2 tox system installations to provision Python 3). Anything else we should include in the last python 2 packaging?PS. to clarify
tox
will support creating and running python 2 environments as long asvirtualenv
does (which is for the foreseeable future). We'll just no longer allow the tox host environment to be Python 2.cc @RonnyPfannschmidt @nicoddemus
The text was updated successfully, but these errors were encountered: