konsti
konsti
Currently comparing two marker string is legal in PEP 508, but fails in packaging 22.0: ```python from packaging.requirements import Requirement Requirement('numpy; "a"
Marker comparisons silently switch from version number comparison to stringly, lexicographical comparison, e.g. on python 3.10 and packaging 22.0: ```python >>> from packaging.requirements import Requirement >>> Requirement('numpy; python_version >= "3.9."').marker.evaluate()...
When installing entrypoints, [pip special cases itself](https://github.com/pypa/pip/blob/3898741e29b7279e7bffe044ecfbe20f6a438b1e/src/pip/_internal/operations/install/wheel.py#L283): It will always create `pip`, `pip{major}` and `pip{major}.{minor}` entrypoints, even the universal pip wheel has hardcoded `pip`, `pip3` and `pip3.10` entrypoints (https://inspector.pypi.io/project/pip/24.0/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl/pip-24.0.dist-info/entry_points.txt). It...
This PR contains three changes: --- [Dependency Specifiers: Don't require whitespace after URL](https://github.com/pypa/packaging.python.org/commit/3ab0328dbd8208c4dae3aad9a5182ef6052a0b3a) otherwise `numpy @ https://example.org/numpy` is not a valid specifier (missing whitespace after the URL). This already what...
Pubgrub got a new feature where all unavailability is a custom, instead of the reasonless `UnavailableDependencies` and our custom `String` type previously (https://github.com/pubgrub-rs/pubgrub/pull/208). This PR introduces a `UnavailableReason` that tracks...
Rename `ParsedLocalFileUrl` to `ParsedPathUrl`, eliminating the term `LocalFile` in favor of path.
Avoid reparsing urls by storing the parsed parts across resolution on `Dist`. Part 2 of https://github.com/astral-sh/uv/issues/3408 and part of #3409 Closes #3408
Avoid reparsing urls by storing the parsed parts across resolution on `PubGrubPackage`. Part 1 of #3408
Workspaces are a feature aimed at supporting multiple packages in the same repository. It makes large projects easier to manage by splitting them into smaller packages with independent dependencies. They...