From da88f41548e86bc4e3079498973bb91ae6dc190f Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:52:30 +0200 Subject: [PATCH] build: move examples from setuptools to hatchling (#1692) Co-authored-by: Tim de Jager --- .../expected-editable-multiple/bar/pyproject.toml | 4 ++-- .../expected-editable-multiple/baz/pyproject.toml | 4 ++-- .../expected-editable-multiple/foo/pyproject.toml | 4 ++-- tests/non-satisfiability/expected-editable/foo/pyproject.toml | 4 ++-- .../satisfiability/absolute-paths/projects/foo/pyproject.toml | 4 ++-- tests/satisfiability/editable-non-editable/bar/pyproject.toml | 4 ++-- tests/satisfiability/editable-non-editable/foo/pyproject.toml | 4 ++-- tests/satisfiability/pypi-extras/has-extras/pyproject.toml | 4 ++-- .../satisfiability/pypi-extras/use-with-extras/pyproject.toml | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/non-satisfiability/expected-editable-multiple/bar/pyproject.toml b/tests/non-satisfiability/expected-editable-multiple/bar/pyproject.toml index daa5a7e40..e9cb1fc66 100644 --- a/tests/non-satisfiability/expected-editable-multiple/bar/pyproject.toml +++ b/tests/non-satisfiability/expected-editable-multiple/bar/pyproject.toml @@ -4,8 +4,8 @@ name = "bar" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/non-satisfiability/expected-editable-multiple/baz/pyproject.toml b/tests/non-satisfiability/expected-editable-multiple/baz/pyproject.toml index 0d9d53682..539997989 100644 --- a/tests/non-satisfiability/expected-editable-multiple/baz/pyproject.toml +++ b/tests/non-satisfiability/expected-editable-multiple/baz/pyproject.toml @@ -4,8 +4,8 @@ name = "baz" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/non-satisfiability/expected-editable-multiple/foo/pyproject.toml b/tests/non-satisfiability/expected-editable-multiple/foo/pyproject.toml index 6febd541c..1305b755c 100644 --- a/tests/non-satisfiability/expected-editable-multiple/foo/pyproject.toml +++ b/tests/non-satisfiability/expected-editable-multiple/foo/pyproject.toml @@ -4,8 +4,8 @@ name = "foo" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/non-satisfiability/expected-editable/foo/pyproject.toml b/tests/non-satisfiability/expected-editable/foo/pyproject.toml index 6febd541c..1305b755c 100644 --- a/tests/non-satisfiability/expected-editable/foo/pyproject.toml +++ b/tests/non-satisfiability/expected-editable/foo/pyproject.toml @@ -4,8 +4,8 @@ name = "foo" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/satisfiability/absolute-paths/projects/foo/pyproject.toml b/tests/satisfiability/absolute-paths/projects/foo/pyproject.toml index ca3ab4de5..ccb09365b 100644 --- a/tests/satisfiability/absolute-paths/projects/foo/pyproject.toml +++ b/tests/satisfiability/absolute-paths/projects/foo/pyproject.toml @@ -9,8 +9,8 @@ requires-python = ">= 3.11" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/satisfiability/editable-non-editable/bar/pyproject.toml b/tests/satisfiability/editable-non-editable/bar/pyproject.toml index 762fad5a4..50a00f4f3 100644 --- a/tests/satisfiability/editable-non-editable/bar/pyproject.toml +++ b/tests/satisfiability/editable-non-editable/bar/pyproject.toml @@ -3,8 +3,8 @@ name = "bar" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/satisfiability/editable-non-editable/foo/pyproject.toml b/tests/satisfiability/editable-non-editable/foo/pyproject.toml index 6e9e910d7..71a2ee1ad 100644 --- a/tests/satisfiability/editable-non-editable/foo/pyproject.toml +++ b/tests/satisfiability/editable-non-editable/foo/pyproject.toml @@ -4,8 +4,8 @@ name = "foo" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/satisfiability/pypi-extras/has-extras/pyproject.toml b/tests/satisfiability/pypi-extras/has-extras/pyproject.toml index 7a6ff85b8..e999c0045 100644 --- a/tests/satisfiability/pypi-extras/has-extras/pyproject.toml +++ b/tests/satisfiability/pypi-extras/has-extras/pyproject.toml @@ -4,8 +4,8 @@ name = "has-extras" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"] diff --git a/tests/satisfiability/pypi-extras/use-with-extras/pyproject.toml b/tests/satisfiability/pypi-extras/use-with-extras/pyproject.toml index 690702a55..465403fc0 100644 --- a/tests/satisfiability/pypi-extras/use-with-extras/pyproject.toml +++ b/tests/satisfiability/pypi-extras/use-with-extras/pyproject.toml @@ -4,8 +4,8 @@ name = "use-with-extras" version = "0.1.0" [build-system] -build-backend = "setuptools.build_meta" -requires = ["setuptools"] +build-backend = "hatchling.build" +requires = ["hatchling"] [tool.pixi.project] channels = ["conda-forge"]