gavrik commented on issue #64921:
URL: https://github.com/apache/airflow/issues/64921#issuecomment-4215039919
I use the next bash script for install/upgrade airflow
`
(.env) [airflow@grafana-sandbox ~]$ cat airflow-upgrade.sh
AIRFLOW_VERSION=3.2.0
PYTHON_VERSION="$(python -c 'import sys;
print(f"{sys.version_info.major}.{sys.version_info.minor}")')"
echo "Install Airflow for python " ${PYTHON_VERSION}
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
pip install
"apache-airflow[celery,postgres,google,oracle,ssh,fab,http,smtp,ftp]==${AIRFLOW_VERSION}"
--constraint "${CONSTRAINT_URL}"
airflow db migrate
`
So the constraint file is already there.
It is interesting situation. Lets me build the fresh venv and install
airflow there.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]