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

Add note about specifier not including .dev versions #857

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/852.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarified how to handle version specifiers when testing the CLI for unreleased plugin versions (.dev).
6 changes: 6 additions & 0 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ class PulpMyPluginRepositoryContext(PulpRepositoryContext):
return body
```

!!! note
The specifier `>=x.y.z` doesn't include `x.y.z.dev` according to PEP 440.
Therefore, when adapting to an unreleased feature change from a plugin, you need to specify the prerelease part of the version explicitly.
However `>=x.y.z.dev` is never unambiguous in the current Pulp versioning practice.
Once that change is released please reset the constraint to the plain `x.y.z` schema.

### Generics

For certain often repeated patterns like listing all entities of a particular kind,
Expand Down
Loading