music pushed to rpms/python-openapi-core (f37). "Switch to GitHub
source and run the tests"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 17:04:51 UTC
From cd0eabcfd614e0a54a7029716eafeb6805869478 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Jan 16 2023 17:15:27 +0000
Subject: Switch to GitHub source and run the tests
---
diff --git a/.gitignore b/.gitignore
index c2c5adb..572160e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/openapi_core-0.16.2.tar.gz
/openapi_core-0.16.4.tar.gz
+/openapi-core-0.16.4.tar.gz
diff --git a/python-openapi-core.spec b/python-openapi-core.spec
index d94e6b8..50233ce 100644
--- a/python-openapi-core.spec
+++ b/python-openapi-core.spec
@@ -7,8 +7,9 @@ Release: %autorelease
Summary: OpenAPI client-side and server-side support
License: BSD-3-Clause
-URL: https://pypi.python.org/pypi/%{srcname}
-Source: %{pypi_source openapi_core}
+URL: https://github.com/p1c2u/%{srcname}
+# The GitHub archive has the tests; the PyPI sdist does not.
+Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# https://github.com/p1c2u/openapi-core/pull/450
Patch: openapi-core_0.16.4_avoid-dependency.patch
@@ -19,11 +20,18 @@ Patch: openapi-core_0.16.4_avoid-dependency.patch
Patch: 0002-allow-openapi-schema-validator-0.4.patch
BuildArch: noarch
+
BuildRequires: python3-devel
-BuildRequires: poetry
-# Dependencies not automatically pulled in
+# Test dependencies; see [tool.poetry.dev-dependencies], but note that this
+# contains both test dependencies and unwanted linters etc.
+BuildRequires: python3dist(djangorestframework)
+BuildRequires: python3dist(httpx)
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(responses)
BuildRequires: python3dist(starlette)
+BuildRequires: python3dist(strict-rfc3339)
+BuildRequires: python3dist(webob)
%global _description %{expand:
Openapi-core is a Python library that adds client-side and server-side
@@ -42,7 +50,10 @@ Summary: %{summary}
%prep
-%autosetup -n %{modname}-%{version} -p1
+%autosetup -n %{srcname}-%{version} -p1
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+sed -r -i '/^--cov[-=]/d' pyproject.toml
+
%generate_buildrequires
%pyproject_buildrequires -x django -x falcon -x flask -x requests -x starlette
@@ -58,7 +69,7 @@ Summary: %{summary}
%check
-%pyproject_check_import
+%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
diff --git a/sources b/sources
index 54ec406..9975247 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openapi_core-0.16.4.tar.gz) = f9b6fc4c6e92b5771029a77628df3f769bfaf212528f1f9eb2401e465097afb519184db1404b829edcf1063515104a8557193293eb123c9017b9108e057d44bf
+SHA512 (openapi-core-0.16.4.tar.gz) = e76b2cfb4a3e4aaa5193d694ce143812bb9cece5e873c8e869befcdf1548fa2e5b60744655be0b06854332ede6f7ab8ec51335560cffb14b2d5062d4a1abce9b
https://src.fedoraproject.org/rpms/python-openapi-core/c/cd0eabcfd614e0a5...
12 months
music pushed to rpms/python-openapi-core (f37). "Patch to avoid
package dependency on modern python"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 17:04:51 UTC
From 6735ae0ac3f44c25f7c5e71003ffcf4ca3ad6c5b Mon Sep 17 00:00:00 2001
From: Mattia Verga <mattia.verga(a)proton.me>
Date: Dec 22 2022 07:44:43 +0000
Subject: Patch to avoid package dependency on modern python
---
diff --git a/openapi-core_0.16.4_avoid-dependency.patch b/openapi-core_0.16.4_avoid-dependency.patch
new file mode 100644
index 0000000..93298d6
--- /dev/null
+++ b/openapi-core_0.16.4_avoid-dependency.patch
@@ -0,0 +1,44 @@
+From 35d1af88c82b5126ac8d99dc32df5794709a199e Mon Sep 17 00:00:00 2001
+From: Mattia Verga <mattia.verga(a)tiscali.it>
+Date: Thu, 22 Dec 2022 08:24:04 +0100
+Subject: [PATCH] Avoid dependency on modern python
+
+---
+ openapi_core/unmarshalling/schemas/factories.py | 6 +++++-
+ pyproject.toml | 2 +-
+ 2 files changed, 6 insertions(+), 2 deletions(-)
+
+diff --git a/openapi_core/unmarshalling/schemas/factories.py b/openapi_core/unmarshalling/schemas/factories.py
+index 9440cae9..cf6c60a1 100644
+--- a/openapi_core/unmarshalling/schemas/factories.py
++++ b/openapi_core/unmarshalling/schemas/factories.py
+@@ -1,3 +1,4 @@
++import sys
+ import warnings
+ from typing import Any
+ from typing import Dict
+@@ -6,7 +7,10 @@
+ from typing import Type
+ from typing import Union
+
+-from backports.cached_property import cached_property
++if sys.version_info >= (3, 9):
++ from functools import cached_property
++else:
++ from backports.cached_property import cached_property
+ from jsonschema.protocols import Validator
+ from openapi_schema_validator import OAS30Validator
+
+diff --git a/pyproject.toml b/pyproject.toml
+index b358f8fd..9a2c18b5 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -65,7 +65,7 @@ requests = {version = "*", optional = true}
+ werkzeug = "*"
+ typing-extensions = "^4.3.0"
+ jsonschema-spec = "^0.1.1"
+-backports-cached-property = "^1.0.2"
++backports-cached-property = {version = "^1.0.2", python = "<3.9" }
+
+ [tool.poetry.extras]
+ django = ["django"]
diff --git a/python-openapi-core.spec b/python-openapi-core.spec
index b006d76..999e6e9 100644
--- a/python-openapi-core.spec
+++ b/python-openapi-core.spec
@@ -10,6 +10,9 @@ License: BSD-3-Clause
URL: https://pypi.python.org/pypi/%{srcname}
Source: %{pypi_source openapi_core}
+# https://github.com/p1c2u/openapi-core/pull/450
+Patch: openapi-core_0.16.4_avoid-dependency.patch
+
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: poetry
@@ -34,7 +37,7 @@ Summary: %{summary}
%prep
-%autosetup -n %{modname}-%{version}
+%autosetup -n %{modname}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires -x django -x falcon -x flask -x requests -x starlette
https://src.fedoraproject.org/rpms/python-openapi-core/c/6735ae0ac3f44c25...
12 months
music pushed to rpms/python-openapi-core (f37). "Initial import
(fedora#2154240)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 17:04:51 UTC
From 483c59a4308eabbd7abe39d2d58e2be0653c6fcb Mon Sep 17 00:00:00 2001
From: Mattia Verga <mattia.verga(a)proton.me>
Date: Dec 21 2022 17:59:06 +0000
Subject: Initial import (fedora#2154240)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9cec128
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/openapi_core-0.16.2.tar.gz
diff --git a/README.md b/README.md
index fa0e0db..bc8bc34 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# python-openapi-core
-The python-openapi-core package
+Openapi-core is a Python library that adds client-side and server-side
+support for the OpenAPI v3.0 and OpenAPI v3.1 specification.
diff --git a/python-openapi-core.spec b/python-openapi-core.spec
new file mode 100644
index 0000000..575a1ca
--- /dev/null
+++ b/python-openapi-core.spec
@@ -0,0 +1,62 @@
+%global srcname openapi-core
+%global modname openapi_core
+
+Name: python-%{srcname}
+Version: 0.16.2
+Release: %autorelease
+Summary: OpenAPI client-side and server-side support
+
+License: BSD-3-Clause
+URL: https://pypi.python.org/pypi/%{srcname}
+Source: %{pypi_source openapi_core}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+BuildRequires: poetry
+
+# Dependencies not automatically pulled in
+BuildRequires: python3dist(starlette)
+
+%global _description %{expand:
+Openapi-core is a Python library that adds client-side and server-side
+support for the OpenAPI v3.0 and OpenAPI v3.1 specification.}
+
+%description %_description
+
+
+%package -n python3-%{srcname}
+Summary: %{summary}
+
+%description -n python3-%{srcname} %_description
+
+
+%pyproject_extras_subpkg -n python3-openapi-core django flask requests starlette
+
+
+%prep
+%autosetup -n %{modname}-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires -x django -x falcon -x flask -x requests -x starlette
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files %{modname}
+
+
+%check
+%pyproject_check_import
+
+
+%files -n python3-%{srcname} -f %{pyproject_files}
+%license LICENSE
+%doc README.rst
+
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..87daf22
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (openapi_core-0.16.2.tar.gz) = c506a3a6ddff2dd13e014586478ce63192c159fbf6fb599e897a515b2bc9ef11a91a0ef408029ad0688edd1ea9b5741f1f4542e538ce08789eb0d8e28d09f371
https://src.fedoraproject.org/rpms/python-openapi-core/c/483c59a4308eabbd...
12 months
besser82 pushed to rpms/cmake (rawhide). "cmake-3.27.0-rc4 (..more)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 16:50:54 UTC
From 0c33c34b3aed09309a1a62eb2b59fa16eef6d97e Mon Sep 17 00:00:00 2001
From: Björn Esser <besser82(a)fedoraproject.org>
Date: Jun 30 2023 16:49:53 +0000
Subject: cmake-3.27.0-rc4
Fixes rhbz#2218941
---
diff --git a/cmake.spec b/cmake.spec
index b75ffad..ef563d7 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -72,7 +72,7 @@
%global baserelease 1
# Set to RC version if building RC, else comment out.
-%global rcsuf rc3
+%global rcsuf rc4
%if 0%{?rcsuf:1}
%global pkg_version %{major_version}.%{minor_version}.%{patch_version}~%{rcsuf}
@@ -553,6 +553,10 @@ popd
%changelog
+* Fri Jun 30 2023 Björn Esser <besser82(a)fedoraproject.org> - 3.27.0~rc4-1
+- cmake-3.27.0-rc4
+ Fixes rhbz#2218941
+
* Tue Jun 20 2023 Björn Esser <besser82(a)fedoraproject.org> - 3.27.0~rc3-1
- cmake-3.27.0-rc3
Fixes rhbz#2214407
diff --git a/sources b/sources
index acc4505..d8a92e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cmake-3.27.0-rc3.tar.gz) = 670e70c1422356e552716f938854ca849a024c90e12c5d59f1ccc73db5f437d55fbc129b879b59179d181f3229e7fb2a6827e0b8def1c8c282b3c512e7301fbd
+SHA512 (cmake-3.27.0-rc4.tar.gz) = acc5d83605a227005ac8f193dac1a3f4d3c1f2356c259672db1b705e59e5850cf261bdb7fa8a03147af7ec0547e8be4fd6ed3afb539154f95f068eeaab7f00e4
https://src.fedoraproject.org/rpms/cmake/c/0c33c34b3aed09309a1a62eb2b59fa...
12 months
music pushed to rpms/python-openapi-spec-validator (f37). "Backport to F37"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 16:46:25 UTC
From b0f7d6abc2f064ead3725490ddc0374cb77ca553 Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)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(a)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/%{srcname}
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/b0f7d6...
12 months
music pushed to rpms/python-openapi-spec-validator (f37). "Update to
0.5.6 (close RHBZ#2179285) (..more)"
by notifications@fedoraproject.org
Notification time stamped 2023-06-30 16:46:25 UTC
From 5ad3c1ca7101cc22271f7d70d9d81c312f2a091a Mon Sep 17 00:00:00 2001
From: Benjamin A. Beasley <code(a)musicinmybrain.net>
Date: Mar 17 2023 12:14:01 +0000
Subject: Update to 0.5.6 (close RHBZ#2179285)
- Switch to the PyPI sdist since it now contains tests
---
diff --git a/.gitignore b/.gitignore
index 24a21f0..384f773 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/openapi-spec-validator-0.5.3.tar.gz
/openapi-spec-validator-0.5.4.tar.gz
/openapi-spec-validator-0.5.5.tar.gz
+/openapi_spec_validator-0.5.6.tar.gz
diff --git a/python-openapi-spec-validator.spec b/python-openapi-spec-validator.spec
index a27904e..084876e 100644
--- a/python-openapi-spec-validator.spec
+++ b/python-openapi-spec-validator.spec
@@ -2,14 +2,13 @@
%global modname openapi_spec_validator
Name: python-%{srcname}
-Version: 0.5.5
+Version: 0.5.6
Release: %autorelease
Summary: Python library for OpenAPI specs validation
License: Apache-2.0
URL: https://github.com/python-openapi/%{srcname}
-# The GitHub archive has the tests; the PyPI sdist does not.
-Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+Source: %{pypi_source %{modname}}
BuildArch: noarch
@@ -34,7 +33,7 @@ Summary: %{summary}
%prep
-%autosetup -p1 -n %{srcname}-%{version}
+%autosetup -p1 -n %{modname}-%{version}
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
sed -r -i '/^--cov[-=]/d' pyproject.toml
diff --git a/sources b/sources
index 5ca65fe..b7d5979 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openapi-spec-validator-0.5.5.tar.gz) = 4b5415216e74937a0c6f527850921f362a3183119a641d4d369cbf3e6aa19209ec7d8ff05697eed7dcd1ee6d0e8fbcc9cb8aaa0e3eb46e4da34bc7a0a4b78c00
+SHA512 (openapi_spec_validator-0.5.6.tar.gz) = ea1e810ecf49ff3d237e3368cd2cbcc6b733e9657f101759860ef16d3e2f14c97ccfe52fae2897d12a50c803d709d61d7ef8b40b288e5f73265da9ac5c88280b
https://src.fedoraproject.org/rpms/python-openapi-spec-validator/c/5ad3c1...
12 months