-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Multiple setuptools and wheels downloaded during installation with PI 20.3.2@master #9297
Comments
Already tracked in #9284. |
@uranusjr -> Just to repeat my question: I saw in one of the discussions (can't find it) that people are doing that but it is not needed/does not work to put setuptools in setup_requires. What is the recommended practice for that? |
I don’t think |
I tried installing airflow 2.0.0rc3 with the new master version of PIP (to be 20.3.2) and during the installation multiple versions of setuptools and wheels where downloaded.
During the installation PIP downloads all versions of wheel and setuptools are installed.
In our setup.cfg we have both setuptools and wheels in setup requires unbound (which I believe is a good practice but might be wrong about it). https://github.com/apache/airflow/blob/ab5f770bfcd8c690cbe4d0825896325aca0beeca/setup.cfg#L70
If this is wrong, can you please explain how setuptools and wheels should be setup (Ideally pointing us to the right documentation. I read somewhere in a discussion that specifying those in setup_requires is a bad practice and it does not work, but so far this is just anecdotal evidence. I would love to know what the best practice for that is.
The whole installation log is attached.
pip-20-3-2-master.txt
Installation environment:
Latest official Python 3.6 image with airflow dependencies (based on debian buster):
Installation method:
The easiest way to reproduce:
Related issues #9298 #9299
Extracts from the attached installation log follow
Wheel downloads part:
The setuptools downloads part:
The text was updated successfully, but these errors were encountered: