Skip to content
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

Consider removing pre-installed Python packages #90

Closed
humitos opened this issue Feb 6, 2019 · 2 comments · Fixed by #166
Closed

Consider removing pre-installed Python packages #90

humitos opened this issue Feb 6, 2019 · 2 comments · Fixed by #166
Labels
Improvement Minor improvement to code

Comments

@humitos
Copy link
Member

humitos commented Feb 6, 2019

We are installing some scientific Python packages,

pip install --no-cache-dir --only-binary numpy,scipy numpy scipy
pip install --no-cache-dir pandas matplotlib

This was useful some time ago to reduce compiling time on builds. Although, this has changed and all of them have wheel packages and they are not needed to be compiled anymore.

By installing them in a clean venv locally, it took just 10s.

I propose to remove them completely from the docker image.

Besides, I'd say that people depending on these packages they will install the exact version they want and not an old one that we can provide from our docker image.

Other considerations,

Ref #1

@humitos
Copy link
Member Author

humitos commented Sep 24, 2020

3.9.0rc1 won't come with pre-installed requirements, see #137

@humitos
Copy link
Member Author

humitos commented Sep 2, 2021

New Docker (#166) images won't come with these pre-installed packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant