Skip to content

Commit e098a18

Browse files
committed
Add support for Python 3.14 and remove support for Python 3.9, round 1
1 parent fd8467f commit e098a18

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
python-version: '3.10'
3838

3939
- name: Install cibuildwheel
40-
run: python -m pip install "cibuildwheel>=2.22,<2.23"
40+
run: python -m pip install "cibuildwheel>=3.2.1,<3.3"
4141

4242
- name: Build wheels
4343
run: python -m cibuildwheel --output-dir wheelhouse
4444
env:
45-
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
45+
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
4646
CIBW_SKIP: "*-win32 pp* *-musllinux_i686" # Skip win32, PyPy and muslinux32 builds
4747
CIBW_ARCHS_MACOS: "native" # macos-14 is apple silicon ie. arm64
4848
# Build manylinux2014 wheels

.github/workflows/build_wheels_linux_aarch64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python-version: '3.10'
2525

2626
- name: Install cibuildwheel
27-
run: python -m pip install "cibuildwheel>=2.22,<2.23"
27+
run: python -m pip install "cibuildwheel>=3.2.1,<3.3"
2828

2929
# Needed for Linux aarch64 builds
3030
- name: Set up QEMU
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build wheels
3737
run: python -m cibuildwheel --output-dir wheelhouse
3838
env:
39-
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
39+
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
4040
CIBW_ARCHS_LINUX: aarch64 # Specifically build linux aarch64 wheels
4141
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
4242
CIBW_BEFORE_ALL: "python -m pip install setuptools invoke && invoke build.deps"

.github/workflows/run_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Set up Python 3.13
12+
- name: Set up Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.13"
15+
python-version: "3.14"
1616

1717
- name: Install Python dependencies
1818
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nassl
66
[![PyPI wheel](https://img.shields.io/pypi/wheel/nassl.svg)](https://pypi.org/project/nassl/)
77
[![PyPI version](https://img.shields.io/pypi/pyversions/nassl.svg)](https://pypi.org/project/nassl/)
88

9-
Experimental OpenSSL wrapper for Python 3.9+ and [SSLyze](https://github.com/nabla-c0d3/sslyze).
9+
Experimental OpenSSL wrapper for Python 3.10+ and [SSLyze](https://github.com/nabla-c0d3/sslyze).
1010

1111
**Do NOT use for anything serious**. This code has not been properly tested/reviewed and is not production ready.
1212

build_macos_arm64_wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

33
# Python 3.9+ arm64 is required
4-
python -m pip install "cibuildwheel>=2.22,<2.23"
4+
python -m pip install "cibuildwheel>=3.2.1,<3.3"
55

66
export CIBW_ARCHS_MACOS="arm64"
77
export CIBW_BEFORE_ALL='python -m pip install invoke && invoke build.deps'
88
export CIBW_BEFORE_BUILD='python -m pip install invoke && invoke build.nassl'
9-
export CIBW_BUILD='cp39-* cp310-* cp311-* cp312-* cp313-*'
9+
export CIBW_BUILD='cp310-* cp311-* cp312-* cp313-* cp314-*'
1010
export CIBW_TEST_COMMAND='python -m pytest {project}/tests'
1111
export CIBW_TEST_REQUIRES="pytest"
1212

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
line-length = 120
33

44
[tool.mypy]
5-
python_version = "3.9"
5+
python_version = "3.10"
66
ignore_missing_imports = true
77
strict_optional = true
88
disallow_untyped_defs = true

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@
2828
"nassl.ocsp_response",
2929
"nassl.cert_chain_verifier",
3030
],
31-
"description": "Experimental OpenSSL wrapper for Python 3.9+ and SSLyze.",
31+
"description": "Experimental OpenSSL wrapper for Python 3.10+ and SSLyze.",
3232
"author": __author__,
3333
"author_email": "nabla.c0d3@gmail.com",
3434
"url": "https://github.com/nabla-c0d3/nassl",
35-
"python_requires": ">=3.9",
35+
"python_requires": ">=3.10",
3636
"classifiers": [
3737
"Development Status :: 4 - Beta",
3838
"Intended Audience :: Developers",
3939
"Intended Audience :: System Administrators",
4040
"Natural Language :: French",
4141
"License :: OSI Approved :: GNU Affero General Public License v3",
42-
"Programming Language :: Python :: 3.9",
4342
"Programming Language :: Python :: 3.10",
4443
"Programming Language :: Python :: 3.11",
4544
"Programming Language :: Python :: 3.12",
4645
"Programming Language :: Python :: 3.13",
46+
"Programming Language :: Python :: 3.14",
4747
"Topic :: System :: Networking",
4848
"Topic :: System :: Monitoring",
4949
"Topic :: System :: Networking :: Monitoring",

0 commit comments

Comments
 (0)