From e63e45122cca3efa6d1a38ea7efaaa8faf121736 Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Thu, 29 Dec 2022 21:28:47 -0500 Subject: [PATCH 1/3] Pin packaging to 21.3 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ab38908ba15..2c0e0b2ddc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ preview = true # NOTE: You don't need this in your own Black configuration. [build-system] -requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme"] +requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme", "packaging==21.3"] build-backend = "hatchling.build" [project] From d956a0fa8ea0a3c7ddc7cf27f3b0d5dad11d1c4f Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Thu, 29 Dec 2022 22:41:44 -0500 Subject: [PATCH 2/3] [debug] add SYSTEM_VERSION_COMPAT=1 envvar --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 2c0e0b2ddc8..18dff46362e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -166,6 +166,7 @@ MYPYC_DEBUG_LEVEL = "0" # CPython 3.11 wheels aren't available for aiohttp and building a Cython extension # from source also doesn't work. AIOHTTP_NO_EXTENSIONS = "1" +SYSTEM_VERSION_COMPAT = "1" [tool.cibuildwheel.linux] before-build = [ From d4107de9a0c68559d57f5634c64ea5f77d611684 Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Thu, 29 Dec 2022 17:17:33 -0500 Subject: [PATCH 3/3] Try hatchling from main --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 18dff46362e..1b920e6713e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ preview = true # NOTE: You don't need this in your own Black configuration. [build-system] -requires = ["hatchling>=1.8.0", "hatch-vcs", "hatch-fancy-pypi-readme", "packaging==21.3"] +requires = ["hatchling @ git+https://github.com/pypa/hatch.git#subdirectory=backend", "hatch-vcs", "hatch-fancy-pypi-readme"] build-backend = "hatchling.build" [project]