From 5144f7070cd7882f643f6b16a3dbc9138dbbf483 Mon Sep 17 00:00:00 2001 From: Jason Madden Date: Wed, 18 Sep 2024 10:12:20 -0500 Subject: [PATCH] Sigh. Pip hides compiler output which is, you know, important, and the only way to get it back is to ask for verbose output, which provides a bunch of junk we don't care about. But what's the point of warnings if we can't see them? So ask for all the junk. --- .github/workflows/tests.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index db238e5..37cbbf9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,13 @@ jobs: - name: Install greenlet (non-Mac) if: ${{ ! startsWith(runner.os, 'Mac') }} run: | - python -m pip wheel --wheel-dir ./dist . + # Stupid setuptools doesn't want you running 'python setup.py' anymore, + # but stupid pip hides all the intersting compiler output by default, and the + # only way to get anything useful out is to ask *everything* to be verbose, + # which is much more junk than we need to wade through, making it hard to + # see what we want. What's the point of having warnings at all if we can't + # see them, though? + python -m pip wheel -v --wheel-dir ./dist . python -m pip install -U -e ".[test,docs]" env: # Ensure we test with assertions enabled. @@ -71,7 +77,7 @@ jobs: - name: Install greenlet (Mac) if: startsWith(runner.os, 'Mac') run: | - python -m pip wheel --wheel-dir ./dist . + python -m pip wheel -v --wheel-dir ./dist . python -m pip install -U -e ".[test,docs]" ls -l dist # Something in the build system isn't detecting that we're building for both,