Skip to content

ci(framework): Migrate to latest pip/setuptools/poetry#6644

Closed
danieljanes wants to merge 4 commits intoimprove-ci-robustnessfrom
migrate-poetry-2.3.2
Closed

ci(framework): Migrate to latest pip/setuptools/poetry#6644
danieljanes wants to merge 4 commits intoimprove-ci-robustnessfrom
migrate-poetry-2.3.2

Conversation

@danieljanes
Copy link
Collaborator

This PR migrates to Poetry 2.3.2 and updates pyproject.toml to adopt new standardized fields (instead of [tool.poetry]).

Copilot AI review requested due to automatic review settings February 28, 2026 07:31
Copy link
Contributor

Copilot AI left a comment

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 migrates the Flower framework's Python tooling from Poetry 2.1.3 to Poetry 2.3.2 and updates all pyproject.toml files to adopt the standardized PEP 621 [project] metadata format instead of the Poetry-specific [tool.poetry] table. Poetry is now installed via pipx in CI, and the python -m poetry invocation is replaced with plain poetry throughout all scripts and workflows.

Changes:

  • Upgrade pip (25.3 → 26.0.1), setuptools (80.9.0 → 82.0.0), and Poetry (2.1.3 → 2.3.2) across all scripts and CI configs
  • Migrate pyproject.toml files from [tool.poetry] to standard [project] tables (PEP 621), retaining [tool.poetry] only for Poetry-specific fields like packages and exclude
  • Replace python -m poetry with poetry (and use pipx to install poetry in CI bootstrap)

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
framework/pyproject.toml Migrated to [project], updated dep format from caret to explicit ranges, updated dev dep versions
framework/e2e/strategies/pyproject.toml Migrated to [project], keeps path dep in [tool.poetry.dependencies]
dev/pyproject.toml Migrated to [project], updated dep format
.github/actions/bootstrap/action.yml Changed to install poetry via pipx, moved pip/setuptools installs outside the poetry-skip guard
.github/workflows/framework-e2e.yml Replaced python -m poetry with poetry, updated pip version
.github/workflows/framework-test.yml Replaced python -m poetry with poetry
.github/workflows/framework-release.yml Replaced python -m poetry publish with poetry publish
.github/workflows/framework-docs.yml Replaced python -m poetry install with poetry install
.github/workflows/framework-docs-update-translations.yml Replaced python -m poetry and bare pip with python -m pip
.github/workflows/framework-devtools.yml Replaced python -m poetry install with poetry install
.github/workflows/intelligence-docs.yml Replaced python -m poetry install with poetry install
.github/workflows/build-deploy-non-framework-docs.yml Replaced poetry add ../datasets + poetry install with poetry install + pip install ../datasets
.github/workflows/deprecated-baselines.yml Replaced python -m poetry install with poetry install
.github/workflows/datasets-test.yml Replaced python -m poetry install with poetry install
dev/bootstrap.sh Updated tool versions, replaced python -m poetry with poetry
framework/dev/build.sh Replaced python -m poetry build with poetry build
framework/dev/publish-nightly.sh Replaced python -m poetry with poetry
framework/docs/source/conf.py Updated setuptools and pip version references
framework/docs/source/contributor-tutorial-get-started-as-a-contributor.rst Updated Poetry version requirement from 1.3 to 2.3
framework/docs/source/contributor-how-to-set-up-a-virtual-env.rst Updated Poetry venv commands for Poetry 2.x (poetry shellpoetry install + eval "$(poetry env activate)")

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

@github-actions github-actions bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Feb 28, 2026
@danieljanes danieljanes changed the base branch from main to improve-ci-robustness February 28, 2026 12:39
@danieljanes danieljanes deleted the branch improve-ci-robustness February 28, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintainer Used to determine what PRs (mainly) come from Flower maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants