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

Overriding Transitive Dependency in Parser Clients #27

Open
crgz opened this issue Feb 2, 2023 · 0 comments
Open

Overriding Transitive Dependency in Parser Clients #27

crgz opened this issue Feb 2, 2023 · 0 comments

Comments

@crgz
Copy link
Owner

crgz commented Feb 2, 2023

Description

Our parser clients are facing issues with their transitive dependency as the last fixed version has not reached the Python Package Index yet. This last fixed version is available in the dependency master branch and can be accessed through a URL. However, simply referencing the URL in the requirements.txt file is not enough as the file's content is not used by the Python pip system to resolve dependencies.

To overcome this issue, we propose to replace the "package name" defined in the install_requires entry in the setup.py file with the URL pointing to the last fixed version. This will serve as a workaround until the fix reaches the Python Package Index.

Steps to reproduce

pip install fuzzy_parser

Expected Behavior

The latest version: pyswip-0.2.11 is installed

Actual Behavior

The version: pyswip-0.2.1o is installed:

Defaulting to user installation because normal site-packages is not writeable
Collecting fuzzy_parser
...
Installing collected packages: pyswip, fuzzy_parser
Successfully installed fuzzy_parser-0.2.59 pyswip-0.2.10
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