Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove python 3.7 and some cleanup #144

Merged
merged 13 commits into from
Aug 25, 2023
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, [])
Expand All @@ -250,7 +245,7 @@ def build_extensions(self):
author_email="[email protected]",
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",
Expand All @@ -268,7 +263,7 @@ def build_extensions(self):
author_email="[email protected]",
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",
Expand Down
Loading