public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Parag Nemade <pnemade@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-jsonschema] 2488367: Update to 4.6.0
Date: Mon, 15 Jun 2026 07:29:42 GMT	[thread overview]
Message-ID: <178150858278.1.5703680692004086225.rpms-python-jsonschema-7e0ee880fcbc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-jsonschema
Branch : 2488367
Commit : 7e0ee880fcbc0e128be92551283feac6581c02fb
Author : Parag Nemade <pnemade@fedoraproject.org>
Date   : 2022-06-27T15:37:22+05:30
Stats  : +15/-24 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-jsonschema/c/7e0ee880fcbc0e128be92551283feac6581c02fb?branch=2488367

Log:
Update to 4.6.0

---
diff --git a/.gitignore b/.gitignore
index d97805f..5f7ca32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /jsonschema-3.0.1.tar.gz
 /jsonschema-3.0.2.tar.gz
 /jsonschema-3.2.0.tar.gz
+/jsonschema-4.6.0.tar.gz

diff --git a/python-jsonschema.spec b/python-jsonschema.spec
index e6194fb..df4f1b3 100644
--- a/python-jsonschema.spec
+++ b/python-jsonschema.spec
@@ -9,21 +9,16 @@ jsonschema is an implementation of JSON Schema for Python (supporting
  - Small and extensible
  - Programmatic querying of which properties or items failed validation.}
 
-%{?python_enable_dependency_generator}
-
 Name:           python-%{pypi_name}
 Summary:        Implementation of JSON Schema validation for Python
-Version:        3.2.0
-Release:        17%{?dist}
+Version:        4.6.0
+Release:        1%{?dist}
 License:        MIT
-
 URL:            https://github.com/Julian/jsonschema
 Source0:        %{pypi_source}
 
 BuildArch:      noarch
-
 BuildRequires:  python3-devel
-
 BuildRequires:  python3dist(setuptools)
 BuildRequires:  python3dist(setuptools-scm)
 
@@ -42,47 +37,42 @@ BuildRequires:  python3dist(twisted)
 
 %package -n     python3-%{pypi_name}
 Summary:        %{summary}
-
-%{?python_provide:%python_provide python3-%{pypi_name}}
-
 %description -n python3-%{pypi_name} %{common_description}
 
-
-%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/*.egg-info format}
+%pyproject_extras_subpkg -n python3-%{pypi_name} format format-nongpl
 
 
 %prep
 %autosetup -n %{pypi_name}-%{version}
 
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+#This test mostly get skipped or gives error
+rm jsonschema/tests/test_jsonschema_test_suite.py
 
+%generate_buildrequires
+%pyproject_buildrequires -w
 
 %build
-%py3_build
-
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
 
 
 %if %{with tests}
 %check
-PYTHONPATH=$(pwd) trial-3 %{pypi_name}
+PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
 %endif
 
-
 %files -n python3-%{pypi_name}
 %license COPYING json/LICENSE
 %doc README.rst
-
 %{_bindir}/jsonschema
-
 %{python3_sitelib}/%{pypi_name}/
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
-
 
 %changelog
+* Mon Jun 27 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.6.0-1
+- Update to 4.6.0
+
 * Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-17
 - Rebuilt for Python 3.11
 

diff --git a/sources b/sources
index fe80a4d..2fe1aa6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jsonschema-3.2.0.tar.gz) = acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
+SHA512 (jsonschema-4.6.0.tar.gz) = 82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f

                 reply	other threads:[~2026-06-15  7:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178150858278.1.5703680692004086225.rpms-python-jsonschema-7e0ee880fcbc@fedoraproject.org \
    --to=pnemade@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox