From c9edbcd6726359a1bcf4177ece1e246f6a38cf189d0c830f7c85d05cd0435f5e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 3 Jul 2023 07:16:07 +0000 Subject: [PATCH] Accepting request 1096298 from home:mcalabkova:branches:devel:languages:python - Update to 2023.3 * Added support for Python 3.11 and 3.10. * Dropped support for Python 3.6. * Fixed project backups schema to allow blank project website. * Fixed project backup with unicode website URLs. * Added theme to user data. - Drop upstreamed test-data.patch OBS-URL: https://build.opensuse.org/request/show/1096298 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weblate-schemas?expand=0&rev=11 --- python-weblate-schemas.changes | 11 +++++++++++ python-weblate-schemas.spec | 6 ++---- test-data.patch | 21 --------------------- weblate_schemas-2022.1.tar.gz | 3 --- weblate_schemas-2023.3.tar.gz | 3 +++ 5 files changed, 16 insertions(+), 28 deletions(-) delete mode 100644 test-data.patch delete mode 100644 weblate_schemas-2022.1.tar.gz create mode 100644 weblate_schemas-2023.3.tar.gz diff --git a/python-weblate-schemas.changes b/python-weblate-schemas.changes index 99224f4..9967b80 100644 --- a/python-weblate-schemas.changes +++ b/python-weblate-schemas.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jul 1 14:19:13 UTC 2023 - Markéta Machová + +- Update to 2023.3 + * Added support for Python 3.11 and 3.10. + * Dropped support for Python 3.6. + * Fixed project backups schema to allow blank project website. + * Fixed project backup with unicode website URLs. + * Added theme to user data. +- Drop upstreamed test-data.patch + ------------------------------------------------------------------- Thu Oct 27 10:07:16 UTC 2022 - Markéta Machová diff --git a/python-weblate-schemas.spec b/python-weblate-schemas.spec index 6ee9d6d..c702962 100644 --- a/python-weblate-schemas.spec +++ b/python-weblate-schemas.spec @@ -1,7 +1,7 @@ # # spec file for package python-weblate-schemas # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,12 @@ %define skip_python2 1 Name: python-weblate-schemas -Version: 2022.1 +Version: 2023.3 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} diff --git a/test-data.patch b/test-data.patch deleted file mode 100644 index a081e55..0000000 --- a/test-data.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 1465933db1bd10dd34e7373b1f0b6693d708277e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= -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", diff --git a/weblate_schemas-2022.1.tar.gz b/weblate_schemas-2022.1.tar.gz deleted file mode 100644 index 0daf423..0000000 --- a/weblate_schemas-2022.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94e1f614eda3b48925ff6fdbc2ae4e80bc3ecdeabc871ae4887c52f22009c5c6 -size 13080 diff --git a/weblate_schemas-2023.3.tar.gz b/weblate_schemas-2023.3.tar.gz new file mode 100644 index 0000000..8e25eef --- /dev/null +++ b/weblate_schemas-2023.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68a7785522b684f6865d097ac2b7f5fd6fcc80d04e5ebdecdc93952f2478534d +size 12740