Skip to content

Commit

Permalink
git add .github/workflows/pipfreezedammit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenkov committed May 15, 2023
1 parent 8f63e7b commit eef4177
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_WINDOWS: AMD64 x86
CIBW_BEFORE_BUILD: pip freeze
CIBW_BEFORE_BUILD: python .github/workflows/pipfreezedammit.py
CIBW_SKIP: pp* cp36-* cp37-* *-win32 *_i686 *-musllinux_*
CIBW_TEST_COMMAND: pytest -rfxEXs --durations=20 --disable-warnings --showlocals --pyargs gensim
CIBW_TEST_REQUIRES: pytest testfixtures mock
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pipfreezedammit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""Like pip-freeze, but writes to stderr instead of stdout.
Implemented as a Python script because we need it to work on Windows, etc.
"""
import subprocess
import sys
subprocess.call([sys.executable, '-m', 'pip', 'freeze'], stdout=sys.stderr)

0 comments on commit eef4177

Please sign in to comment.