From d5d3915ce401736318377a66c774839df985a02b Mon Sep 17 00:00:00 2001 From: Misha Balyasin Date: Fri, 28 Oct 2022 11:09:36 +0200 Subject: [PATCH] Added Python 3.11 everywhere --- .github/workflows/main.yml | 2 +- CHANGELOG.md | 2 +- setup.cfg | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b60ebdd0..084fc0a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,7 +110,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10", "3.11"] steps: - name: Check out code uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index cc255c44..b2145115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated all versions to the latest available (courtesy of `dependabot`) - Added `run_from_dataframe` in `_run.py`, which enables passing dataframe as an input - Dropped Python 3.7 support (i.e., we no longer test for this version) since `numpy` dropped it -- Added support for Python 3.10 +- Added support for Python 3.10 and 3.11 - Replaced `pycld3` with `langdetect`. `pycld3` is unlikely to be supported in 3.10 and it recently started failing to build in 3.9. Since `pycld3` was only used in one place and given that `langdetect` looks like a reasonable replacement, we've decided to replace it. ### Fixed diff --git a/setup.cfg b/setup.cfg index e51504dc..a77534af 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,10 +15,13 @@ classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + [options] -python_requires >=3.8,<3.10 +python_requires >=3.8,<3.11 install_requires = click==8.1.3 numpy==1.23.4