1 diff --git a/pyproject.toml b/pyproject.toml
2 index 1c72fc2..ae45740 100644
6 # SPDX-License-Identifier: MIT
9 -requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme>=23.2.0"]
10 +requires = ["hatchling"]
11 build-backend = "hatchling.build"
14 @@ -26,7 +26,8 @@ classifiers = [
17 dependencies = ["importlib_metadata;python_version<'3.8'"]
18 -dynamic = ["version", "readme"]
20 +version = "@version@"
22 [project.optional-dependencies]
24 @@ -70,54 +71,9 @@ Funding = "https://github.com/sponsors/hynek"
25 Tidelift = "https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi"
30 -raw-options = { local_scheme = "no-local-version" }
32 [tool.hatch.build.targets.wheel]
33 packages = ["src/attr", "src/attrs"]
35 -[tool.hatch.metadata.hooks.fancy-pypi-readme]
36 -content-type = "text/markdown"
38 -# PyPI doesn't support the <picture> tag.
39 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
40 -text = """<p align="center">
41 - <a href="https://www.attrs.org/">
42 - <img src="https://raw.githubusercontent.com/python-attrs/attrs/main/docs/_static/attrs_logo.svg" width="35%" alt="attrs" />
47 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
49 -start-after = "<!-- teaser-begin -->"
51 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
54 -## Release Information
58 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
59 -path = "CHANGELOG.md"
60 -pattern = "\n(###.+?\n)## "
62 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
67 -[Full changelog](https://www.attrs.org/en/stable/changelog.html)
70 -# Point sponsor image URLs to versions.
71 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
72 -pattern = '\/latest\/_static/sponsors'
73 -replacement = '/$HFPR_VERSION/_static/sponsors'
76 [tool.pytest.ini_options]
77 addopts = ["-ra", "--strict-markers", "--strict-config"]