Skip to content

Commit

Permalink
Sigh. Pip hides compiler output which is, you know, important, and th…
Browse files Browse the repository at this point in the history
…e 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.
  • Loading branch information
jamadden committed Sep 18, 2024
1 parent e6ad759 commit 5144f70
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down

0 comments on commit 5144f70

Please sign in to comment.