From 48d7c5d06919dbdc13f77e4be5c8316806d747d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Thu, 2 Nov 2023 10:48:02 +0000 Subject: [PATCH] Fix build backend, addressing version issues. Fixes #363 (#366) --- NEWS | 12 ++++++++++++ pyproject.toml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index fe05f6b6..efa3e1db 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,18 @@ testtools NEWS Changes and improvements to testtools_, grouped by release. +2.7.1 +~~~~~ + +Improvements +~~~~~~~~~~~~ + +* Remove various unused imports. + (Jelmer Vernooij) + +* Fix build backend. This should prevent version from being set to 0.0.0 + when building wheels. (Jelmer Vernooij, #363) + 2.7.0 ~~~~~ diff --git a/pyproject.toml b/pyproject.toml index 66caf6f7..9f2030ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,8 +12,8 @@ module = [ ignore_missing_imports = true [build-system] -requires = ["setuptools>=61"] -build-backend = "setuptools.build_meta" +requires = ["setuptools>=61", "hatchling", "hatch_vcs"] +build-backend = "hatchling.build" [project] name = "testtools"