Skip to content

Commit

Permalink
Merge pull request #1 from siliconcompiler/add-312-remove-36-37
Browse files Browse the repository at this point in the history
Add Python 3.12 remove 3.6, 3.7
  • Loading branch information
gadfort committed Oct 13, 2023
2 parents f2a6bed + 252af2e commit ac4d034
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -13,12 +13,11 @@ jobs:
fail-fast: false
matrix:
version:
- {python: "3.6", os: "ubuntu-20.04"}
- {python: "3.7", os: "ubuntu-latest"}
- {python: "3.8", os: "ubuntu-latest"}
- {python: "3.9", os: "ubuntu-latest"}
- {python: "3.10", os: "ubuntu-latest"}
- {python: "3.11", os: "ubuntu-latest"}
- {python: "3.12", os: "ubuntu-latest"}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -38,5 +37,5 @@ jobs:
- name: Run Python tests
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e .[test]
python3 -m pip install .[test]
pytest
8 changes: 5 additions & 3 deletions .github/workflows/wheels.yml
Expand Up @@ -12,11 +12,12 @@ env:

jobs:
build_wheels:
name: Wheels leflib on ${{ matrix.platform.os }} ${{ matrix.platform.arch}}
name: Wheels leflib on ${{ matrix.platform.os }} ${{ matrix.platform.arch}} ${{ matrix.python-version }}
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
python-version: [cp38*, cp39*, cp310*, cp311*, cp312*]
platform:
- os: ubuntu-latest
arch: x86_64
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
brew install flex
echo "/usr/local/opt/flex/bin" >> $GITHUB_PATH
- uses: pypa/cibuildwheel@v2.12.1
- uses: pypa/cibuildwheel@v2.16
env:
CIBW_BEFORE_ALL_LINUX: |
yum --disablerepo=epel -y update ca-certificates
Expand All @@ -69,6 +70,7 @@ jobs:
CPPFLAGS="-I/usr/local/opt/flex/include"
CIBW_ENVIRONMENT_WINDOWS: SC_CMAKEARGS="-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake."
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BUILD: ${{ matrix.python-version }}
CIBW_SKIP: "pp* *win32 *i686 *-musllinux_*"
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_TEST_SKIP: "*_arm64"
Expand Down Expand Up @@ -113,7 +115,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311]
python: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]
steps:
- uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=45,<64",
"setuptools>=45",
"wheel",
"cython",
"scikit-build>=0.12",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -77,7 +77,7 @@ def parse_reqs():
version=get_version(),
packages=["sc_leflib"],

python_requires=">=3.6",
python_requires=">=3.8",
install_requires=install_reqs,
extras_require=extras_req,
**skbuild_args
Expand Down

0 comments on commit ac4d034

Please sign in to comment.