Add multi-version Python testing workflow and declare version support#3252
Closed
Add multi-version Python testing workflow and declare version support#3252
Conversation
Co-authored-by: LIghtJUNction <[email protected]>
Co-authored-by: LIghtJUNction <[email protected]>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds Python version classifiers to pyproject.toml and introduces a new GitHub Actions workflow to test AstrBot across multiple Python versions (3.10-3.13).
- Declares explicit support for Python 3.10, 3.11, 3.12, and 3.13 via PyPI classifiers
- Adds automated testing workflow across all supported Python versions
- Includes proper license and OS classifiers for better package metadata
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pyproject.toml | Adds PyPI classifiers declaring support for Python 3.10-3.13, AGPL v3 license, and OS independence |
| .github/workflows/multi-python-test.yml | Introduces a new CI workflow to run tests on Python 3.10, 3.11, 3.12, and 3.13 using a matrix strategy |
Copilot
AI
changed the title
[WIP] Add multiple Python versions for testing workflow
Add multi-version Python testing workflow and declare version support
Nov 1, 2025
Member
|
不行 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds CI testing for Python 3.10-3.13 and declares version support in project metadata per requirements.
Changes
Workflow (
.github/workflows/multi-python-test.yml)uv syncfail-fast: falseensures all versions testedpermissions: contents: readfor least-privilege securityMetadata (
pyproject.toml)requires-python = ">=3.10"unchangedThe workflow runs on push to master, PRs, and manual dispatch. Excludes documentation changes.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.