14
0

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
This commit is contained in:
2023-07-03 07:16:07 +00:00
committed by Git OBS Bridge
parent 9326990e2d
commit c9edbcd672
5 changed files with 16 additions and 28 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jul 1 14:19:13 UTC 2023 - Markéta Machová <mmachova@suse.com>
- 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á <mmachova@suse.com>

View File

@@ -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}

View File

@@ -1,21 +0,0 @@
From 1465933db1bd10dd34e7373b1f0b6693d708277e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= <michal@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",

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94e1f614eda3b48925ff6fdbc2ae4e80bc3ecdeabc871ae4887c52f22009c5c6
size 13080

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68a7785522b684f6865d097ac2b7f5fd6fcc80d04e5ebdecdc93952f2478534d
size 12740