Skip to content

Add python 3.7 on CI #179

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 3 commits into from
Closed

Add python 3.7 on CI #179

wants to merge 3 commits into from

Conversation

waghanza
Copy link

@waghanza waghanza commented Jul 4, 2018

Hi,

This PR is an attempt to add CI on python 3.7

  • Linux
  • OSX
  • Windows

3.7 is not available by default on travis / linux @see travis-ci/travis-ci#9831

Windows is already using 3.7

Regards,

@waghanza waghanza changed the title [WIP] Python 3.7 Add python 3.7 on CI Jul 4, 2018
> python3.7 is not available on trusty

@see travis-ci/travis-ci#9831
.travis.yml Outdated
services: [docker]
env: BUILD=tests,wheels,release

cache:
Copy link
Member

Choose a reason for hiding this comment

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

This line seems out of place.

Copy link
Author

Choose a reason for hiding this comment

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

🎉

@1st1
Copy link
Member

1st1 commented Jul 4, 2018

While you're here, please update RELEASE_PYTHON_VERSIONS="3.5 3.6" to RELEASE_PYTHON_VERSIONS="3.5 3.6 3.7" in .travis.yml.

@1st1
Copy link
Member

1st1 commented Jul 4, 2018

@elprans please take a look.

@@ -65,6 +72,15 @@ matrix:
services: [docker]
env: BUILD=tests,wheels,release

- os: linux
Copy link
Member

Choose a reason for hiding this comment

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

Yes, we only need one "release" job for Linux. The actual wheel build is done inside manylinux docker images which are selected with the RELEASE_PYTHON_VERSIONS environment variable.

Copy link
Author

Choose a reason for hiding this comment

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

waiting https://travis-ci.org/MagicStack/uvloop/builds/400060588 to finish

may I suggest using 1 CI that support OSX / Linux / Windows (instead of 2)
I've found https://cirrus-ci.org/

Copy link
Member

Choose a reason for hiding this comment

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

Seems that Cirrus CI is just a couple of days old. We'll wait until it's mature before spending any time trying to integrate it.

language: python
python: "3.7"
services: [docker]
env: BUILD=tests,wheels,release
Copy link
Member

Choose a reason for hiding this comment

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

Drop "wheels,release" from BUILD.

Copy link
Author

Choose a reason for hiding this comment

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

Could also be the same for other python versions, no ?

Copy link
Member

@1st1 1st1 Jul 4, 2018

Choose a reason for hiding this comment

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

It's the same for other versions. There's only one target with BUILD=tests,wheels,release (3.5) which builds the wheels and releases them. All other targets (except macos) only run tests. So 3.7 linux target should also just run tests.

@@ -65,6 +72,15 @@ matrix:
services: [docker]
env: BUILD=tests,wheels,release

- os: linux
dist: xenial
branches: {only: [releases]}
Copy link
Member

Choose a reason for hiding this comment

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

Drop branches

sudo: required
language: python
python: "3.7"
services: [docker]
Copy link
Member

Choose a reason for hiding this comment

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

Drop services

.travis.yml Outdated
python: "3.5"
services: [docker]
env: BUILD=tests,wheels,release
python: "3.7"
Copy link
Member

Choose a reason for hiding this comment

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

Eh, we needed to keep env: BUILD=tests. Never mind, I'll make a PR myself.

Copy link
Author

Choose a reason for hiding this comment

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

👍 reverting my change, it will be better to refactor test after this

1st1 added a commit that referenced this pull request Jul 4, 2018
Special thanks to @waghanza (pr #179) for working on this change.
@1st1
Copy link
Member

1st1 commented Jul 4, 2018

I pushed a CI change in a separate commit: 37f964b

Thank you for working on this, I credited you for the change!

@1st1 1st1 closed this Jul 4, 2018
@waghanza waghanza deleted the py37 branch July 4, 2018 18:53
@waghanza
Copy link
Author

waghanza commented Jul 4, 2018

@1st1 awesome 🎉 but why removing appveyor ?

@1st1
Copy link
Member

1st1 commented Jul 4, 2018

AppVeyor was testing linux+python 3.7 (uvloop doesn't support Windows yet), which is now unnecessary.

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