Skip to content

DEVOPS-1120: CI-tools: use uv instead of plain pip for setuptools package#190

Closed
sebhmg wants to merge 8 commits into
mainfrom
DEVOPS-1120
Closed

DEVOPS-1120: CI-tools: use uv instead of plain pip for setuptools package#190
sebhmg wants to merge 8 commits into
mainfrom
DEVOPS-1120

Conversation

@sebhmg

@sebhmg sebhmg commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

DEVOPS-1120 - CI-tools: use uv instead of plain pip for setuptools package

changing scope: also introduce an option to publish dev version tags that would normally be built but not published

Copilot AI review requested due to automatic review settings June 10, 2026 12:43
@github-actions github-actions Bot changed the title Devops 1120 DEVOPS-1120: CI-tools: use uv instead of plain pip for setuptools package Jun 10, 2026

Copilot AI 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.

Pull request overview

This PR updates the CI-tools reusable GitHub workflows to (1) use uv for setuptools-based package builds and (2) expand the publish workflows with an opt-in path to publish “dev” (non-publishable) versions, while also updating several internal action/workflow references to newer tags.

Changes:

  • Switched the setuptools build workflow from pip install to uv pip install (and added astral-sh/setup-uv).
  • Added a publish-dev-tag input to PyPI and rattler publish workflows and relaxed publish gating when explicitly enabled.
  • Updated several uses: MiraGeoscience/CI-tools/... references to @v3 or @v3.6.0-alpha.1.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/reusable-python-static_analysis.yml Updates CI-tools action references for environment setup to @v3.
.github/workflows/reusable-python-pytest.yml Updates CI-tools action references for conda/poetry env setup to @v3.6.0-alpha.1 (others to @v3).
.github/workflows/reusable-python-publish_rattler_package.yml Adds publish-dev-tag and updates publish gating / referenced CI-tools action/workflow tags.
.github/workflows/reusable-python-publish_pypi_package.yml Adds publish-dev-tag, adjusts publish condition, and updates referenced CI-tools action/workflow tags.
.github/workflows/reusable-python-build_setuptools_package.yml Introduces uv for installs and removes version-tag-based version extraction.
.github/workflows/reusable-python-build_poetry_package.yml Removes version-tag-based version extraction/output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

name: Publish package
needs: [build_rattler_package, is_publishable]
if: ${{ github.repository_owner == 'MiraGeoscience' && needs.is_publishable.outputs.is-publishable == 'true' }}
if: ${{ github.repository_owner == 'MiraGeoscience' && (needs.is_publishable.outputs.is-publishable == 'true' || inputs.publish-dev-tag) }}
Comment on lines +47 to +51
publish-dev-tag:
description: Whether to publish a "dev" version of the package. By default a "dev" version tag is built but not published.
required: false
type: boolean
default: false

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

right, I will recreate the PR, with a better scope. Initial issue is cancelled

sebhmg added 3 commits June 10, 2026 09:04
…1120

# Conflicts:
#	.github/workflows/reusable-python-pytest.yml
#	.github/workflows/reusable-python-static_analysis.yml
@sebhmg

sebhmg commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

not doing the change to uv. Other changes here moved to: #191

@sebhmg sebhmg closed this Jun 10, 2026
@sebhmg sebhmg deleted the DEVOPS-1120 branch June 12, 2026 16:51
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