From 4f5f96f13ed4066d20a476ee5815256bb10407df Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Tue, 27 Aug 2024 16:37:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20support=203.11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- pyproject.toml | 2 +- setup.cfg | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7329eaa..6565a45 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-12, windows-2022] - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index a27b3df..f095698 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools >= 42, < 58", + "setuptools >= 42", "wheel" ] build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index ad41d2f..17a0aba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Programming Language :: Python :: Implementation :: CPython Environment :: Console license_files = LICENSE @@ -33,7 +34,7 @@ install_requires = pycryptodome >= 3.14.1 python-minifier >= 2.6.0 click -python_requires = >=3.6,<3.11 +python_requires = >=3.6,<3.12 packages = find: # package_dir = # = src From d65095d10304445f2862a944dbf120aad0276b83 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Tue, 27 Aug 2024 18:24:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=F0=9F=90=9B=20C=20compile=20failure?= =?UTF-8?q?=20'longintrepr.h'=20file=20not=20found?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Although fixed in https://github.com/cython/cython/compare/0.29.24...0.29.25 ,it won't work until 0.29.30 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 17a0aba..737c42b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,7 +30,7 @@ keywords = python-encrypt, import-hook [options] install_requires = - Cython >= 0.29.24 + Cython >= 0.29.30 pycryptodome >= 3.14.1 python-minifier >= 2.6.0 click