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

Check uv version, update if needed #1735

Merged
merged 10 commits into from
Feb 18, 2025
Merged

Check uv version, update if needed #1735

merged 10 commits into from
Feb 18, 2025

Conversation

t-kalinowski
Copy link
Member

@t-kalinowski t-kalinowski commented Feb 18, 2025

  • Fix for if user has a too-old version of uv installed system wide.
  • Fix for error raised if py_require() called with unsatisfiable requirements from a package (don't register invalid requirements globally, catch errors from attempting to resolve a new venv)
  • Expand docs to show how to declare requirements on local or development versions of packages (e.g., how to install from github or the local file system)

If, after python has initialized, new requirement result in unsatisfiable errors when attempting to create and activate a new venv over the current python:
- convert errors into warning
- don't modify .globals$pr with invalid value.
to enable interactive usage like `py_require(, "3.11")`
`uv --version` does not print suffix with commit hash and date on Ubuntu
@t-kalinowski t-kalinowski marked this pull request as ready for review February 18, 2025 17:15
@t-kalinowski t-kalinowski merged commit a7c79f3 into main Feb 18, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant