From 0c2bbb836be336efaa6dae4f97732138529d0d71 Mon Sep 17 00:00:00 2001 From: Alex Mykyta Date: Tue, 10 Dec 2024 22:15:59 -0800 Subject: [PATCH] try py36 compatibility with setup.cfg --- .github/workflows/build.yml | 14 +++++++------- setup.cfg | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 setup.cfg diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe81470..08f6c3f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: strategy: matrix: python-version: - # FIXME: add this back - "3.6" + - "3.6" - "3.7" - "3.8" - "3.9" @@ -50,9 +50,9 @@ jobs: include: - os: ubuntu-latest -# # older versions need older OS -# - python-version: "3.6" -# os: ubuntu-20.04 + # older versions need older OS + - python-version: "3.6" + os: ubuntu-20.04 - python-version: "3.7" os: ubuntu-22.04 @@ -204,8 +204,8 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.22.0 env: - # Only build CPython 3.x targets - CIBW_BUILD: "cp3*" + # Only build CPython ABI3 targets + CIBW_BUILD: "cp3*-abi3-*" # Ensure full C++17 availability on macOS builds MACOSX_DEPLOYMENT_TARGET: "10.13" # Signal setup.py to fail if binary build fails @@ -253,8 +253,8 @@ jobs: run: python -m build --sdist - uses: actions/upload-artifact@v4 - name: release-dist-sdist with: + name: release-dist-sdist path: dist/*.tar.gz #------------------------------------------------------------------------------- diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..374caf5 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,4 @@ +# This file is only required for Python3.6 build compatibility with pyproject.toml +[metadata] +name = systemrdl-compiler +version = attr: src.systemrdl.__about__.__version__