You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think uv run --with or uv pip install doesn't recognize tool.uv.sources in pyproject.toml file. I used the following commands to create and build a package.
However, when I use the built .whl like uv run --with my-package-0.1.0-py3-none-any.whl or uv pip install my-package-0.1.0-py3-none-any.whl, it tries to download the latest version of gdal (v3.10.1) and tries to build it since there are no pre-built wheels that are available directly in PyPI.
Is this the intended behavior?
The text was updated successfully, but these errors were encountered:
The built wheel needs to use the declared project metadata, not the resolved application versions. It might also violate the spec in some sense.
I do understand this when using uv pip install .whl or uploading to PyPI and installing from there but say, I use something like uv run --with my-package-0.1.0.tar.gz which as per my understanding has the pyproject.toml with all uv related config. How about adding a flag (or similar) to support this when installing via .tar.gz when it's a uv managed project?
I think
uv run --with
oruv pip install
doesn't recognizetool.uv.sources
in pyproject.toml file. I used the following commands to create and build a package.uv automatically creates a section
tool.uv.sources
in pyproject.toml and includes the url to the .whl file like below (which I absolutely like btw)The dependencies looks like
However, when I use the built .whl like
uv run --with my-package-0.1.0-py3-none-any.whl
oruv pip install my-package-0.1.0-py3-none-any.whl
, it tries to download the latest version of gdal (v3.10.1) and tries to build it since there are no pre-built wheels that are available directly in PyPI.Is this the intended behavior?
The text was updated successfully, but these errors were encountered: