-
-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Description
Describe the bug
Attempting to build from tarball fails. Errors appear to be related to building from tarball instead of git checkout. I didn't save the error messages, but can regenerate them if necessary.
To Reproduce
- Download and extract 3.5.1 or 3.5.2 tarball
- Try to build with:
python -m build --wheel --no-isolation --skip-dependency-check
Expected behavior
Wheel should be created, as was with 3.5.
Workaround:
python -m venv venv
source ./venv/bin/activate
pip install toml-cli
toml set --toml-path pyproject.toml build-system.requires '["hatchling"]' --to-array
toml unset --toml-path pyproject.toml project.dynamic
toml unset --toml-path pyproject.toml tool.hatch.version
toml set --toml-path pyproject.toml project.version "3.5.2"
deactivate
Meta
Succeeds:
https://github.com/pyinfra-dev/pyinfra/archive/refs/tags/v3.5.tar.gz
Fails:
https://github.com/pyinfra-dev/pyinfra/archive/refs/tags/v3.5.1.tar.gz
https://github.com/pyinfra-dev/pyinfra/archive/refs/tags/v3.5.2.tar.gz
Metadata
Metadata
Assignees
Labels
No labels