Skip to content

uvx in 0.5.31 no longer runs command and instead complains about hyphens of its own imagining #11521

Closed
@hauntsaninja

Description

@hauntsaninja
λ uv pip install uv==0.5.30
Using Python 3.11.8 environment at: /Users/shantanu/code/venvs/openai-fppa
Audited 1 package in 260ms
λ uvx change_wheel_version --help
usage: change_wheel_version [-h] [--local-version LOCAL_VERSION] [--version VERSION] [--delete-old-wheel] [--allow-same-version] [--platform-tag PLATFORM_TAG] wheel

positional arguments:
  wheel

options:
  -h, --help            show this help message and exit
  --local-version LOCAL_VERSION
  --version VERSION
  --delete-old-wheel
  --allow-same-version
  --platform-tag PLATFORM_TAG
                        Force the platform tag to this value. For example, 'py3-none-any'. See https://packaging.python.org/en/latest/specifications/platform-compatibility-tags.
λ uv pip install uv==0.5.31
Using Python 3.11.8 environment at: /Users/shantanu/code/venvs/openai-fppa
Resolved 1 package in 27ms
Uninstalled 1 package in 7ms
Installed 1 package in 9ms
 - uv==0.5.30
 + uv==0.5.31
λ uvx change_wheel_version --help
The executable `change-wheel-version` was not found.
warning: An executable named `change-wheel-version` is not provided by package `change-wheel-version`.
The following executables are provided by `change-wheel-version`:
- change_wheel_version
Consider using `uvx --from change-wheel-version <EXECUTABLE_NAME>` instead.

My guess is user input is getting normalised to have hyphens?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions