Skip to content

Commit

Permalink
chore: use 3.9 as minimum (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored Oct 9, 2024
1 parent 4e6ba22 commit ee67441
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ jobs:
with:
compiler: gcc
version: 12
- uses: yezz123/setup-uv@v4
- uses: wntrblm/nox@2024.04.15
- run: nox -s ${{ matrix.session }}
- uses: astral-sh/setup-uv@v3
- run: uvx nox -s ${{ matrix.session }}

free-threading:
runs-on: ${{ matrix.runs-on }}
Expand All @@ -49,8 +48,8 @@ jobs:
name: cibw on ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: yezz123/setup-uv@v4
- uses: pypa/cibuildwheel@v2.19
- uses: astral-sh/setup-uv@v3
- uses: pypa/cibuildwheel@v2.21
with:
package-dir: projects/hello-free-threading
env:
Expand Down
2 changes: 1 addition & 1 deletion projects/core-c-hello/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["scikit-build-core[rich,pyproject]"]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"

[project]
Expand Down
2 changes: 1 addition & 1 deletion projects/hatchling-pybind11-hello/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling", "scikit-build-core~=0.9.0", "pybind11"]
requires = ["hatchling", "scikit-build-core~=0.10.0", "pybind11"]
build-backend = "hatchling.build"

[project]
Expand Down
2 changes: 1 addition & 1 deletion projects/hello-cmake-package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ requires = [
"scikit-build",
"cmake>=3.14",
"ninja",
"pybind11>=2.6"
"pybind11>=2.12"
]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion projects/hello-cpp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
python_requires=">=3.7",
python_requires=">=3.9",
)
2 changes: 1 addition & 1 deletion projects/hello-cython/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
python_requires=">=3.7",
python_requires=">=3.9",
)
1 change: 1 addition & 0 deletions projects/hello-free-threading/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ build-backend = "scikit_build_core.build"
[project]
name = "freecomputepi"
version = "0.0.1"
requires-python = ">=3.13"

[tool.cibuildwheel]
build-frontend = "build[uv]"
Expand Down
2 changes: 1 addition & 1 deletion projects/hello-pure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
author="The scikit-build team",
license="MIT",
packages=["hello"],
python_requires=">=3.7",
python_requires=">=3.9",
)
2 changes: 1 addition & 1 deletion projects/hello-pybind11/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
packages=["hello"],
package_dir={"": "src"},
cmake_install_dir="src/hello",
python_requires=">=3.7",
python_requires=">=3.9",
)
2 changes: 1 addition & 1 deletion projects/pen2-cython/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
packages=["pen2_cython"],
package_dir={"pen2_cython": "src"},
scripts=["scripts/pen2_cython"],
python_requires=">=3.7",
python_requires=">=3.9",
)
6 changes: 3 additions & 3 deletions projects/pi-fortran/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ build-backend = "scikit_build_core.build"
[project]
name = "pi-fortran"
version = "1.0.1"
requires-python = ">=3.7"
requires-python = ">=3.9"
dependencies = ["numpy>=1.21"]

[tool.scikit-build]
ninja.minimum-version = "1.10"
cmake.minimum-version = "3.17.2"
ninja.version = ">=1.10"
cmake.version = ">=3.17.2"
2 changes: 1 addition & 1 deletion projects/tower-of-babel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
author="The scikit-build team",
license="MIT",
scripts=["scripts/tbabel"],
python_requires=">=3.7",
python_requires=">=3.9",
)
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target-version = "py37"
target-version = "py39"
line-length = 88

[lint]
Expand Down

0 comments on commit ee67441

Please sign in to comment.