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
sciunit fails to build with pip 20.1.x (with Python 3.9.0b1 and 3.8.3 alike). #144
Comments
I too had the same issue yesterday with trying to update docs on ReadTheDocs for a package that uses SciUnit. As a quick fix, I reverted to a previous version of pip (20.0.2). But we would need to eventually resolve this going forward. More here: pypa/pip#8188 |
@sanjayankur31 @appukuttan-shailesh Pip changes their API with every version for no reason, dropping key functionality. We have a fix in another fork which I will merge in here shortly. |
@sanjayankur31 @appukuttan-shailesh |
Thank you. I'll update the Fedora package now. The Fedora Python-SIG that filed the bug had noted that:
So, I checked pip out of curiosity, and it seems that they do not have a stable external API: The docs say: https://pip.pypa.io/en/latest/user_guide/#using-pip-from-your-program
I don't know what a replacement for this would be, though. I see stuff like pip-api is available: |
@sanjayankur31 Using the pip API solved some practical problems and edge cases (like handling comments in |
Hi there,
While testing sciunit builds in Fedora 33, we see that it fails to build with the new pip version, since it uses the pip internal API:
This is with sciunit-0.2.2.
Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1838486
The complete build logs are attached:
sciunit-build-log.txt
sciunit-root-log.txt
Sciunt is now included in NeuroFedora, and will be included in the next Comp-Neuro Fedora lab release (along with neuronunit which is a WIP):
The text was updated successfully, but these errors were encountered: