Setup default environment fails, wheel of project can't be build/install #1277
-
I'm using hatch to develop/publish a library package. Using Hatch version 1.9.3 on macOS 14.3.1 (23D60) arm64. E.g. when I run
The [build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "python-my-lib"
description = 'Python lib'
readme = "README.md"
# distance3d nested dependency open3d doesn't work with latest python 3.12
requires-python = ">=3.10.13,<3.11"
license = { text = "ISC" }
keywords = []
authors = []
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"numpy>=1,<2",
"distance3d>=0.8,<1.0",
"Rtree>=1,<2.0",
]
dynamic = ["version"]
[project.urls]
Documentation = "https://bitbucket.org/...."
Source = "https://bitbucket.org/...."
Changelog = "https://bitbucket.org/...."
Issues = ""
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "python_my_lib/_version.py"
[tool.hatch.build.targets.sdist]
python = "3.10"
[tool.hatch.build.targets.wheel]
python = "3.10"
[tool.hatch.envs.default]
python = "3.10"
dependencies = [
"pytest",
"pytest-cov",
"black",
"isort",
"pipdeptree",
"pylint~=3.0",
"pyglet<2"
]
[[tool.hatch.envs.test.matrix]]
python = [
"310"
] What is actually wrong with this wheel filename ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This looks like a bug but it should work if you make the |
Beta Was this translation helpful? Give feedback.
-
Fixed #1295 |
Beta Was this translation helpful? Give feedback.
This looks like a bug but it should work if you make the
requires-python
less strict like<3.12
or what you have currently minus the patch part.13
.