Skip to content

Add py3.8 to the test matrix #453

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

Closed
wants to merge 13 commits into from
Closed

Add py3.8 to the test matrix #453

wants to merge 13 commits into from

Conversation

gvbgduh
Copy link
Member

@gvbgduh gvbgduh commented Oct 19, 2019

Adds py3.8 to the test matrix

Adds py3.8 to the test matrix
@gvbgduh gvbgduh changed the title Update .travis.yml Add py3.8 to the test matrix Oct 19, 2019
pip install -U Cython;
pip install -U git+https://github.com/MagicStack/uvloop.git@1eb6727437430fe0500d7f044dd6e4432abd0901;
pip install -U click h11 httptools websockets==8.* wsproto==0.13.*;
pip install -U autoflake black codecov isort pytest pytest-cov requests;
Copy link
Member

Choose a reason for hiding this comment

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

How come we need to install cython here?
I guess ideally we'd have test cases that just skipif a required dependency isn't installed.
Then we can just eg. omit uvloop, until they have a non-dev version that supports 3.8.

Copy link
Member Author

@gvbgduh gvbgduh Oct 22, 2019

Choose a reason for hiding this comment

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

It was an experimental PR to see what it gets to get it working and it doesn't look satisfying.
It definitely a good idea to have a fallback to asyncio with probably a warning.

Copy link
Member

Choose a reason for hiding this comment

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

We'd be okay on this if we'd resolved #298, and if we made the uvloop install conditional on py<=3.7 for the time being.

Users can still run on 3.8, but only if they figure out that they need to use --loop asyncio, which isn't ideal.

Copy link
Member

Choose a reason for hiding this comment

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

Oh actually we'd got a conditional install for uvloop already. Is there a way we can also add "only for 3.6 and 3.7" to setup.py, until we've got a fix from them?

Copy link
Member

Choose a reason for hiding this comment

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

Ah okay, we should probably just sit tight on this... MagicStack/uvloop#277 (comment)

@euri10
Copy link
Member

euri10 commented Oct 21, 2019 via email

@gvbgduh gvbgduh deleted the add-py38-to-the-matrix branch November 2, 2019 14:12
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.

3 participants