Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between gs_usb in install instructions and pip #1917

Open
trupples opened this issue Jan 31, 2025 · 0 comments
Open

Inconsistency between gs_usb in install instructions and pip #1917

trupples opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@trupples
Copy link

Describe the bug

The current docs instruct you to run pip install "python-can[gs_usb]" for gs_usb support. On the pypi registry, the extra is named gs-usb (hyphen instead of underscore).

Install: ``pip install "python-can[gs_usb]"``

https://pypi.org/project/python-can/#data

To Reproduce

Running the command from the documentation, pip install 'python-can[gs_usb]', prints the warning:

WARNING: python-can 4.5.0 does not provide the extra 'gs_usb'

Running pip install 'python-can[gs-usb]' is successful.

Expected behavior

The command from the documentation should be consistent with the extra name in the pypi registry, i.e. they should either both be gs-usb or both be gs_usb.

Additional context

OS and version: Debian GNU/Linux 12 (bookworm)
Python version: 3.11.2
python-can version: 4.5.0
python-can interface/s (if applicable): gs_usb

@trupples trupples added the bug label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant