-
Notifications
You must be signed in to change notification settings - Fork 42
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
Version constrain >=x.y.z
doesn't include unreleased plugin code x.y.z.dev
on tests
#852
Labels
Documentation
Improvements or additions to documentation
Triage-Needed
Needs to be reviewed at next pulp-cli mtg
Comments
pedro-psb
added
bug
Something isn't working (template-set)
Triage-Needed
Needs to be reviewed at next pulp-cli mtg
labels
Dec 13, 2023
This is working as designed. We are following pythons version sorting here. |
Yeah, I see your point. |
pedro-psb
added
Documentation
Improvements or additions to documentation
and removed
bug
Something isn't working (template-set)
labels
Dec 14, 2023
pedro-psb
added a commit
to pedro-psb/pulp-cli
that referenced
this issue
Jan 4, 2024
When some feature will be added or removed from a plugin, often this should be reflected in the CLI, but for it to be properly tested, that change should be already released. Using .dev versions isn't be reliable. closes pulp#852
3 tasks
pedro-psb
added a commit
to pedro-psb/pulp-cli
that referenced
this issue
Jan 8, 2024
When some feature will be added or removed from a plugin, often this should be reflected in the CLI, which requires some special care. Co-authored-by: Matthias Dellweg <[email protected]> closes pulp#852
mdellweg
pushed a commit
that referenced
this issue
Jan 8, 2024
When some feature will be added or removed from a plugin, often this should be reflected in the CLI, which requires some special care. Co-authored-by: Matthias Dellweg <[email protected]> closes #852
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation
Improvements or additions to documentation
Triage-Needed
Needs to be reviewed at next pulp-cli mtg
Summary
When writting a test for a plugin that contains a version constrains
>=x.y.z
, the test won't recognizex.y.z.dev
as being part of that constrain specification.Steps to reproduce
Create a test file and run it with pytest:
Expected behavior
Unreleased version (developer versions) of those constrains to be recognized as part of the case specification.
Pulp and pulp-cli version info
pulpcore:
3.42.0.dev
pulp-cli:
0.23.0.dev0
Additonal context
When some feature will be added or removed from a plugin, often this should be reflected in the CLI.
It would be convenient to allow testing those changes as if they were released, without having to wait the real release.
If that's not something desirable at all, we could add that in the docs to clarify one should wait the plugin changes to be released before doing in the CLI.
The text was updated successfully, but these errors were encountered: