-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Minimum Python requirement should be at least 3.5.3 on PyPi due to dependencies #8162
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Also it seems that 3.8 can't be used either due to this bug but you probably already know about this. This fact would also belong to the requirements section of the documentation. |
Hey @belidzs -> would you mind creating a PR for that? This is a community managed project - so anyone can fix such problems (in Docs) - there is not even a need to report it. The requirements are documented in https://github.com/apache/airflow/blob/master/README.md#stable-version-1109 - so this needs to be updated there. |
@potiuk thanks for the suggestion, I just did that I'd also update the minimal requirements in the PyPi package metadata myself but since I have no experience with PyPil I'd rather leave that for someone else. |
Thanks! It needs to be done in v1-10-test branch - I will cherry-pick this change and will add the right exclusions :) |
Great, thank you! |
Apache Airflow version: 1.10.9
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment: python 3.5.2
uname -a
): Linux ubuntu-1604-staging.lan 4.4.0-176-generic Add docstrings to DAG class methods #206-Ubuntu SMP Fri Feb 28 05:02:04 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxWhat happened:
I have installed
apache-airflow[postgres]
using the distribution-provided pip installer into a virtualenv which was successful. However, after runningairflow
orairflow initdb
I get the following exception:The exception is caused by depending on
typing.ClassVar
which was only introduced in python 3.5.3Currently the package definition on pypi doesn't set a requirement of
>=3.5.3
which it should.What you expected to happen:
How to reproduce it:
Install airflow with
pip install apache-airflow
on Python 3.5.2 then runairflow
Anything else we need to know:
The text was updated successfully, but these errors were encountered: