Skip to content

python 3.15 compat - #170

Merged
bckohan merged 1 commit into
mainfrom
py315
Aug 3, 2026
Merged

python 3.15 compat#170
bckohan merged 1 commit into
mainfrom
py315

Conversation

@bckohan

@bckohan bckohan commented Aug 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings August 3, 2026 18:53

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

Updates the project to explicitly support and validate compatibility with Python 3.15 by expanding CI coverage and adding targeted tests for new/changed stdlib enum behavior introduced in 3.15.

Changes:

  • Add Python 3.15 Trove classifier in project metadata.
  • Extend GitHub Actions test and lint matrices to include Python 3.15 (with prereleases allowed).
  • Add Python 3.15–gated tests covering new public enum APIs (show_flag_values, bin) and updated IntFlag negative-value inversion behavior.

Reviewed changes

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

File Description
tests/annotations/test_flags.py Adds Python 3.15–specific tests for new enum APIs and changed IntFlag semantics relevant to this library.
pyproject.toml Declares Python 3.15 support via Trove classifier.
.github/workflows/test.yml Runs the test suite on Python 3.15 across Linux/macOS/Windows.
.github/workflows/lint.yml Runs static analysis on Python 3.15 as the new “bleeding edge” version.

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (b98a07f) to head (1fd6897).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #170   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          414       414           
  Branches        85        85           
=========================================
  Hits           414       414           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bckohan
bckohan merged commit 57bfbcc into main Aug 3, 2026
29 checks passed
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.

3 participants