Skip to content

Commit d456eca

Browse files
authored
feat: Add support for Python 3.12 (#94)
FTR I run the Cython wrapper with Cython 3.0.3 to see if any changes were needed, and no file was modified.
1 parent 3c15e0e commit d456eca

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
- name: Install Python
3030
uses: actions/setup-python@v4
3131
with:
32-
python-version: "3.11"
32+
python-version: "3.x"
3333
- name: Install build dependencies
3434
run: python -m pip install --upgrade cibuildwheel
3535
- name: Build wheels
3636
run: python -m cibuildwheel
3737
env:
38-
CIBW_SKIP: "cp36-* cp312*" # skip 3.6 and 3.12 wheels
38+
CIBW_SKIP: "cp36-*" # skip 3.6
3939
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
4040
- uses: actions/upload-artifact@v3
4141
with:
@@ -54,7 +54,7 @@ jobs:
5454
- name: Install Python
5555
uses: actions/setup-python@v4
5656
with:
57-
python-version: "3.11"
57+
python-version: "3.x"
5858
- name: Build source distribution
5959
run: python setup.py sdist
6060
- name: Store the source distribution

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-latest, windows-latest, macos-latest]
14-
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
14+
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
CHANGES
33
=======
44

5+
1.1.0 (2023-10-06)
6+
------------------
7+
8+
* Added Python 3.12 support.
9+
510
1.0.0 (2023-09-03)
611
------------------
712

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# built documents.
6060
#
6161
# The short X.Y version.
62-
version = "1.0.0"
62+
version = "1.1.0"
6363
# The full version, including alpha/beta/rc tags.
6464
release = version
6565

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"Programming Language :: Python :: 3.9",
5353
"Programming Language :: Python :: 3.10",
5454
"Programming Language :: Python :: 3.11",
55+
"Programming Language :: Python :: 3.12",
5556
"Programming Language :: Python :: Implementation :: CPython",
5657
"Topic :: Software Development :: Libraries :: Python Modules",
5758
"Topic :: Scientific/Engineering :: Information Analysis",
@@ -60,7 +61,7 @@
6061

6162
setup(
6263
name="marisa-trie",
63-
version="1.0.0",
64+
version="1.1.0",
6465
description=DESCRIPTION,
6566
long_description=LONG_DESCRIPTION,
6667
long_description_content_type="text/x-rst",

0 commit comments

Comments
 (0)