Notification time stamped 2023-06-30 15:44:03 UTC
From 15f0f93c65d1b5d0ac18f79b247a13875c336e82 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley code@musicinmybrain.net Date: Jun 17 2023 14:26:20 +0000 Subject: Update to 0.1.6
---
diff --git a/.gitignore b/.gitignore index 477f516..0a75580 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /jsonschema-spec-0.1.2.tar.gz /jsonschema-spec-0.1.3.tar.gz +/jsonschema-spec-0.1.6.tar.gz diff --git a/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch new file mode 100644 index 0000000..dca6e24 --- /dev/null +++ b/0001-Do-not-require-quite-such-a-recent-version-of-reques.patch @@ -0,0 +1,25 @@ +From 48ec16bf7315f35d53a88f018cef7328ad759c08 Mon Sep 17 00:00:00 2001 +From: "Benjamin A. Beasley" code@musicinmybrain.net +Date: Sat, 17 Jun 2023 10:20:05 -0400 +Subject: [PATCH] Do not require quite such a recent version of requests + +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 9ce7170..a2f7607 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -46,7 +46,7 @@ pathable = "^0.4.1" + python = "^3.7.0" + PyYAML = ">=5.1" + typing-extensions = {version = "<4.6.0", python = "<3.8"} # See https://github.com/p1c2u/jsonschema-spec/issues/14 +-requests = {version = "^2.31.0", optional = true} ++requests = {version = "^2.28.2", optional = true} + + [tool.poetry.dev-dependencies] + pre-commit = "*" +-- +2.40.1 + diff --git a/python-jsonschema-spec.spec b/python-jsonschema-spec.spec index ff315a0..766913b 100644 --- a/python-jsonschema-spec.spec +++ b/python-jsonschema-spec.spec @@ -2,7 +2,7 @@ %global modname jsonschema_spec
Name: python-%{srcname} -Version: 0.1.3 +Version: 0.1.6 Release: %autorelease Summary: JSONSchema Spec with object-oriented paths
@@ -11,6 +11,19 @@ URL: https://github.com/p1c2u/%%7Bsrcname%7D # The GitHub archive has the tests; the PyPI sdist does not. Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+# Do not require quite such a recent version of requests +# +# Until python-requests is updated to 2.31.0[1], loosen the minimum version to +# 2.28.2. It is an optional dependency that was added with “deptry” +# analysis[2], which is only really useful for upstream CI, but it is also +# imported from jsonschema_spec/handlers/requests.py. There is no obvious +# reason why the most recent version (ahead of Rawhide as of this writing) +# should be needed. +# +# [1] https://bugzilla.redhat.com/show_bug.cgi?id=2189970 +# [2] https://github.com/p1c2u/jsonschema-spec/commit/d207d233e31198942ba417875e2c... +Patch: 0001-Do-not-require-quite-such-a-recent-version-of-reques.patch + BuildArch: noarch
BuildRequires: python3-devel @@ -30,7 +43,7 @@ Summary: %{summary}
%prep -%autosetup -n %{srcname}-%{version} +%autosetup -n %{srcname}-%{version} -p1 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters sed -r -i '/^--cov[-=]/d' pyproject.toml
diff --git a/sources b/sources index e484979..d1cd487 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (jsonschema-spec-0.1.3.tar.gz) = 95465c43b842289ed28dd78ec06614d77b2bbf7d9d69e5dc4b89008740d0cc85e5b3319acd66d0142b533425e8f150c4edbbf15b7f8e3bdefb28b81193a13432 +SHA512 (jsonschema-spec-0.1.6.tar.gz) = 78ea06a78fd25006d270e2c5033645133ee79b0f45cbfc54e250d4225a36beac59cf9aa92f15fd51bd101fac20fee990d693ab91d8343cd6a298d71735c80884
https://src.fedoraproject.org/rpms/python-jsonschema-spec/c/15f0f93c65d1b5d0...
scm-commits@lists.fedoraproject.org