Skip to content

Commit

Permalink
restrict to python 3.7 or greater
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mather committed Nov 29, 2023
1 parent c5bef9f commit 495239b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BEFORE_BUILD_LINUX: "pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple numpy meson-python ninja setuptools build"
CIBW_BEFORE_BUILD_WINDOWS: "pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple numpy meson-python ninja setuptools build"
CIBW_BEFORE_BUILD_MACOS: "pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple numpy meson-python ninja setuptools build"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7"
CIBW_BEFORE_BUILD_LINUX: "pip install numpy meson-python ninja setuptools build"
CIBW_BEFORE_BUILD_WINDOWS: "pip install numpy meson-python ninja setuptools build"
CIBW_BEFORE_BUILD_MACOS: "pip install numpy meson-python ninja setuptools build"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest stripy
# ...
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ maintainers = [
{name = "Ben Mather", email = "ben.mather@sydney.edu.au"},
]
license = { file = "COPYING.LESSER" }
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand Down

0 comments on commit 495239b

Please sign in to comment.