From 71d4f1dc26345d42cd0d268103d4c6fdae1050b1 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Fri, 25 Aug 2023 09:49:31 -0700 Subject: [PATCH] Remove python 3.7 and some cleanup (#144) * Update macOS target to macOS 11 Changed MACOSX_DEPLOYMENT_TARGET to macOS 11 * Remove python 3.7 * update cibuildwheel to 2.14.1 * Update build.yml * Set minimum OS and python versions * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Update build.yml * Remove darwin section from setup.py This darwin section was never used, and actually couldn't run as the class is only used on Windows * Update setup.py --- .github/workflows/build.yml | 8 +------- setup.py | 9 ++------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b090c92d..11d48f14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,12 +45,6 @@ jobs: runs-on: intel: [windows-latest] python: - - major-dot-minor: '3.7' - cibw-build: 'cp37-*' - manylinux: - arch: manylinux2014 - intel: manylinux2010 - matrix: '3.7' - major-dot-minor: '3.8' cibw-build: 'cp38-*' manylinux: @@ -132,7 +126,7 @@ jobs: CIBW_ARCHS_MACOS: ${{ matrix.os.cibw-archs-macos[matrix.arch.matrix] }} CIBW_PRERELEASE_PYTHONS: True run: - pipx run --spec='cibuildwheel==2.11.1' cibuildwheel --output-dir dist 2>&1 + pipx run --spec='cibuildwheel==2.11.2' cibuildwheel --output-dir dist 2>&1 - name: Upload artifacts uses: actions/upload-artifact@v3 diff --git a/setup.py b/setup.py index 04dfa9c7..2d0c820d 100644 --- a/setup.py +++ b/setup.py @@ -221,11 +221,6 @@ class BuildExt(build_ext): "unix": [""], } - if sys.platform == "darwin": - darwin_opts = ["-stdlib=libc++", "-mmacosx-version-min=10.14"] - c_opts["unix"] += darwin_opts - l_opts["unix"] += darwin_opts # type: ignore - def build_extensions(self): ct = self.compiler.compiler_type opts = self.c_opts.get(ct, []) @@ -250,7 +245,7 @@ def build_extensions(self): author_email="mariano@chia.net", description="Chia vdf verification (wraps C++)", license="Apache License", - python_requires=">=3.7", + python_requires=">=3.8", long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/Chia-Network/chiavdf", @@ -268,7 +263,7 @@ def build_extensions(self): author_email="florin@chia.net", description="Chia vdf verification (wraps C++)", license="Apache License", - python_requires=">=3.7", + python_requires=">=3.8", long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/Chia-Network/chiavdf",