Skip to content

Commit

Permalink
debug gfortran path on Windows for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrohwer committed Nov 23, 2023
1 parent bb662eb commit d656ca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-12]
os: [macos-12]
os: [windows-latest]

steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires = ["setuptools>=42",
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
build = "cp312-* cp311-* cp310-* cp39-*"
build = "cp312-*"
skip = "*musllinux* pp*"
build-verbosity = "3"
test-command = "python -s -c \"import pysces; pysces.test(3)\""
Expand All @@ -35,9 +35,12 @@ archs = "AMD64"

[[tool.cibuildwheel.overrides]]
select = "cp312-*win*"
environment = { CMAKE_GENERATOR="MSYS Makefiles", PATH="c:\\rtools40\\ucrt64\\bin;c:\\rtools40\\usr\\bin;$PATH" }
before-build = [
"python -m pip install scikit-build meson cmake ninja",
"python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy==2.0.0.dev0",
"echo $PATH",
"where.exe gfortran",
"exit 1",
]
environment = { CMAKE_GENERATOR="MSYS Makefiles", PATH="c:\\rtools40\\ucrt64\\bin;c:\\rtools40\\usr\\bin;$PATH" }
build-frontend = "pip; args: --no-build-isolation"

0 comments on commit d656ca5

Please sign in to comment.