Skip to content

Conversation

@cgohlke
Copy link
Member

@cgohlke cgohlke commented Sep 29, 2025

Description

  • Add support for Python 3.14, released October 7, 2025.
  • Drop support for Python 3.11 SPEC 0.
  • Require xarray>=2024.6.0 for numpy 2 compatibilty.
  • Bump Python versions in GitHub Actions workflows.
  • Update black to 25.9.0.

Issues:

  • blackdoc v0.4.3 is still not fully compatible with black 25.9.0.

Checklist

  • The pull request title and description are concise.
  • Related issues are linked in the description.
  • New dependencies are explained.
  • The source code and documentation can be distributed under the MIT license.
  • The source code adheres to code standards.
  • New classes, functions, and features are thoroughly tested.
  • New, user-facing classes, functions, and features are documented.
  • New features are covered in tutorials.
  • No files other than source code, documentation, and project settings are added to the repository.

@cgohlke cgohlke self-assigned this Sep 29, 2025
@cgohlke cgohlke added dependencies Pull requests that update a dependency file maintenance or infrastructure labels Sep 29, 2025
@cgohlke cgohlke changed the title Support Python 3.14 and drop Python 3.11 WIP: Support Python 3.14 and drop Python 3.11 Sep 29, 2025
@cgohlke cgohlke changed the title WIP: Support Python 3.14 and drop Python 3.11 Support Python 3.14 and drop Python 3.11 Oct 7, 2025
@cgohlke cgohlke requested a review from Copilot October 7, 2025 20:02
Copy link

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 Python version support by adding Python 3.14 and dropping Python 3.11 support, following the SPEC 0 guidelines. It also updates dependencies to ensure numpy 2 compatibility and modernizes build tools.

Key changes:

  • Updated minimum Python version from 3.11 to 3.12
  • Added Python 3.14 support across all configuration files
  • Updated xarray minimum version to 2024.6.0 for numpy 2 compatibility
  • Updated black to version 25.9.0 and related tooling

Reviewed Changes

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

Show a summary per file
File Description
tutorials/phasorpy_introduction.py Updated documentation to reflect new minimum Python version requirement
requirements_min.txt Changed Python version constraints from 3.11 to 3.12 for all dependencies
requirements_dev.txt Updated xarray and cython minimum versions, added pandas version constraint
pyproject.toml Updated Python version classifiers, dependencies, and build configuration
.pre-commit-config.yaml Updated tool versions and Python version arguments
.github/workflows/*.yml Updated GitHub Actions workflows to use Python 3.12-3.14 and newer action versions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cgohlke cgohlke merged commit a1a4fbd into phasorpy:main Oct 7, 2025
14 checks passed
@cgohlke cgohlke deleted the py314 branch October 7, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file maintenance or infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant