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

Add python 3.8 support #956

Merged
merged 1 commit into from
Nov 10, 2019
Merged

Conversation

hramezani
Copy link
Member

@hramezani hramezani commented Oct 21, 2019

Closes #948.

Changelog-friendly one-liner: Added python 3.8 support.

Contributor checklist
  • Provided the tests for the changes.
  • Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
  • Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

.travis.yml Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
.appveyor.yml Outdated Show resolved Hide resolved
.appveyor.yml Outdated Show resolved Hide resolved
.appveyor.yml Outdated Show resolved Hide resolved
@atugushev atugushev added maintenance Related to maintenance processes enhancement Improvements to functionality labels Oct 21, 2019
@atugushev atugushev changed the title Added python 3.8 support (issue #948). Add python 3.8 support Oct 21, 2019
@atugushev
Copy link
Member

atugushev commented Oct 21, 2019

@hramezani

Changelog-friendly one-liner:

it looks empty, could you uncomment the text after the label?

@atugushev atugushev added this to the 4.3.0 milestone Oct 21, 2019
@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #956 into master will increase coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #956      +/-   ##
=========================================
+ Coverage   98.97%   99.1%   +0.12%     
=========================================
  Files          34      34              
  Lines        2350    2350              
  Branches      305     305              
=========================================
+ Hits         2326    2329       +3     
+ Misses         13      11       -2     
+ Partials       11      10       -1
Impacted Files Coverage Δ
piptools/repositories/pypi.py 93% <0%> (+1.5%) ⬆️

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 58a3eb1...4b910e3. Read the comment docs.

@hramezani
Copy link
Member Author

@atugushev Thanks for the comment.
Check them again please and let me know if something is missed.

@atugushev
Copy link
Member

atugushev commented Oct 21, 2019

@hramezani thanks for addressing my review comments! Let's see how's the CI goes.

@atugushev
Copy link
Member

atugushev commented Oct 21, 2019

@hramezani could you also move py38-piplatest to the baseline tests group?

image

@atugushev
Copy link
Member

@hramezani py38-pip8.1.1 is failing, but I can't reproduce it locally. Can you?

@hramezani
Copy link
Member Author

hramezani commented Oct 21, 2019

py38-pip8.1.1

platform.linux_distribution() is removed in python3.8. and pip8.1 uses it:

File "/home/hasan/work/jazzband/pip-tools/.tox/py38-pip8.1.1/lib/python3.8/site-packages/pip/download.py", line 93, in user_agent
 34     zip(["name", "version", "id"], platform.linux_distribution()),

@atugushev
Copy link
Member

atugushev commented Oct 21, 2019

@hramezani

platform.linux_distribution() is remove in python3.8. and pip8.1 uses it:

File "/home/hasan/work/jazzband/pip-tools/.tox/py38-pip8.1.1/lib/python3.8/site-packages/pip/download.py", line 93, in user_agent
 34     zip(["name", "version", "id"], platform.linux_distribution()),

Yes, indeed, https://bugs.python.org/issue28167. Thanks! Let's exclude this job from the matrix then.

.travis.yml Show resolved Hide resolved
@hramezani hramezani force-pushed the python38_support branch 3 times, most recently from 976ca24 to cf5f992 Compare October 21, 2019 10:11
@hramezani
Copy link
Member Author

@atugushev Do you have any idea about why some AppVeyor tests failed?

@atugushev
Copy link
Member

@hramezani

Do you have any idea about why some AppVeyor tests failed?

It might be an issue with codecov. I've restarted failed jobs.

@hramezani
Copy link
Member Author

Seems they have not prepared python 3.8
SKIPPED: py38-pip19.2.3-coverage: InterpreterNotFound: python3.8

@atugushev
Copy link
Member

Yeah, we have to wait the following issues being closed:

.appveyor.yml Outdated Show resolved Hide resolved
@hramezani hramezani force-pushed the python38_support branch 2 times, most recently from c084b68 to ea4d696 Compare November 2, 2019 20:15
@atugushev
Copy link
Member

atugushev commented Nov 5, 2019

FTR, GitHub Actions has now fully support Python 8, see actions/setup-python#30 (comment).

@atugushev
Copy link
Member

atugushev commented Nov 9, 2019

FTR, AppVeyor has deployed Python 3.8, see appveyor/ci#3142 (comment).

@atugushev atugushev closed this Nov 9, 2019
@atugushev atugushev reopened this Nov 9, 2019
@atugushev
Copy link
Member

Reopened to trigger CIs.

@atugushev
Copy link
Member

Huh, we need to fix #983 first...

@atugushev
Copy link
Member

@hramezani could you merge the latest master? The issue #983 is fixed.

@hramezani
Copy link
Member Author

@atugushev Thanks. finally, it passed.

Copy link
Member

@atugushev atugushev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@atugushev atugushev merged commit 2649a8e into jazzband:master Nov 10, 2019
@atugushev
Copy link
Member

@hramezani thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to functionality maintenance Related to maintenance processes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add python 3.8 support
2 participants