Skip to content

Commit

Permalink
[CI] Fix build failures for Python 3.7 with setuptools 61.0
Browse files Browse the repository at this point in the history
Also increase the logging from 'pip wheel' to help with debugging
  • Loading branch information
speth committed Mar 29, 2022
1 parent 91d582f commit 004d528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -492,7 +492,7 @@ jobs:
architecture: x64
- name: Install Python dependencies
run: |
python -m pip install -U pip 'setuptools>=43.0.0' wheel
python -m pip install -U pip 'setuptools<61.0' wheel
python -m pip install scons pypiwin32 numpy ruamel.yaml cython h5py pandas pytest pytest-github-actions-annotate-failures
- name: Restore Boost cache
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion interfaces/cython/SConscript
Expand Up @@ -102,7 +102,7 @@ ext = localenv.LoadableModule(f"cantera/_cantera{module_ext}",
obj, LIBPREFIX="", SHLIBSUFFIX=module_ext,
SHLIBPREFIX="", LIBSUFFIXES=[module_ext])

build_cmd = ("$python_cmd_esc -m pip wheel --no-build-isolation --no-deps "
build_cmd = ("$python_cmd_esc -m pip wheel -v --no-build-isolation --no-deps "
"--wheel-dir=build/python/dist build/python")
plat = info['plat'].replace('-', '_').replace('.', '_')
wheel_name = (f"Cantera-{env['cantera_version']}-cp{py_version_nodot}"
Expand Down

0 comments on commit 004d528

Please sign in to comment.