Skip to content

fix(pdm): avoid deprecation warning for PDM 2.17+#35

Merged
GabDug merged 1 commit into
mainfrom
fix/pdm-deprecation-warning
Aug 1, 2024
Merged

fix(pdm): avoid deprecation warning for PDM 2.17+#35
GabDug merged 1 commit into
mainfrom
fix/pdm-deprecation-warning

Conversation

@GabDug
Copy link
Copy Markdown
Owner

@GabDug GabDug commented Aug 1, 2024

Follow-up of the PDM changes related to lockfiles (commit, PR) in PDM 2.17+

While v0.6.0 fixed a crash, this fixes the following deprecation warning, while maintaining past versions compatibility.

PDMDeprecationWarning: Project.locked_repository is deprecated, use Project.get_locked_repository() instead
  candidates = project.locked_repository.all_candidates

@GabDug GabDug self-assigned this Aug 1, 2024
@GabDug GabDug merged commit 895cced into main Aug 1, 2024
@GabDug GabDug deleted the fix/pdm-deprecation-warning branch August 1, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant