Skip to content

ci(baselines): Bump baselines to Python 3.10#6194

Open
danieljanes wants to merge 2 commits intomainfrom
bump-baselines-to-py310
Open

ci(baselines): Bump baselines to Python 3.10#6194
danieljanes wants to merge 2 commits intomainfrom
bump-baselines-to-py310

Conversation

@danieljanes
Copy link
Member

No description provided.

@github-actions github-actions bot added the Maintainer Used to determine what PRs (mainly) come from Flower maintainers. label Nov 24, 2025
Copilot AI review requested due to automatic review settings February 5, 2026 19:36
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 updates the minimum Python version requirement from 3.8/3.9 to 3.10 across multiple baseline projects. The changes ensure consistency in Python version support by removing older version classifiers and updating tooling configurations.

Changes:

  • Removed Python 3.7, 3.8, and 3.9 from package classifiers
  • Updated minimum Python version in dependencies to >=3.10.0
  • Updated Black and Ruff target versions to only include py310 and py311

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
baselines/statavg/pyproject.toml Updated Black and Ruff target versions to py310
baselines/flwr_baselines/pyproject.toml Updated classifiers, dependencies, and Black target version to Python 3.10+
baselines/floco/pyproject.toml Updated Black and Ruff target versions to py310
baselines/fedrep/pyproject.toml Updated Black and Ruff target versions to py310
baselines/fedprox/pyproject.toml Updated Black and Ruff target versions to py310
baselines/fedpft/pyproject.toml Updated classifiers, dependencies, and tooling to Python 3.10+
baselines/feddebug/pyproject.toml Updated classifiers, dependencies, and tooling to Python 3.10+
baselines/fedbn/pyproject.toml Updated Black and Ruff target versions to py310
baselines/fedavgm/pyproject.toml Updated classifiers, dependencies, and tooling to Python 3.10+

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

python = ">=3.10.0, <3.12.0" # don't change this
flwr = { extras = ["simulation"], version = "1.5.0" }
hydra-core = "1.3.2" # don't change this
torch = {url = "https://download.pytorch.org/whl/cu118/torch-2.6.0%2Bcu118-cp310-cp310-linux_x86_64.whl#sha256=715d3b039a629881f263c40d1fb65edac6786da13bfba221b353ef2371c4da86"}
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

This torch wheel URL is hardcoded to cp310 (Python 3.10) but the project now supports Python 3.10 and 3.11. Consider using a version-agnostic approach or documenting that Python 3.11 users need a different wheel.

Copilot uses AI. Check for mistakes.
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.

1 participant