From 7108f91be46f0c0cab93d3bfcfaa00fdea92b661 Mon Sep 17 00:00:00 2001 From: meowmeow Date: Sat, 1 Jul 2023 07:10:21 +0000 Subject: [PATCH 1/2] Make usage message in `pipx run` show `package_or_url` instead --- src/pipx/commands/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipx/commands/run.py b/src/pipx/commands/run.py index 06b6e397ac..15428e081c 100644 --- a/src/pipx/commands/run.py +++ b/src/pipx/commands/run.py @@ -250,7 +250,7 @@ def _download_and_run( app_filename = app else: all_apps = ( - f"{a} - usage: 'pipx run --spec {package_name} {a} [arguments?]'" + f"{a} - usage: 'pipx run --spec {package_or_url} {a} [arguments?]'" for a in apps ) raise PipxError( From cb92f9085a5f248b21268a9d4020a736adfbd66a Mon Sep 17 00:00:00 2001 From: meowmeow Date: Sat, 1 Jul 2023 07:14:05 +0000 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 728002218d..68fad737e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## dev +- Make usage message in `pipx run` show `package_or_url`, so extra will be printed out as well - Use the py launcher, if available, to select Python version with the `--python` option - Support including requirements in scripts run using `pipx run` (#916) - Pass `pip_args` to `shared_libs.upgrade()`