Skip to content

Commit 578f0b4

Browse files
authored
Merge pull request #88 from fancycode/python-3.12
Support Python 3.12+
2 parents ea73c00 + 2681f7f commit 578f0b4

File tree

10 files changed

+82
-449
lines changed

10 files changed

+82
-449
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
steps:
4444
- uses: actions/checkout@v4
4545

46+
- name: Install setuptools
47+
run: pip install "setuptools<72"
48+
4649
- name: Build module
4750
run: python setup.py build
4851

@@ -68,6 +71,9 @@ jobs:
6871
- "3.9"
6972
- "3.10"
7073
- "3.11"
74+
- "3.12"
75+
- "3.13"
76+
- "3.14"
7177

7278
steps:
7379
- uses: actions/checkout@v4
@@ -77,6 +83,9 @@ jobs:
7783
with:
7884
python-version: ${{ matrix.python-version }}
7985

86+
- name: Install setuptools
87+
run: pip install "setuptools<72"
88+
8089
- name: Build module
8190
run: python setup.py build
8291

appveyor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ environment:
77
- PYTHON: "C:\\Python35"
88
- PYTHON: "C:\\Python36"
99
- PYTHON: "C:\\Python37"
10+
- PYTHON: "C:\\Python312"
11+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
12+
INSTALL_SETUPTOOLS: "1"
13+
- PYTHON: "C:\\Python313"
14+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
15+
INSTALL_SETUPTOOLS: "1"
1016
- PYTHON: "C:\\Python26-x64"
1117
- PYTHON: "C:\\Python27-x64"
1218
- PYTHON: "C:\\Python33-x64"
@@ -16,6 +22,12 @@ environment:
1622
- PYTHON: "C:\\Python35-x64"
1723
- PYTHON: "C:\\Python36-x64"
1824
- PYTHON: "C:\\Python37-x64"
25+
- PYTHON: "C:\\Python312-x64"
26+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
27+
INSTALL_SETUPTOOLS: "1"
28+
- PYTHON: "C:\\Python313-x64"
29+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
30+
INSTALL_SETUPTOOLS: "1"
1931

2032
build: off
2133

build.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ IF "%DISTUTILS_USE_SDK%"=="1" (
1818
ECHO Using default MSVC build environment
1919
)
2020

21+
IF "%INSTALL_SETUPTOOLS%"=="1" (
22+
ECHO Installing setuptools
23+
%PYTHON%\\python.exe -m pip install "setuptools<72"
24+
)
25+
2126
CALL %*

0 commit comments

Comments
 (0)