-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from beeware/py3.14
Add support for Python 3.14; drop support for 3.8
- Loading branch information
Showing
8 changed files
with
50 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,28 +54,23 @@ jobs: | |
name: Unit tests | ||
needs: [ pre-commit, towncrier, package ] | ||
runs-on: ${{ matrix.platform }} | ||
continue-on-error: ${{ matrix.experimental }} | ||
continue-on-error: false | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ | ||
# X86-64 runners | ||
"macos-12", "macos-13", | ||
"macos-13", | ||
# M1 runners | ||
"macos-14" | ||
"macos-14", "macos-15" | ||
] | ||
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev" ] | ||
include: | ||
- experimental: false | ||
- python-version: "3.13-dev" | ||
experimental: true | ||
|
||
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13", "3.14" ] | ||
exclude: | ||
# actions/setup-python doesn't provide Python3.8 or 3.9 for M1. | ||
# actions/setup-python doesn't provide Python 3.9 for M1. | ||
- platform: "macos-14" | ||
python-version : "3.8" | ||
python-version : "3.9" | ||
|
||
- platform: "macos-14" | ||
- platform: "macos-15" | ||
python-version : "3.9" | ||
|
||
steps: | ||
|
@@ -88,6 +83,7 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
|
||
- name: Get packages | ||
uses: actions/[email protected] | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Support for Python 3.14 was added. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Python 3.8 is no longer a supported platform. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ dynamic = ["version"] | |
name = "rubicon-objc" | ||
description = "A bridge between an Objective C runtime environment and Python." | ||
readme = "README.rst" | ||
requires-python = ">= 3.8" | ||
requires-python = ">= 3.9" | ||
license.text = "New BSD" | ||
authors = [ | ||
{name="Russell Keith-Magee", email="[email protected]"}, | ||
|
@@ -29,12 +29,12 @@ classifiers = [ | |
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Objective C", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: 3.14", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Software Development", | ||
] | ||
|
@@ -48,9 +48,7 @@ Source = "https://github.com/beeware/rubicon-objc" | |
|
||
[project.optional-dependencies] | ||
dev = [ | ||
# Pre-commit 3.6.0 deprecated support for Python 3.8 | ||
"pre-commit == 3.5.0 ; python_version < '3.9'", | ||
"pre-commit == 4.0.1 ; python_version >= '3.9'", | ||
"pre-commit == 4.0.1", | ||
"pytest == 8.3.3", | ||
"setuptools_scm == 8.1.0", | ||
"tox == 4.21.2", | ||
|
This file contains 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
This file contains 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
This file contains 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