public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-jsonschema] 2488367: Update to 4.6.0
@ 2026-06-15 7:29 Parag Nemade
0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-06-15 7:29 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 7:29 [rpms/python-jsonschema] 2488367: Update to 4.6.0 Parag Nemade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox