Skip to content

Commit

Permalink
Make sure we see the built whl file in stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Dec 13, 2023
1 parent 2b7ed52 commit 8db6362
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/gresearch/spark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,10 @@ def build_wheel(path: Path) -> Path:
logger = logging.getLogger()
logger.info(f"Running poetry using {poetry_python}")

# make sure the virtual env for this project exists, so that we get to see the build whl file in stdout
subprocess.check_call([poetry_python, '-m', 'poetry', 'env', 'use', sys.executable])

# build the whl file
proc = subprocess.run([
poetry_python, '-m', 'poetry',
'build',
Expand Down

0 comments on commit 8db6362

Please sign in to comment.