Closed tatiana closed 2 years ago
@jlaneve I was able to reproduce the issue.
It seems that if you used a different version of Twilio it would work (twilio-6.63.2
), would this be a workaround for your problem?
The problem you are facing seems to be related to Airflow 2.2.3 dependencies and Twilio 7.0.0:
twilio 7.0.0 depends on PyJWT<3.0.0 and >=2.0.0
apache-airflow 2.2.3 depends on pyjwt<2
I noticed that due to the SQLAlchemy upgrade in Airflow 2.3.0, the Python Astro SDK is not compatible with the latest version of Airflow. I'm logging a separate issue for this.
You will need the following requirements, this is because of conflicting dependency between Flask-Appbuilder 3.4.5 (https://github.com/dpgaspar/Flask-AppBuilder/blob/v3.4.5/setup.py#L65) and Twilio 7.0.0, which is downgrading Twilio to 6.63.2 is needed. Once Airflow bumps Fab to >=4 it will be fine as it bumped PyJWT then: https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.0.0
astro-sdk-python[postgres,snowflake]
beautifulsoup4>=4.11.1
pandas
requests>=2.27.1
twilio>=6.63.2
Describe the bug Unable to create a virtual environment using
requirements.txt
:Reported by: @jlaneve
Version
To Reproduce
Create a virtualenv (e.g. using Python 3.9):
Create a
requirements.txt
file with:Install the
requirements.txt
fileExpected behavior The user is able to install the dependencies.
Additional context