python-rpmautospec/rpmautospec-0.3.7-old-poetry.patch
Nils Philippsen 264dae5a4c Fix building on Fedora 37 and EPEL 9
These OS releases come with a Poetry version older than 1.2 and don’t
cope with group sections in pyproject.toml.

[skip changelog]

Signed-off-by: Nils Philippsen <nils@redhat.com>
2023-11-14 14:16:42 +01:00

13 lines
458 B
Diff

diff -up rpmautospec-0.3.7/pyproject.toml.old-poetry rpmautospec-0.3.7/pyproject.toml
--- rpmautospec-0.3.7/pyproject.toml.old-poetry 2023-11-14 13:33:59.369684500 +0100
+++ rpmautospec-0.3.7/pyproject.toml 2023-11-14 13:57:31.085972996 +0100
@@ -47,7 +47,7 @@ babel = "^2.9"
koji = "^1.33.0"
pygit2 = "^1.2.1"
-[tool.poetry.group.dev.dependencies]
+[tool.poetry.dev-dependencies]
pyyaml = "^5.3.1 || ^6"
pytest = "^6.2.2 || ^7"
pytest-cov = "^4.0.0"