Skip to content

Commit

Permalink
try py36 compatibility with setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Dec 11, 2024
1 parent 5fefc36 commit 0c2bbb8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
python-version:
# FIXME: add this back - "3.6"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
Expand All @@ -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
Expand Down Expand Up @@ -204,8 +204,8 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
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
Expand Down Expand Up @@ -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

#-------------------------------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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__

0 comments on commit 0c2bbb8

Please sign in to comment.