Skip to content

Use python 3.12 for ci controlled scripts - #1055

Merged
gerrod3 merged 1 commit into
pulp:mainfrom
mdellweg:python_version_for_ci_code
Sep 18, 2026
Merged

gerrod3 merged 1 commit into
pulp:mainfrom
mdellweg:python_version_for_ci_code

Conversation

@mdellweg

Copy link
Copy Markdown
Member

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@gerrod3 gerrod3 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.

I think we should open a test PR against pulpcore to check that this works first. It looks fine, but I wonder if installing dependencies per script run will expose that we have been relying on global dependencies installed from previous steps.

{%- endif %}

{{ install_python_deps(["build", "towncrier", "twine", "wheel", "httpie", "docker", "netaddr", "boto3", "ansible~=10.3.0", "mkdocs", "jq", "jsonpatch", "bump-my-version"]) | indent(6) }}
{{ install_python_deps(["httpie", "docker", "netaddr", "boto3", "ansible~=10.3.0", "mkdocs", "jsonpatch"]) | indent(6) }}

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.

Is this now the last invocation of install_python_deps?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know. I didn't make the uv change complete in all places. Kind of reducing the risk here.

run: |
echo "Need to debug? Please check: https://github.com/marketplace/actions/debugging-with-tmate"
http --timeout 30 --check-status --pretty format --print hb "https://pulp${PULP_API_ROOT}api/v3/status/" || true
pulp status || true

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.

I don't think it's guaranteed that the cli will be installed. Also, why is this changing now? I don't see the change for display_logs macro?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Well, it is for a long time now. And this workflow file was just outdated compared to the templates.

(Apparently not everybody adjusting the templates brings the changes to these bootstrap files too.)

@mdellweg

Copy link
Copy Markdown
Member Author

I think we should open a test PR against pulpcore to check that this works first. It looks fine, but I wonder if installing dependencies per script run will expose that we have been relying on global dependencies installed from previous steps.

I did try it on this PR:
pulp/pulp_ansible#2632

@mdellweg

Copy link
Copy Markdown
Member Author

Let's add pulp/pulpcore#8109 for the test.

@gerrod3 gerrod3 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.

Pulpcore passes, so looks good to me. Thanks!

@gerrod3
gerrod3 merged commit 459b1b0 into pulp:main Sep 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants