From cba13b0e310c5b0179fbd5d3e82dea97c1fa0718 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 3 Nov 2023 15:43:49 +0100 Subject: [PATCH 1/2] Update CI/setup for Python 3.12 --- .github/workflows/tests.yml | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 597c99a36..4862bf92d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] include: - os: windows-2019 python_version: "3.6" @@ -78,7 +78,7 @@ jobs: python -m pip install wheel - name: Install fasttext - if: "!(startsWith(matrix.os, 'windows') && (matrix.python_version == '3.10' || matrix.python_version == '3.11'))" + if: "!(startsWith(matrix.os, 'windows') && (matrix.python_version == '3.10' || matrix.python_version == '3.11') || matrix.python_version == '3.12')" run: | python -m pip install fasttext diff --git a/setup.py b/setup.py index c4ced4938..34aada49f 100644 --- a/setup.py +++ b/setup.py @@ -173,6 +173,7 @@ def _get_readme(): 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Software Development', 'Topic :: Scientific/Engineering', 'Operating System :: Microsoft :: Windows', From 45ca510b82f516fd7a7cb3bf418a95cdccba491e Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 3 Nov 2023 15:44:19 +0100 Subject: [PATCH 2/2] Set version to v0.10.5 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 34aada49f..13e210279 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ import io import pybind11 -__version__ = '0.10.4' +__version__ = '0.10.5' FASTTEXT_SRC = "src" # Based on https://github.com/pybind/python_example