diff --git a/docs/changelog/92.packaging.rst b/docs/changelog/92.packaging.rst new file mode 100644 index 0000000..7decd64 --- /dev/null +++ b/docs/changelog/92.packaging.rst @@ -0,0 +1,3 @@ +Constrain the ``hatchling`` build requirement per Python version so sdist builds resolve a compatible backend on the +declared ``>=3.8`` floor - ``hatchling>=1.28`` dropped Python 3.9, leaving 3.8/3.9 unbuildable from source - by +:user:`gaborbernat`. diff --git a/pyproject.toml b/pyproject.toml index 283b6ce..de2563e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,8 @@ build-backend = "hatchling.build" requires = [ "hatch-vcs>=0.5", - "hatchling>=1.28", + "hatchling>=1.27; python_version<'3.10'", + "hatchling>=1.28; python_version>='3.10'", ] [project]