potiuk commented on issue #51381: URL: https://github.com/apache/airflow/issues/51381#issuecomment-2949939456
> @kaxil, Im trying to install 3.0.2rc2 with pip install --pre apache-airflow==3.0.2rc2 but it fails on libcst wheel This is not an issue with airflow. You have an issue with installing `libcst` package on your system. You likely have a very old `pip` version that does not build the packages you install in isolated environment (< 22.* or < 23.* - those two numbers mean year of release of `pip`. Also it seems you might have very obscure system where .whl packages produced by libcst are missing - they have many of them: https://pypi.org/project/libcst/#files - the error you see happens when: a) `pip` cannot find a binary .whl matching your system (this should be very rare case looking at the number of different binary packages they release b) when [i[ fails during building of the .whl from the .tgz as a backup Also it can happen if `pip` is trying to find matching versions of packages it should installl - sometimes it tries to backrack and download and build old versions of packages. If you look here: https://github.com/apache/airflow/blob/constraints-3.0.2rc2/constraints-3.11.txt the version of libcst that is "golden" - i.e. whan that we know works and we recommend to install airfow with is latest 1.8.0 https://github.com/apache/airflow/blob/constraints-3.0.2rc2/constraints-3.11.txt Generally - we recommend people to use constraints to install airflow - for that very reason - see https://airflow.apache.org/docs/apache-airflow/stable/installation/installing-from-pypi.html So: 1) upgrade your pip 2) use constraints 3) change the system you are trying to install airflow on to match some common architectures -- 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]
