Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 17, 2024. It is now read-only.

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

Merged
nolar merged 1 commit into master from soft-bind-dependencies
Feb 20, 2024

Conversation

Copy link
Contributor

@nolar nolar commented Feb 19, 2024
edited
Loading

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
@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.
Reviewers

@dlawin dlawin Awaiting requested review from dlawin

1 more reviewer

@anatoly-scherbakov anatoly-scherbakov anatoly-scherbakov approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /