Skip to content

Commit 6dd8494

Browse files
committed
try py36 compatibility with setup.cfg
1 parent 5fefc36 commit 6dd8494

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
matrix:
4242
python-version:
43-
# FIXME: add this back - "3.6"
43+
- "3.6"
4444
- "3.7"
4545
- "3.8"
4646
- "3.9"
@@ -50,9 +50,9 @@ jobs:
5050
include:
5151
- os: ubuntu-latest
5252

53-
# # older versions need older OS
54-
# - python-version: "3.6"
55-
# os: ubuntu-20.04
53+
# older versions need older OS
54+
- python-version: "3.6"
55+
os: ubuntu-20.04
5656

5757
- python-version: "3.7"
5858
os: ubuntu-22.04
@@ -204,8 +204,8 @@ jobs:
204204
- name: Build wheels
205205
uses: pypa/cibuildwheel@v2.22.0
206206
env:
207-
# Only build CPython 3.x targets
208-
CIBW_BUILD: "cp3*"
207+
# Only build CPython ABI3 targets
208+
CIBW_BUILD: "cp3*-abi3-*"
209209
# Ensure full C++17 availability on macOS builds
210210
MACOSX_DEPLOYMENT_TARGET: "10.13"
211211
# Signal setup.py to fail if binary build fails
@@ -253,8 +253,8 @@ jobs:
253253
run: python -m build --sdist
254254

255255
- uses: actions/upload-artifact@v4
256-
name: release-dist-sdist
257256
with:
257+
name: release-dist-sdist
258258
path: dist/*.tar.gz
259259

260260
#-------------------------------------------------------------------------------

setup.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file is only required for Python3.6 build compatibility with pyproject.toml
2+
[metadata]
3+
name = systemrdl-compiler
4+
version = attr: systemrdl.__about__.__version__
5+
6+
[options]
7+
package_dir=
8+
=src

0 commit comments

Comments
 (0)