-
Notifications
You must be signed in to change notification settings - Fork 16.3k
[HOLD][AIRFLOW-2973] Use Python 3.6.x everywhere possible #3816
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
Conversation
- Add Python 3.6 support to PyPI, tox, Travis CI - Update dev docs to recommend 3.6.x - Update MLEngine operator tests to use 3.6 - Update Kubernetes ExtractXcomPodRequestFactory pod spec to use 3.6
|
I have merged this changes to my PR @tedmiston . Thanks. It would be great if you can test Python 3.7 and as Bolke mentioned, we can then replace 3.6 with 3.7 :) |
|
This will add a lot of load to Travis, which we don't really want since Apache infra has to pay for this. My suggestion would be to set the tests to Python 3.6. |
|
@Fokko That makes sense, and I agree with you there. I reassigned the "upgrade to 3.6" Jira issue to @kaxil yesterday where he merged these changes into #3815, but then they were reverted back. Maybe we can keep his PR focused on the PyPI and tox setup of multiple subversions of Python 3 and then this one can become just upgrading the other bits that it changes above. My understanding is that both this and #3815 are on hold until the Docker image is reworked to support having multiple subversions of Python 3. Once that exists, I believe the changes on this branch should "just work". |
|
Yes sorry for that, I was trying to fix the issue and then debugged that it was related to our Docker CI setup and then just reverted some changes. I think we should change this PR for 3.7 (I will add the changes I made y'day in a sec to #3815 for Py3.6) as I mentioned in #3815 . You have already started working on it, which is really great @tedmiston . |
| - TOX_ENV=py35-backend_mysql PYTHON_VERSION=3 | ||
| - TOX_ENV=py35-backend_sqlite PYTHON_VERSION=3 | ||
| - TOX_ENV=py35-backend_postgres PYTHON_VERSION=3 | ||
| - TOX_ENV=py36-backend_mysql PYTHON_VERSION=3 |
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.
Also, remember we would be just testing a single python 3 version, which would be either 3.6 and then updated to 3.7 instead of 3.5 . So you can remove py35 lines
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Make sure you have checked all steps below.
Jira
Description
This PR is similar in nature / complementary to @kaxil's #3815.
Tests
Already covered by existing tests. I'm currently waiting on the CI to see if this breaks any existing unit tests.
Commits
Documentation
Code Quality
git diff upstream/master -u -- "*.py" | flake8 --diff