Skip to content

Commit 4f7a683

Browse files
authored
Merge pull request #65 from pycompression/314
Add 3.14 support and disable 3.9.
2 parents 5bb8918 + a9f525f commit 4f7a683

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
submodules: recursive
22-
- name: Set up Python 3.9
23-
uses: actions/setup-python@v2.2.1
22+
- name: Set up Python 3.10
23+
uses: actions/setup-python@v5
2424
with:
25-
python-version: "3.9"
25+
python-version: "3.10"
2626
- name: Install tox
2727
run: pip install tox
2828
- name: Lint
@@ -39,10 +39,10 @@ jobs:
3939
- uses: actions/checkout@v4
4040
with:
4141
submodules: recursive
42-
- name: Set up Python 3.9
43-
uses: actions/setup-python@v2.2.1
42+
- name: Set up Python 3.10
43+
uses: actions/setup-python@v5
4444
with:
45-
python-version: "3.9"
45+
python-version: "3.10"
4646
- name: Install tox and upgrade setuptools and pip
4747
run: pip install --upgrade tox setuptools pip
4848
- name: Run tox -e ${{ matrix.tox_env }}
@@ -53,33 +53,34 @@ jobs:
5353
strategy:
5454
matrix:
5555
python-version:
56-
- "3.9"
5756
- "3.10"
5857
- "3.11"
5958
- "3.12"
6059
- "3.13"
61-
- "pypy-3.9"
60+
- "3.14"
6261
- "pypy-3.10"
62+
- "pypy-3.11"
6363
os: ["ubuntu-latest"]
6464
include:
6565
- os: "macos-14" # For m1 macos
6666
python-version: "3.12"
6767
- os: "macos-13" # for x86 macos
68-
python-version: "3.9"
68+
python-version: "3.10"
6969
- os: "windows-latest"
70-
python-version: "3.9"
70+
python-version: "3.10"
7171
steps:
7272
- uses: actions/checkout@v4
7373
with:
7474
submodules: recursive
7575
- name: Set up Python ${{ matrix.python-version }}
76-
uses: actions/setup-python@v2.2.1
76+
uses: actions/setup-python@v5
7777
with:
7878
python-version: ${{ matrix.python-version }}
79+
allow-prereleases: true
7980
- name: Install tox and upgrade setuptools
8081
run: pip install --upgrade tox setuptools
8182
- name: Set MSVC developer prompt
82-
uses: ilammy/msvc-dev-cmd@v1.6.0
83+
uses: ilammy/msvc-dev-cmd@v1
8384
if: runner.os == 'Windows'
8485
- name: Install build dependencies (MacOS)
8586
run: brew install make
@@ -95,12 +96,12 @@ jobs:
9596
strategy:
9697
matrix:
9798
python_version:
98-
- "3.9"
99+
- "3.10"
99100
steps:
100101
- uses: actions/checkout@v4
101102
with:
102103
submodules: recursive
103-
- uses: uraimo/run-on-arch-action@v2.5.0
104+
- uses: uraimo/run-on-arch-action@v3
104105
name: Build & run test
105106
with:
106107
arch: none
@@ -145,7 +146,7 @@ jobs:
145146
- name: Install requirements (universal)
146147
run: conda install zlib-ng ${{ matrix.python_version}} tox
147148
- name: Set MSVC developer prompt
148-
uses: ilammy/msvc-dev-cmd@v1.6.0
149+
uses: ilammy/msvc-dev-cmd@v1
149150
if: runner.os == 'Windows'
150151
- name: Run tests (dynamic link)
151152
run: tox
@@ -178,19 +179,19 @@ jobs:
178179
with:
179180
submodules: recursive
180181
fetch-depth: 0 # Fetch everything to get accurately versioned tag.
181-
- uses: actions/setup-python@v2
182+
- uses: actions/setup-python@v2 # Some issues where caused by higher versions.
182183
name: Install Python
183184
- name: Install cibuildwheel twine build
184185
run: python -m pip install cibuildwheel twine build
185186
- name: Install build dependencies (Macos)
186187
run: brew install make
187188
if: runner.os == 'macOS'
188189
- name: Set MSVC developer prompt
189-
uses: ilammy/msvc-dev-cmd@v1.6.0
190+
uses: ilammy/msvc-dev-cmd@v1
190191
if: runner.os == 'Windows'
191192
- name: Set up QEMU
192193
if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'aarch64'}}
193-
uses: docker/setup-qemu-action@v1.0.1
194+
uses: docker/setup-qemu-action@v3
194195
with:
195196
platforms: arm64
196197
- name: Build wheels

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Changelog
99
1010
version develop
1111
-----------------
12-
+ Python 3.8 is no longer supported.
12+
+ Python 3.14 is supported.
13+
+ Python 3.8 and 3.9 are no longer supported.
1314
+ Switched to setuptools-scm for building the package rather than versioningit.
1415
+ Test files are added to the source distribution.
1516

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ requires-python = ">=3.9" # Because of setuptools version
1515
classifiers = [
1616
"Programming Language :: Python :: 3 :: Only",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
22+
"Programming Language :: Python :: 3.14",
2323
"Programming Language :: Python :: Implementation :: CPython",
2424
"Programming Language :: Python :: Implementation :: PyPy",
2525
"Programming Language :: C",

0 commit comments

Comments
 (0)