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 created a builder plugin to introduce a build target foo.
The builder plugin is in a subdir of the repo so its dependency is defined as below using a direct reference.
Description
I created a builder plugin to introduce a build target
foo
.The builder plugin is in a subdir of the repo so its dependency is defined as below using a direct reference.
With this setting, when the installed
packaging
version is<23.2
,hatch build -t foo
causes the following error.Error log
(Paths are masked)
Reproduce the error
Clone https://github.com/whitphx/hatch-requirements-context-formatting-test
python -m venv .venv . .venv/bin/activate python -m pip install hatch packaging==22.0 python -m hatch build -t foo
Looks like the URL validation of
packaging
which was removed in 23.2 is the cause.If you install
packaging>=23.2
, this problem doesn't happen.The text was updated successfully, but these errors were encountered: