pip icon indicating copy to clipboard operation
pip copied to clipboard

Missing Comma Should Warn/Error

Open George-Ogden opened this issue 7 months ago • 0 comments

Description

Recently, I wanted to limit a plotly version, which I did with plotly>=5.24.0<6. This is missing a comma and should say plotly>=5.24.0,<6. However, it installed plotly>6 without error or warning.

Expected behavior

I think it would be best if this generated an error or warning. Ideally, this would be an error, but if 5.24.0<6 is a valid version, a warning would also be possible. This could be extended to other cases, such as plotly>=5.24.0<6.

pip version

pip 24.0

Python version

Python 3.11.7

OS

Linux 6.1.0-34-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.135-1 (2025-04-25) x86_64 GNU/Linux

Code of Conduct

George-Ogden avatar Jun 21 '25 07:06 George-Ogden