uv
uv copied to clipboard
An extremely fast Python package installer and resolver, written in Rust.
## Summary Expand environment variables that exist into their values accepting only the format ${VARIABLE_NAME_123} where the name must follow the POSIX standard of ASCII upper case letters, numbers and...
Hi, I am running issues with the compilation of pyproject.toml to requirements.txt, I am using: `uv pip compile pyproject.toml -o requirements.txt. ![image](https://github.com/astral-sh/uv/assets/1145623/ad32cf05-5ab6-4951-b1a0-a7d1160556f8) This is the content of the toml: ```toml...
See: https://twitter.com/mpr0010/status/1758299951254388875.
If a requirements file contains a line `-r ${OTHERPKG}/requirements/dev.in`, pip-compile tries to replace `${OTHERPKG}` with the contents of an environment variable OTHERPKG. uv, however, uses the string literally and fails...
Minimal repro in PowerShell: ```ps PS C:\Users\alexw> uv venv env Using Python 3.12.1 interpreter at C:\Users\alexw\AppData\Local\Programs\Python\Python312\python.exe Creating virtualenv at: env PS C:\Users\alexw> env\scripts\activate (env) PS C:\Users\alexw> uv pip install black...
Trying to install packages from a `requirements.txt` file that is available on a remote URL is not supported: ```shell-session $ uv pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt error: failed to open file...
## Summary Removed `wheel` and `setuptools` from seed packages list when creating a virtual environment Closes https://github.com/astral-sh/uv/issues/1602 ## Test Plan Ran the command `cargo nextest run` :
I ideally dont .venv/ folders cluttering my project folders (not the least because they may not be safe to move, at least with `venv`) In my [personal (also rust) workflow...
Trying to test related to https://github.com/astral-sh/uv/issues/1532.
`uv` generates console scripts incorrectly for entry_points that have dotted function paths. For example [Invoke's setup.py](https://github.com/pyinvoke/invoke/blob/main/setup.py#L46C1-L51C7): ```python entry_points={ "console_scripts": [ "invoke = invoke.main:program.run", "inv = invoke.main:program.run", ] }, ``` The...