-
Notifications
You must be signed in to change notification settings - Fork 10.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
[MRG+1] Drop py34 support - Update CI envs #3892
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3892 +/- ##
==========================================
- Coverage 85.56% 82.55% -3.02%
==========================================
Files 164 164
Lines 9565 9565
Branches 1435 1435
==========================================
- Hits 8184 7896 -288
- Misses 1133 1409 +276
- Partials 248 260 +12
|
Codecov Report
@@ Coverage Diff @@
## master #3892 +/- ##
==========================================
- Coverage 85.54% 84.96% -0.59%
==========================================
Files 166 166
Lines 9681 9681
Branches 1445 1445
==========================================
- Hits 8282 8225 -57
- Misses 1146 1194 +48
- Partials 253 262 +9
|
34321e6
to
d9e8bd6
Compare
The py2 tests are failing due to a problem in a recent |
hey @elacuesta! I think it makes sense to do this as a part of dropping support for old OS, setting a new baseline Ubuntu/Debian. We need to decide what's the baseline, and then bump minimum package requirements and minimum Python version based on that. |
My proposal:
Ubuntu 14.04 trusty in only supported for paid customers (if I read announcements correctly), and it uses Python 3.4, twisted 13.2.0 (no Python 3 support), lxml 3.3.3. Debian jessie has LTS support until mid-2020. But it is also getting old (Python 3.4.2, Twisted 14.0.2 without Python 3 support, lxml 3.4). Is it too aggressive? //cc @dangra |
Xenial sounds good to me 👍 |
edd2f13
to
87c0976
Compare
@elacuesta jessie is emulated by installing the specific versions of modules into a trusty system. |
There is a CI on https://salsa.debian.org, I planned to learn it and maybe set up something automatical one day. |
Oh nice, that's what I suspected but I wasn't sure. Thanks! |
@elacuesta: we agreed to use Ubuntu 16.04 and Debian stretch as a new baseline for the 1.8 release. Feel free to update tox environments, requirements, Python versions, etc. to match it :) |
ead680d
to
d9543a6
Compare
Hello everyone. I updated this PR to add an environment with pinned versions that are known to work well. I'm only running it on py36, I think that's probably the most reasonable compromise to avoid adding many more envs to the Travis matrix, specially now that we have two more for the Robots parsing. I updated the |
Thanks @elacuesta!
Why not 3.5? Oldest Python, oldest supported versions of dependencies?
I think it worths it, as we may end up supporting 1.8 a bit longer than other versions. There is also a different Twisted minimum version requirement in setup.py; if we're not bumping it to match Python 3, it would be good to have a py27-pinned-versions env as well. |
Hey @kmike, I made some updates based on your feedback. Thanks! |
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. I’ve left a few minor comments regarding pinned versions.
Updated, added minimum and pinned versions of |
Random Travis error about not being able to install |
Thanks @elacuesta! Farewell Python 3.4! |
Based on #3825 (comment) by @dangra
I personally would like to see this because type hints were introduced in py35, and I'm currently working on #3881 (although it seems like variable annotations were introduced in 3.6 😿 - PEP 526)