From a6de719399c5bb539c065bb2f0a8f9b86ef52c8b Mon Sep 17 00:00:00 2001 From: studioj <22102283+studioj@users.noreply.github.com> Date: Fri, 22 Nov 2024 08:10:20 +0100 Subject: [PATCH] fix: Wrong tox env for packaging after rename in 39d89ef2 (#1924) * fix: Wrong tox env for packaging after rename in 39d89ef2 * fix: try installing the wheel with pip3 --------- Co-authored-by: Wolfgang Ulmer Co-Authored-By: Eddy Mojica <9168402+mojicae@users.noreply.github.com> --- .github/workflows/release.yml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc392c16d..cd80e1866 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: env: FORCE_COLOR: 1 PY_COLORS: 1 - TOXENV: packaging + TOXENV: pkg TOX_PARALLEL_NO_SPINNER: 1 steps: diff --git a/tox.ini b/tox.ini index e11430199..a7577625a 100644 --- a/tox.ini +++ b/tox.ini @@ -109,6 +109,7 @@ description = deps = build >= 0.7.0 twine + pip skip_install = true # Ref: https://twitter.com/di_codes/status/1044358639081975813 commands = @@ -124,7 +125,7 @@ commands = # Validate metadata using twine twine check --strict {toxinidir}/dist/* # Install the wheel - sh -c "python3 -m pip install {toxinidir}/dist/*.whl" + sh -c "pip3 install {toxinidir}/dist/*.whl" # Check if cli was installed jirashell --help # Uninstall the wheel