diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dc1c03..f1c11e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies run: | - brew install -q scons + pip3 install scons - name: Build with SCons run: | scons --jobs "$(sysctl -n hw.ncpu)" @@ -69,12 +69,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-22.04, macos-13, windows-2022] - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -107,9 +107,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' cache: 'pip' cache-dependency-path: 'requirements-black.txt' - name: Install dependencies diff --git a/requirements-black.txt b/requirements-black.txt index 6ae32aa..70f3034 100644 --- a/requirements-black.txt +++ b/requirements-black.txt @@ -1 +1 @@ -black==23.9.1 +black==24.3.0 diff --git a/setup.py b/setup.py index a622f9d..5cab185 100644 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: MIT License", ], @@ -32,8 +33,8 @@ packages=["lithium"], include_package_data=True, package_data={"build_tools": ["ffibuilder.py"]}, - install_requires=["cffi>=1.12.0"], - setup_requires=["cffi>=1.12.0", "setuptools_scm"], + install_requires=["cffi>=1.16.0"], + setup_requires=["cffi>=1.16.0", "setuptools_scm"], cffi_modules=["ffibuilder.py:ffibuilder"], entry_points={ "console_scripts": [