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

Avoid showing negations of single ranges in error messages #980

Closed
zanieb opened this issue Jan 18, 2024 · 0 comments · Fixed by #981
Closed

Avoid showing negations of single ranges in error messages #980

zanieb opened this issue Jan 18, 2024 · 0 comments · Fixed by #981
Labels
error messages Messaging when something goes wrong

Comments

@zanieb
Copy link
Member

zanieb commented Jan 18, 2024

e.g. in https://github.com/astral-sh/puffin/blob/6cad0f609caba5354f528cc3dba813f0c26a0e27/crates/puffin-cli/tests/pip_install_scenarios.rs#L688

we have !( a>=3.0.0 ) but since it's just a single item in the negation we should just perform the complement.

@zanieb zanieb added the error messages Messaging when something goes wrong label Jan 18, 2024
zanieb added a commit that referenced this issue Jan 19, 2024
Closes #980

# Conflicts:
#	crates/puffin/tests/pip_install_scenarios.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Messaging when something goes wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant