From cbe20c5d50c40167a0736e4175330b6ba11ca9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 26 Jun 2024 15:46:22 +0200 Subject: [PATCH] Remove hatch-vcs and hatch-fancy-pypi-readme deps These apparently have no effect on the built RPM (I checked manually), so let's drop them from pyproject.toml, so we can remove them from RHEL. --- pyproject.toml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 26d299a..a2bda8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,7 @@ [build-system] -requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"] +requires = ["hatchling"] build-backend = "hatchling.build" -[tool.hatch.version] -source = "vcs" - [project] name = "jsonschema" description = "An implementation of JSON Schema validation for Python" @@ -77,30 +74,6 @@ Tidelift = "https://tidelift.com/subscription/pkg/pypi-jsonschema?utm_source=pyp Changelog = "https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst" Source = "https://github.com/python-jsonschema/jsonschema" -[tool.hatch.metadata.hooks.fancy-pypi-readme] -content-type = "text/x-rst" - -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -path = "README.rst" -end-before = ".. start cut from PyPI" - -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -path = "README.rst" -start-after = ".. end cut from PyPI\n\n\n" - -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -text = """ - - -Release Information -------------------- - -""" - -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]] -path = "CHANGELOG.rst" -pattern = "(^v.+?)\nv" - [tool.coverage.html] show_contexts = true skip_covered = false -- 2.45.2