You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/11/03 14:13:58 UTC

[GitHub] [airflow] aidar-ms opened a new issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

aidar-ms opened a new issue #12031:
URL: https://github.com/apache/airflow/issues/12031


   **Apache Airflow version**: 1.10.12
   
   **Environment**:
   
   - **OS** (e.g. from /etc/os-release): Any OS: Mac OS, Linux
   - **Install tools**: Pipenv
   - **Others**:
   
   **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 run `pipenv install`
   
   
   **Anything else we need to know**:
   Here's how `pipenv graph` lists apache-airflow dependencies:
   ```
   apache-airflow==1.10.12
     ...
     - attrs [required: ~=19.3, installed: 19.3.0]
     - cached-property [required: ~=1.5, installed: 1.5.2]
   ```
   
   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 complaining
   
   In 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?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] aidar-ms commented on issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

Posted by GitBox <gi...@apache.org>.
aidar-ms commented on issue #12031:
URL: https://github.com/apache/airflow/issues/12031#issuecomment-720899794


   @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?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil commented on issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

Posted by GitBox <gi...@apache.org>.
kaxil commented on issue #12031:
URL: https://github.com/apache/airflow/issues/12031#issuecomment-720453795






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] kaxil closed issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

Posted by GitBox <gi...@apache.org>.
kaxil closed issue #12031:
URL: https://github.com/apache/airflow/issues/12031


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12031:
URL: https://github.com/apache/airflow/issues/12031#issuecomment-720393650


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #12031: 1.10.12 `attrs` package dependency breaks pipenv locking

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #12031:
URL: https://github.com/apache/airflow/issues/12031#issuecomment-721008021






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org