Skip to content

How to properly switch from a released dependency to a pre-release #3075

Closed Answered by pawamoy
b-morgenthaler asked this question in Q&A
Discussion options

You must be logged in to vote

It might be because PDM stops at the first index that satisfies the dependency specifier, in the order you configured them.

dependencies = [
    "InternalLibrary>=1.1.0",
]
  • look into release index, find 1.1.0, satisfied
dependencies = [
    "InternalLibrary>1.1.0",
]
  • look into release index, find 1.1.0, not satisfied
  • look into dev index, find 1.1.1.dev0, satisfied

Try moving the dev index above the release one in pyproject.toml and see if you get the behavior you want 🤷

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@pawamoy
Comment options

pawamoy Aug 6, 2024
Maintainer Sponsor

Answer selected by b-morgenthaler
@b-morgenthaler
Comment options

@frostming
Comment options

@b-morgenthaler
Comment options

@b-morgenthaler
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants