Skip to content

python added 3.15 support#1761

Open
OmkarSarkar204 wants to merge 1 commit into
ArduPilot:masterfrom
OmkarSarkar204:version-bump
Open

python added 3.15 support#1761
OmkarSarkar204 wants to merge 1 commit into
ArduPilot:masterfrom
OmkarSarkar204:version-bump

Conversation

@OmkarSarkar204

@OmkarSarkar204 OmkarSarkar204 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

Closes : #1753

Checklist

  • Run pre-commit checks locally
  • Verified by a human programmer
  • All commits are signed off (use git commit --signoff)
  • Code follows our coding standards
  • Documentation updated if needed
  • No breaking changes or properly documented

Testing

Describe how you tested these changes:

  • Unit tests pass
  • Integration tests pass
  • Manual testing performed
  • Tested on flight controller hardware

Copilot AI review requested due to automatic review settings June 22, 2026 02:27

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

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Adds Python 3.15 support across packaging metadata and CI/dev tooling so the project can publish/test against the newer interpreter.

Changes:

  • Add Python 3.15 Trove classifier in pyproject.toml.
  • Expand GitHub Actions matrices (and some pinned workflow versions) to include/use Python 3.15.
  • Update Windows developer setup script to treat 3.15 similarly to 3.14 for build-tools warnings.

Reviewed changes

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

Show a summary per file
File Description
pyproject.toml Adds Python 3.15 classifier to advertised supported versions.
SetupDeveloperPC.bat Extends Python-version detection to match 3.15.
.github/workflows/update_vehicle_templates.yml Adds 3.15 to the workflow Python matrix.
.github/workflows/update_configuration_steps_translation.yaml Switches workflow runtime Python to 3.15.
.github/workflows/update_codebase_chart.yml Adds 3.15 to workflow matrices.
.github/workflows/reuse.yml Switches workflow runtime Python to 3.15.
.github/workflows/python-publish.yml Switches publish workflow runtime Python to 3.15.
.github/workflows/pytest.yml Adds 3.15 to test matrix and carryforward coverage config.
.github/workflows/pylint.yml Adds 3.15 to pylint matrix.
.github/workflows/build_windows_macos.yml Adds 3.15 to build matrices across OS jobs.

Comment thread SetupDeveloperPC.bat
Comment thread .github/workflows/pylint.yml Outdated
amilcarlucas
amilcarlucas previously approved these changes Jun 22, 2026
Signed-off-by: Omkar Sarkar <omkarsarkar24@gmail.com>
@amilcarlucas

Copy link
Copy Markdown
Collaborator

I corrected some stuff, let's see if the tests pass. And if they do, let's see if the windows executables run correctly.

@amilcarlucas

Copy link
Copy Markdown
Collaborator

At least lxml 6.1.1 causes issues. So we need to wait until that is fixed upstream until we can progress with this.

@OmkarSarkar204

Copy link
Copy Markdown
Contributor Author

At least lxml 6.1.1 causes issues. So we need to wait until that is fixed upstream until we can progress with this.

Yes, i also got the lxml error, thats why I had reverted the CI YAMLs and just kept the pyproject.toml bump :)

@amilcarlucas

Copy link
Copy Markdown
Collaborator

The pyproject.toml bump is a lie if python 3.15 does not pass ci :)

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.

Python 3.15 support

3 participants