Skip to content

Commit

Permalink
add Python 3.12 support, drop 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ixje committed Jan 19, 2024
1 parent 5376f35 commit 4b57039
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
CIBW_BEFORE_BUILD_LINUX: "python3 -m pip install cmake"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_BUILD: "cp310-macosx_x86_64 cp310-macosx_arm64 cp310-win_amd64 cp310-manylinux_x86_64 cp310-musllinux_x86_64 cp310-manylinux_aarch64 cp310-musllinux_aarch64 cp311-macosx_x86_64 cp311-macosx_arm64 cp311-win_amd64 cp311-manylinux_x86_64 cp311-musllinux_x86_64 cp311-manylinux_aarch64 cp311-musllinux_aarch64"
CIBW_BUILD: "cp311-macosx_x86_64 cp311-macosx_arm64 cp311-win_amd64 cp311-manylinux_x86_64 cp311-musllinux_x86_64 cp311-manylinux_aarch64 cp311-musllinux_aarch64 cp312-macosx_x86_64 cp312-macosx_arm64 cp312-win_amd64 cp312-manylinux_x86_64 cp312-musllinux_x86_64 cp312-manylinux_aarch64 cp312-musllinux_aarch64"
- name: Deploy
uses: softprops/action-gh-release@v1
with:
Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from setuptools.command.install_lib import install_lib as install_lib_orig
from distutils.version import LooseVersion

if sys.version_info < (3, 10):
sys.exit('Python < 3.10 is not supported')
if sys.version_info < (3, 11):
sys.exit('Python < 3.11 is not supported')

exclude = ['*-obj*', 'tools']

Expand Down Expand Up @@ -94,18 +94,19 @@ def build_extension(self, ext):
author='Erik van den Brink',
author_email='[email protected]',
name='neo3crypto',
python_requires='>=3.10.0,<=3.12',
python_requires='>=3.11.0,<=3.12',
description="Native crypto functions for the NEO 3 Blockchain",
long_description=readme,
long_description_content_type="text/x-rst",
version='0.4.2',
version='0.4.3',
license='MIT',
url='https://github.com/CityOfZion/neo3crypto',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
"Programming Language :: C++"
],
ext_modules=[CMakeExtension('neo3crypto')],
Expand Down

0 comments on commit 4b57039

Please sign in to comment.