Skip to content

wmcore-dev: Updates image to use Python 3.12#1628

Merged
amaltaro merged 17 commits into
dmwm:masterfrom
d-ylee:fix-12383_update-to-python3.12
Aug 1, 2025
Merged

wmcore-dev: Updates image to use Python 3.12#1628
amaltaro merged 17 commits into
dmwm:masterfrom
d-ylee:fix-12383_update-to-python3.12

Conversation

@d-ylee

@d-ylee d-ylee commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Part of fixing dmwm/WMCore#12383

Changes

  1. Adds wmcore-development image (for user development)
  2. Uses Python 3.12 from uv
  3. Fixes permissions on /home/cmsbld
  4. Update Makefile
  5. Uses ARGs for the image to be more easily automated

Depends on

#1604
Depends on the cmsweb-alma9-base and gfal2 images in this PR.

@d-ylee

d-ylee commented Jul 14, 2025

Copy link
Copy Markdown
Contributor Author

If this is merged: dmwm/WMCore#12413, I can remove pip install mongomock.

@d-ylee

d-ylee commented Jul 28, 2025

Copy link
Copy Markdown
Contributor Author

This image doesn't use the cmsweb-alma9-base image anymore, so PR #1631 can be disregarded.

@amaltaro

Copy link
Copy Markdown
Contributor

Adds wmcore-development image (for user development)

@d-ylee is it for user development or Jenkins (or both)? Is it ready for a review, or are you still working on this PR?

@d-ylee

d-ylee commented Jul 29, 2025

Copy link
Copy Markdown
Contributor Author

This image doesn't use the cmsweb-alma9-base image anymore, so PR #1631 can be disregarded.

@amaltaro amaltaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@d-ylee this looks good in general, however I have several questions/comments to make, which are likely going to trigger updates to this PR.

  1. Can you please update the PR description clarifying why all of the python scripts have been removed from this build?
  2. what is the difference between Dockerfile and Dockerfile.dev? If we need both, can you please clarify them in the README file?
  3. I am not sure I understand the usage of the IMAGE_VERSION argument. Is it supposed to be the same as the label used in CERN Registry? Perhaps add a comment line above that ARG statement?
  4. I think we could also add instructions to the README on how to use the Makefile

Comment thread docker/pypi/wmcore-dev/Dockerfile Outdated
@d-ylee d-ylee linked an issue Jul 30, 2025 that may be closed by this pull request
@d-ylee d-ylee force-pushed the fix-12383_update-to-python3.12 branch 2 times, most recently from fbd6dcd to ffe64f9 Compare July 31, 2025 20:35
@d-ylee d-ylee requested a review from amaltaro July 31, 2025 22:03
@d-ylee d-ylee force-pushed the fix-12383_update-to-python3.12 branch from ffe64f9 to 5deb0f9 Compare August 1, 2025 00:47

@amaltaro amaltaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much, Dennis!

@amaltaro amaltaro merged commit bc3c72d into dmwm:master Aug 1, 2025
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.

Update WMCore-Jenkins to use Python 3.12

2 participants