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

Could not find a version that satisfies the requirement pg_dump_filtered #36

Closed
Benvii opened this issue Jul 12, 2018 · 1 comment
Closed
Assignees

Comments

@Benvii
Copy link
Member

Benvii commented Jul 12, 2018

When installing using pip got the following error :

Could not find a version that satisfies the requirement pg_dump_filtered (from dbrest==0.0.0) (from versions: )
No matching distribution found for pg_dump_filtered (from dbrest==0.0.0)

Original issue : OpenPathView/OPV_Ansible#38

@Benvii Benvii self-assigned this Jul 12, 2018
@Benvii
Copy link
Member Author

Benvii commented Jul 13, 2018

Pip parser has changed and now required a version in the egg value, which isn't the case here :
https:/OpenPathView/OPV_DBRest/blob/stable/setup.py#L15

Dependency links also are deprecated but still work with --process-dependency-link, the correct fix would be to use PEP 508 URL (direct URL) in install_requires. Pip doesn't accept PEP 508 direct url for now according to the current PR pypa/pip#5571 it will be released in the milestone 18 https:/pypa/pip/milestone/26 in a few days.

So after the 16 of july we will be able to use PEP 508 direct URL with Pip and we will need to change our setup.py files.

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