Skip to content

Commit

Permalink
feat: Add support for Python 3.12 (#94)
Browse files Browse the repository at this point in the history
FTR I run the Cython wrapper with Cython 3.0.3 to see
if any changes were needed, and no file was modified.
  • Loading branch information
BoboTiG authored Oct 6, 2023
1 parent 3c15e0e commit d456eca
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.x"
- name: Install build dependencies
run: python -m pip install --upgrade cibuildwheel
- name: Build wheels
run: python -m cibuildwheel
env:
CIBW_SKIP: "cp36-* cp312*" # skip 3.6 and 3.12 wheels
CIBW_SKIP: "cp36-*" # skip 3.6
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
- uses: actions/upload-artifact@v3
with:
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.x"
- name: Build source distribution
run: python setup.py sdist
- name: Store the source distribution
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
CHANGES
=======

1.1.0 (2023-10-06)
------------------

* Added Python 3.12 support.

1.0.0 (2023-09-03)
------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# built documents.
#
# The short X.Y version.
version = "1.0.0"
version = "1.1.0"
# The full version, including alpha/beta/rc tags.
release = version

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Information Analysis",
Expand All @@ -60,7 +61,7 @@

setup(
name="marisa-trie",
version="1.0.0",
version="1.1.0",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
Expand Down

0 comments on commit d456eca

Please sign in to comment.