From 872a8cdeb3be0ec2fcb937dfd8ef1472c13ed859 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sun, 27 Mar 2022 23:26:02 -0400 Subject: [PATCH] TEMPORARY: debug pip CI errors --- .github/workflows/main.yml | 7 +++++++ interfaces/cython/SConscript | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8f21cbc649..5678df67877 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -516,6 +516,13 @@ jobs: python_package=full env_vars=PYTHONPATH,GITHUB_ACTIONS msvc_version=${{ matrix.vs-toolset }} f90_interface=n --debug=time shell: cmd + - name: Store pip debug log + if: always() + uses: actions/upload-artifact@v2 + with: + name: pip-debug.log + path: pip-debug-vc${{ matrix.vs-toolset }}-py${{ matrix.python-version }}.log + retention-days: 2 - name: Test Cantera run: scons test show_long_tests=yes verbose_tests=yes --debug=time diff --git a/interfaces/cython/SConscript b/interfaces/cython/SConscript index a6f7dfb74ed..ef33b8f08cc 100644 --- a/interfaces/cython/SConscript +++ b/interfaces/cython/SConscript @@ -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 -vvv --log pip-debug.log --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}"