biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / attrs / remove-hatch-plugins.patch
blobcf743ba9ee053bde3dda96a16425e12088112346
1 diff --git a/pyproject.toml b/pyproject.toml
2 index 1c72fc2..ae45740 100644
3 --- a/pyproject.toml
4 +++ b/pyproject.toml
5 @@ -1,7 +1,7 @@
6 # SPDX-License-Identifier: MIT
8 [build-system]
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 = [
15 "Typing :: Typed",
17 dependencies = ["importlib_metadata;python_version<'3.8'"]
18 -dynamic = ["version", "readme"]
19 +dynamic = ["readme"]
20 +version = "@version@"
22 [project.optional-dependencies]
23 tests-mypy = [
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"
28 -[tool.hatch.version]
29 -source = "vcs"
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" />
43 - </a>
44 -</p>
45 -"""
47 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
48 -path = "README.md"
49 -start-after = "<!-- teaser-begin -->"
51 -[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
52 -text = """
54 -## Release Information
56 -"""
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]]
63 -text = """
65 ----
67 -[Full changelog](https://www.attrs.org/en/stable/changelog.html)
68 -"""
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"]
78 xfail_strict = true