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

Simplify ansible-core dep w/ compatible operator #346

Merged

Conversation

webknjaz
Copy link
Member

@webknjaz webknjaz commented Dec 2, 2021

The ~= opeator is similar to ^ in some ecosystems
(NodeJS/Poetry/Rust). It allows to achieve the request of a compatible
release by only allowing the last version segment to be variable.
For example, ~= 2.13.2 is equivalent to >= 2.13.2, == 2.13.*.

Ref: https://www.python.org/dev/peps/pep-0440/#compatible-release

The `~=` opeator is similar to `^` in some ecosystems
(NodeJS/Poetry/Rust). It allows to achieve the request of a compatible
release by only allowing the last version segment to be variable.
For example, `~= 2.13.2` is equivalent to `>= 2.13.2, == 2.13.*`.

Ref: https://www.python.org/dev/peps/pep-0440/#compatible-release
@webknjaz webknjaz added the enhancement New feature or request label Dec 2, 2021
Co-authored-by: Felix Fontein <felix@fontein.de>
@webknjaz webknjaz merged commit ceddbae into ansible-community:main Dec 2, 2021
@felixfontein
Copy link
Collaborator

@webknjaz thanks for the improvement!

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

Successfully merging this pull request may close these issues.

None yet

2 participants