From 371c1a57d56dac97ea7cfdc23a10520eb9f646eb Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Wed, 13 Mar 2024 12:50:12 -0700 Subject: [PATCH 1/5] add python 3.12 --- .github/workflows/ci.yml | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dc1c03..1472383 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ 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 @@ -109,7 +109,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' cache: 'pip' cache-dependency-path: 'requirements-black.txt' - name: Install dependencies diff --git a/setup.py b/setup.py index a622f9d..e0f11b2 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", ], From ee68c147edd4432b3cdcec1e8b1d0943ecf54c81 Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Mon, 18 Mar 2024 16:17:50 -0700 Subject: [PATCH 2/5] update required cffi version --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e0f11b2..5cab185 100644 --- a/setup.py +++ b/setup.py @@ -33,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": [ From f82485ba37cfaf52bd86b87a982651dcbcd6a224 Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Wed, 13 Mar 2024 12:50:32 -0700 Subject: [PATCH 3/5] uprev actions/setup-python to v5 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1472383..47e28b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: 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,7 +107,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.12' cache: 'pip' From 834a11964b6e4fb35c8c608ef5276013a3e50b6e Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Mon, 18 Mar 2024 17:16:39 -0700 Subject: [PATCH 4/5] install scons with pip3 on macOS --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47e28b8..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)" From 1d5b7d1654304d8e6d7ab661f3c2dcedafba5792 Mon Sep 17 00:00:00 2001 From: Chris Copeland Date: Wed, 27 Mar 2024 12:35:10 -0700 Subject: [PATCH 5/5] update black --- requirements-black.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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