Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Relax the restrictions of dependencies versions: >= instead of ^ and = #867

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

nolar
Copy link
Collaborator

@nolar nolar commented Feb 19, 2024

Replaces #775.

The best approach for libraries is to assume the newer major versions of dependencies are backwards-compatible to the extent that we user them, breaking only in rare edge cases, which we likely do not use.

If it breaks, the app developers can put additional restrictions on their side in their virtualenvs. It is NOT the job of a library to restrict the dependencies from the upper side.

Only the lower restrictions should be set — to the minimum version supporting specific functionality that we use. Again, as lower as possible — to let the app developers space for maneuvering within their virtualenvs and whatever legacy code they have, as long as it does not break our code.

This is a library, so it must allow newer versions of dependencies in the virtualenv of the app, it should not restrict them to specific versions.
@nolar nolar merged commit 99209bd into master Feb 20, 2024
6 checks passed
@nolar nolar deleted the soft-bind-dependencies branch February 20, 2024 13:54
@nolar nolar changed the title Loosen the restrictions of dependencies versions: >= instead of ^ and = Relax the restrictions of dependencies versions: >= instead of ^ and = Feb 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants