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

Incorrect parsing of git+https references in Python requirements.txt files #3029

Open
2 tasks done
fmigneault opened this issue Dec 5, 2022 · 0 comments
Open
2 tasks done

Comments

@fmigneault
Copy link

Bugs

Checks

Before submitting a bug report:

  • Double-check that the bug is persistent,
  • Double-check the bug hasn't already been reported on our issue tracker, they should be labelled bug or bugsnag.

Issue

As shown below, the git+https[...] package reference is interpreted as git instead of esgf-compute-api in this case.
I'm guessing the + leads to a space escape or something similar, but this is a valid method to reference/install a package.

The alternative (more traditional?) method is something like:

<package> @ <reference-url>

This invalid parsing is more problematic in cases where there are more than one git+https reference, as they are all regrouped under a common git package.

Contents of requirements.txt (partial)

docker
duration
git+https://github.com/ESGF/[email protected]#egg=esgf-compute-api
gunicorn>=20.0.4
json2xml<3.19.0; python_version <= "3.6"

Reported on Libraries.io

https://libraries.io/github/crim-ca/weaver
image

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

No branches or pull requests

1 participant