Notification time stamped 2023-06-30 16:46:25 UTC
From b0f7d6abc2f064ead3725490ddc0374cb77ca553 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley code@musicinmybrain.net Date: Jun 30 2023 16:37:33 +0000 Subject: Backport to F37
---
diff --git a/0001-Downstream-patch-to-work-with-older-poetry.patch b/0001-Downstream-patch-to-work-with-older-poetry.patch new file mode 100644 index 0000000..b001e3a --- /dev/null +++ b/0001-Downstream-patch-to-work-with-older-poetry.patch @@ -0,0 +1,27 @@ +From 4c073d69479d8e9d479d36d2b97dc237b4fe6a42 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" code@musicinmybrain.net +Date: Sat, 17 Jun 2023 12:44:03 -0400 +Subject: [PATCH] Downstream patch to work with older poetry + +--- + pyproject.toml | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 9da4c7f..ddfa725 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -76,10 +76,6 @@ deptry = { version = "^0.11.0", python = ">=3.8" } + [tool.poetry.scripts] + openapi-spec-validator = "openapi_spec_validator.__main__:main" + +-[tool.poetry.group.docs.dependencies] +-sphinx = "^5.3.0" +-sphinx-immaterial = "^0.11.0" +- + [tool.pytest.ini_options] + addopts = """ + --capture=no +-- +2.40.1 + diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec index 46c9dfb..a737b06 100644 --- a/python-openapi-spec-validator.spec +++ b/python-openapi-spec-validator.spec @@ -10,6 +10,11 @@ License: Apache-2.0 URL: https://github.com/python-openapi/%%7Bsrcname%7D Source: %{pypi_source %{modname}}
+# For F37, patch out the [tool.poetry.group.docs.dependencies] mapping from +# pyproject.toml; this is unused since we are not building documentation, and +# it allows us to build the package with an older version of poetry-core. +Patch: 0001-Downstream-patch-to-work-with-older-poetry.patch + BuildArch: noarch
BuildRequires: python3-devel
https://src.fedoraproject.org/rpms/python-openapi-spec-validator/c/b0f7d6abc...
scm-commits@lists.fedoraproject.org