Skip to content
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

Drop Python 3.4 #1604

Closed
wants to merge 1 commit into from
Closed

Drop Python 3.4 #1604

wants to merge 1 commit into from

Conversation

pquentin
Copy link
Member

It reached its end-of-life on 2019-03-18.

As far as I can tell, remaining references are either still valid (eg. ssl.create_default_context exists since Python 3.4) or in contrib packages like rfc3986 or scripts like _appveyor/install.ps1.

@codecov-io
Copy link

codecov-io commented May 11, 2019

Codecov Report

Merging #1604 into master will decrease coverage by 1.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1604      +/-   ##
==========================================
- Coverage   99.49%   98.47%   -1.02%     
==========================================
  Files          22       22              
  Lines        1972     1972              
==========================================
- Hits         1962     1942      -20     
- Misses         10       30      +20
Impacted Files Coverage Δ
src/urllib3/util/wait.py 76.56% <0%> (-23.44%) ⬇️
src/urllib3/connection.py 92.36% <0%> (-1.39%) ⬇️
src/urllib3/util/url.py 98.34% <0%> (-1.11%) ⬇️
src/urllib3/response.py 99.72% <0%> (-0.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f0d9ebc...0986091. Read the comment docs.

@codecov-io
Copy link

Codecov Report

Merging #1604 into master will decrease coverage by 0.36%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1604      +/-   ##
==========================================
- Coverage   99.73%   99.36%   -0.37%     
==========================================
  Files          22       22              
  Lines        1892     1892              
==========================================
- Hits         1887     1880       -7     
- Misses          5       12       +7
Impacted Files Coverage Δ
src/urllib3/util/wait.py 89.06% <0%> (-10.94%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d813bc...7673f68. Read the comment docs.

@theacodes
Copy link
Member

theacodes commented May 11, 2019 via email

@pquentin
Copy link
Member Author

Ah, right. pip deprecated 3.4 but did not remove it yet. They forgot to remove it in 19.1. See pypa/pip#6106

I also need to figure out why the coverage is decreasing.

@pquentin
Copy link
Member Author

There is a section in wait.py that is covered by Python 3.4 and Python 2.7. After this pull request it is only covered by Python 2.7, but codecov does not receive the 2.7 coverage info. This is why the coverage drops.

Maybe #1596 only fixed the coverage the issue for Python 3?

@sethmlarson
Copy link
Member

sethmlarson commented May 11, 2019

I think there's an issue in our .coveragerc file. nox / tox

@pquentin
Copy link
Member Author

All the Python 2.7 coverage uploads are failing in Travis, I think we need to fix that first

@pquentin
Copy link
Member Author

pquentin commented Jul 9, 2019

Closing as this PR now conflicts and pip won't remove Python 3.4 support until pip 19.2, in order to wait for six months between the deprecation and the removal: pypa/pip#6106 (comment). (I said above that pip should have removed Python 3.4 in 19.1, but I had missed that comment, sorry.)

@pquentin pquentin closed this Jul 9, 2019
@pquentin
Copy link
Member Author

pquentin commented Aug 6, 2019

pip finally dropped 3.4 support in 19.2 thanks to @hugovk in pypa/pip#6685, so we can do this in urllib3 now.

@sethmlarson
Copy link
Member

Woo!!!

@pquentin
Copy link
Member Author

pquentin commented Aug 7, 2019

Rebased, but 3.7 fails on Appveyor. Closing/reopening.

It reached its end-of-life on 2019-03-18 and has been dropped by pip
too.
@pquentin
Copy link
Member Author

pquentin commented Aug 7, 2019

The Python 3.7 Windows failure is reproducible. I compared the last good 3.7 build with the first bad 3.7 build, and noticed that Python was updated from 3.7.3 to 3.7.4, and OpenSSL from 1.1.0j to 1.1.1c as part of https://bugs.python.org/issue34631.

Here's my understanding of the failures:

I'm not planning to continue working on this, sorry!

@sethmlarson
Copy link
Member

Thanks for your investigation @pquentin. No problem. :)

@pquentin pquentin closed this Aug 19, 2019
@pquentin pquentin deleted the drop-python34 branch August 19, 2019 09:28
@pquentin pquentin mentioned this pull request Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants