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

Improve how we manage which PDM to use #22378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mwoehlke-kitware
Copy link
Contributor

@mwoehlke-kitware mwoehlke-kitware commented Jan 2, 2025

Move our PDM version pin to a separate file. This both makes it easier to manage updates to the same and also allows the pinned version to be usable outside of the venv_sync script. Add a simple script to update version pins in this file. Teach venv_upgrade to use this to update the PDM version pin in addition to updating the PDM lock file. Also, modify venv_sync to tell PDM to not complain about newer versions.

Toward #22040.


This change is Reviewable

@mwoehlke-kitware mwoehlke-kitware marked this pull request as draft January 3, 2025 17:48
@mwoehlke-kitware mwoehlke-kitware marked this pull request as ready for review January 3, 2025 18:40
@mwoehlke-kitware mwoehlke-kitware changed the title Teach venv_upgrade to also upgrade PDM Improve how we manage which PDM to use Jan 3, 2025
Move our PDM version pin to a separate file. This both makes it easier
to manage updates to the same and also allows the pinned version to be
usable outside of the venv_sync script. Add a simple script to update
version pins in this file. Teach venv_upgrade to use this to update the
PDM version pin in addition to updating the PDM lock file. Also, modify
venv_sync to tell PDM to not complain about newer versions.
@mwoehlke-kitware
Copy link
Contributor Author

+@BetsyMcPhail for feature review, please.

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.

2 participants