Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-weblate-schemas for 
openSUSE:Factory checked in at 2022-11-04 17:38:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-weblate-schemas (Old)
 and      /work/SRC/openSUSE:Factory/.python-weblate-schemas.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-weblate-schemas"

Fri Nov  4 17:38:08 2022 rev:5 rq:1033539 version:2022.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-weblate-schemas/python-weblate-schemas.changes
    2021-07-03 20:50:43.424826436 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-weblate-schemas.new.2275/python-weblate-schemas.changes
  2022-11-04 17:41:59.091010758 +0100
@@ -1,0 +2,12 @@
+Thu Oct 27 10:07:16 UTC 2022 - Mark??ta Machov?? <mmach...@suse.com>
+
+- Update to version 2022.1
+  * Added validate_schema API.
+  * Added caching to schema loading.
+  * Added timestamp validation.
+  * Switched to CalVer versioning.
+  * Added schema for component backups.
+  * Added schema for project backups.
+- Add upstream test-data.patch
+
+-------------------------------------------------------------------

Old:
----
  weblate_schemas-0.7.tar.gz

New:
----
  test-data.patch
  weblate_schemas-2022.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-weblate-schemas.spec ++++++
--- /var/tmp/diff_new_pack.fr1stp/_old  2022-11-04 17:42:00.915020287 +0100
+++ /var/tmp/diff_new_pack.fr1stp/_new  2022-11-04 17:42:00.939020411 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-weblate-schemas
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,16 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-weblate-schemas
-Version:        0.7
+Version:        2022.1
 Release:        0
 Summary:        A collection of schemas used by Weblate
 License:        MIT
 URL:            https://weblate.org/
 Source:         
https://files.pythonhosted.org/packages/source/w/weblate_schemas/weblate_schemas-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM 
https://github.com/WeblateOrg/weblate_schemas/commit/1465933db1bd10dd34e7373b1f0b6693d708277e
 tests: fix invalid test data
+Patch0:         test-data.patch
 BuildRequires:  %{python_module jsonschema}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q -n weblate_schemas-%{version}
+%autopatch -p1
 sed -i -e '/pytest-runner/d' setup.py
 
 %build
@@ -54,6 +56,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/weblate_schemas
+%{python_sitelib}/weblate_schemas-%{version}*-info
 
 %changelog

++++++ test-data.patch ++++++
>From 1465933db1bd10dd34e7373b1f0b6693d708277e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <mic...@cihar.com>
Date: Wed, 17 Aug 2022 11:23:28 +0200
Subject: [PATCH] tests: fix invalid test data

---
 weblate_schemas/test_valid.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/weblate_schemas/test_valid.py b/weblate_schemas/test_valid.py
index 4e97668..1895697 100644
--- a/weblate_schemas/test_valid.py
+++ b/weblate_schemas/test_valid.py
@@ -215,7 +215,6 @@ def test_component():
                     "extra_flags": "",
                     "explanation": "",
                     "labels": ["demo"],
-                    "source_unit": "1234567890abcdef",
                     "comments": [
                         {
                             "comment": "Comment",

++++++ weblate_schemas-0.7.tar.gz -> weblate_schemas-2022.1.tar.gz ++++++
++++ 1949 lines of diff (skipped)

Reply via email to