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

Library packages should not exactly pin dependencies #154

Open
jayqi opened this issue Feb 16, 2024 · 0 comments
Open

Library packages should not exactly pin dependencies #154

jayqi opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jayqi
Copy link

jayqi commented Feb 16, 2024

The mapillary package is something that I would like to use as a library in my project, i.e., I install it as a dependency and import functionality from mapillary modules.

However, it currently looks like all of mapillary's dependencies are locked to exact versions.

install_requires=locked_requirements("default"),

This makes it really challenging to install mapillary into a virtual environment with other packages that might share dependencies.

It's not a typical practice to pin/lock dependencies for libraries. It makes sense for applications, but libraries are meant to be used by downstream consumers and dependencies need to be resolvable alongside other packages.

Some examples of discussion on this topic:

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

No branches or pull requests

1 participant