Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dataclasses-json for
openSUSE:Factory checked in at 2025-01-12 11:20:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dataclasses-json (Old)
and /work/SRC/openSUSE:Factory/.python-dataclasses-json.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dataclasses-json"
Sun Jan 12 11:20:33 2025 rev:4 rq:1236762 version:0.6.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-dataclasses-json/python-dataclasses-json.changes
2024-08-29 15:44:12.955347041 +0200
+++
/work/SRC/openSUSE:Factory/.python-dataclasses-json.new.1881/python-dataclasses-json.changes
2025-01-12 11:27:56.056437910 +0100
@@ -1,0 +2,8 @@
+Fri Jan 10 04:22:08 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Correct BuildRequires.
+- Fix URL to actually be an URL.
+- Add patch support-poetry-core-2.patch:
+ * Support poetry-core 2.0 changes.
+
+-------------------------------------------------------------------
New:
----
support-poetry-core-2.patch
BETA DEBUG BEGIN:
New:- Fix URL to actually be an URL.
- Add patch support-poetry-core-2.patch:
* Support poetry-core 2.0 changes.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dataclasses-json.spec ++++++
--- /var/tmp/diff_new_pack.9ySa2s/_old 2025-01-12 11:27:56.508456511 +0100
+++ /var/tmp/diff_new_pack.9ySa2s/_new 2025-01-12 11:27:56.512456676 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-dataclasses-json
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,17 +22,17 @@
Release: 0
Summary: API for encoding and decoding dataclasses to and from JSON
License: MIT
-URL: python-dataclasses-json
+URL: https://github.com/lidatong/dataclasses-json
Source:
https://github.com/lidatong/dataclasses-json/archive/refs/tags/v%{version}.tar.gz#/dataclasses-json-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#lidatong/dataclasses-json#553
+Patch0: support-poetry-core-2.patch
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module marshmallow}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module poetry-dynamic-versioning}
-BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-inspect}
BuildRequires: fdupes
Requires: python-marshmallow
@@ -61,6 +61,8 @@
%pytest
%files %python_files
+%license LICENSE
+%doc README.md
%{python_sitelib}/dataclasses_json
-%{python_sitelib}/dataclasses_json-%{version}*-info
+%{python_sitelib}/dataclasses_json-%{version}.dist-info
++++++ support-poetry-core-2.patch ++++++
>From 635b0cfe0afc8330aecadf2083af9ce1fdf92441 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Fri, 10 Jan 2025 15:18:55 +1100
Subject: [PATCH] Support poetry-core 2.0 changes
poetry-core 2.0 has released, and it's a lot more strict about the
configuration groups and their contents in pyproject.toml.
---
pyproject.toml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 20a147fb..b24d8d69 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,9 +1,16 @@
-[tool.poetry]
+[project]
name = "dataclasses-json"
version = "0.0.0"
description = "Easily serialize dataclasses to and from JSON."
-authors = ["Charles Li <[email protected]>"]
-maintainers = ['Charles Li <[email protected]>', 'Georgiy Zubrienko
<[email protected]>', 'Vitaliy Savitskiy <[email protected]>', 'Matthias Als
<[email protected]>']
+authors = [
+ { "name" = "Charles Li", "email" = "[email protected]" },
+]
+maintainers = [
+ { "name" = "Charles Li", "email" = "[email protected]" },
+ { "name" = "Georgiy Zubrienko", "email" = "[email protected]" },
+ { "name" = "Vitaliy Savitskiy", "email" = "[email protected]" },
+ { "name" = "Matthias Als", "email" = "[email protected]>" },
+]
license = 'MIT'
readme = "README.md"
repository = 'https://github.com/lidatong/dataclasses-json'
@@ -33,7 +40,7 @@ build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
-[tool.poetry.urls]
+[project.urls]
changelog = "https://github.com/lidatong/dataclasses-json/releases"
documentation = "https://lidatong.github.io/dataclasses-json/"
issues = "https://github.com/lidatong/dataclasses-json/issues"