-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
1.10.12 attrs
package dependency breaks pipenv locking
#12031
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Duplicate of #11965 |
This has been fixed in #11969 and will be available in Airflow 1.10.13 Thanks for reporting |
@kaxil Ok, thanks. Does the due date on November 03, 2020 here https://github.com/apache/airflow/milestone/7 mean that we should be expecting the release of 1.10.13 on November 3rd 2020? If not, when do you think the new version will be shipped? |
We had a planning meeting - I just moved this to the end of next week. We still have some work to do to complete it. You might expect it in 1-3 weeks to finish. Provisional date is set for 24 Nov but it might be earlier as well. In the meantime if you follow the installation mechanism that is described in INSTALL and https://airflow.apache.org/docs/stable/installation.html everything should work just fine. The proper way of installing airflow is with using constraints for example:
|
And if you want to read more why it is like that you can read more here: https://github.com/apache/airflow/blob/master/README.md#installing-from-pypi |
Apache Airflow version: 1.10.12
Environment:
What happened:
Trying to lock pip dependencies with pipenv is not working, I'm 90% sure because Apache Airflow specifies
attrs
package dependency at "~=19.3" somewhere in the project. Here's the error message:ERROR: ERROR: Could not find a version that matches attrs>=17.3.0,>=17.4.0,>=20.1.0,~=19.3 Tried: 15.0.0, 15.0.0, 15.1.0, 15.1.0, 15.2.0, 15.2.0, 16.0.0, 16.0.0, 16.1.0, 16.1.0, 16.2.0, 16.2.0, 16.3.0, 16.3.0, 17.1.0, 17.1.0, 17.2.0, 17.2.0, 17.3.0, 17.3.0, 17.4.0, 17.4.0, 18.1.0, 18.1.0, 18.2.0, 18.2.0, 19.1.0, 19.1.0, 19.2.0, 19.2.0, 19.3.0, 19.3.0, 20.1.0, 20.1.0, 20.2.0, 20.2.0
What you expected to happen:
Pipenv dependencies lock without errors
How to reproduce it:
Try to add
apache-airflow = {extras = ["postgres", "redis", "s3", "ssh", "crypto", "kubernetes"],version = "==1.10.12"}
to Pipfile and runpipenv install
Anything else we need to know:
Here's how
pipenv graph
lists apache-airflow dependencies:Whereas in setup.py file, https://github.com/apache/airflow/blob/master/setup.py, attrs are locked at 'attrs>=20.0, <21.0'.
Question:
I know it might pipenv-related question, but did you pin
attrs
package version at 19.3 anywhere in the project? And do you have any idea on how can I alter the version number so that pipenv stops complainingIn fact, I face quite a lot of issues with pipenv due to Airflow subdependencies. Is it a known issue that Airflow is not working well with Pipenv?
The text was updated successfully, but these errors were encountered: