-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Bug]: matplotlib __init__.py checks for .git folder 2 levels up, then errors due to setup tools_scm #23114
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
Comments
@JohnAtl your uni actually puts a .git inside package directories? It seems strange that they would version control an external package they have downloaded from pip. ping @timhoffm - |
Closes matplotlib#23114, where somebody has installed matplotlib into another git repo.
Closes matplotlib#23114, where somebody has installed matplotlib into another git repo.
Closes matplotlib#23114, where somebody has installed matplotlib into another git repo.
That is a .... strong choice on the part of who ever runs your cluster, but I can see how they got there. So long as they exclude the pyc files it might not ever get too outrageously big. |
Closes matplotlib#23114, where somebody has installed matplotlib into another git repo.
Closes matplotlib#23114, where somebody has installed matplotlib into another git repo.
Bug summary
My Uni deployed packages for me, which they store using git. Their .git folder happens to be two levels up from
__init__.py
, which see the folder and then requiressetuptools_scm
, which is not available in our cluster's environment.Code for reproduction
Actual outcome
Expected outcome
No errors, no requirement for setuptools_scm.
Additional information
New setup on our PACE-ICE cluster.
Not sure how they installed it.
Operating system
Linux
Matplotlib Version
3.5.1
Matplotlib Backend
agg
Python version
3.8.8
Jupyter version
6.4.11
Installation
No response
The text was updated successfully, but these errors were encountered: