From ab8f5b6473429add813a4b00a2cff46933457847 Mon Sep 17 00:00:00 2001 From: gbtami Date: Thu, 9 Jan 2025 21:30:35 +0100 Subject: [PATCH] Update cibuildwheel, bump pyffish version --- .github/workflows/wheels.yml | 10 +++++----- setup.py | 2 +- src/pyffish.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index f147840aa..7af44b165 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -20,10 +20,10 @@ jobs: - uses: actions/checkout@v4 # Used to host cibuildwheel - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==2.16.2 + run: python -m pip install cibuildwheel==2.22.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -31,7 +31,7 @@ jobs: env: MACOSX_DEPLOYMENT_TARGET: "10.14" CIBW_ARCHS_MACOS: "x86_64 arm64" - CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux_* cp36-* cp37-*" + CIBW_SKIP: "pp* *-win32 *-manylinux_i686 *-musllinux_* cp36-* cp37-* cp38" CIBW_TEST_COMMAND: python {project}/test.py - uses: actions/upload-artifact@v4 @@ -44,9 +44,9 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.9' - name: Build sdist run: python setup.py sdist diff --git a/setup.py b/setup.py index 09fb65e38..b14189f5a 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ sources=sources, extra_compile_args=args) -setup(name="pyffish", version="0.0.85", +setup(name="pyffish", version="0.0.86", description="Fairy-Stockfish Python wrapper", long_description=long_description, long_description_content_type="text/markdown", diff --git a/src/pyffish.cpp b/src/pyffish.cpp index 0c297190e..2fa830e14 100644 --- a/src/pyffish.cpp +++ b/src/pyffish.cpp @@ -54,7 +54,7 @@ void buildPosition(Position& pos, StateListPtr& states, const char *variant, con } extern "C" PyObject* pyffish_version(PyObject* self) { - return Py_BuildValue("(iii)", 0, 0, 85); + return Py_BuildValue("(iii)", 0, 0, 86); } extern "C" PyObject* pyffish_info(PyObject* self) {