Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-flatdict for openSUSE:Factory
checked in at 2026-04-11 22:25:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flatdict (Old)
and /work/SRC/openSUSE:Factory/.python-flatdict.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-flatdict"
Sat Apr 11 22:25:34 2026 rev:7 rq:1345980 version:4.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flatdict/python-flatdict.changes
2025-06-05 20:38:01.278479363 +0200
+++
/work/SRC/openSUSE:Factory/.python-flatdict.new.21863/python-flatdict.changes
2026-04-11 22:29:52.056963381 +0200
@@ -1,0 +2,20 @@
+Sat Apr 11 00:22:00 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.1.0:
+ * Fixed stray characters in `FlatDict.__repr__` output
+ * Added type annotations to `FlatDict` and `FlatterDict`
+ * Converted from single module (`flatdict.py`) to package
+ (`flatdict/`)
+ * Removed `__version__` attribute (use
+ `importlib.metadata.version('flatdict')` instead)
+ * Replaced `==` with `is` for type comparisons in `FlatterDict`
+ * Added exception chaining in `FlatterDict.__setitem__`
+ * Removed Python < 3.6 compatibility code
+ * Migrated from pip to uv for dependency management
+ * Switched test runner from unittest discovery to pytest
+ * Switched to OIDC trusted publishing for PyPI deploys
+ * Converted from `setup.py`/`setup.cfg` to `pyproject.toml`
+ with hatchling
+ * Switched to `hatch-vcs` for version management
+
+-------------------------------------------------------------------
Old:
----
flatdict-4.0.1.tar.gz
New:
----
flatdict-4.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-flatdict.spec ++++++
--- /var/tmp/diff_new_pack.5Z1uAI/_old 2026-04-11 22:29:52.552983668 +0200
+++ /var/tmp/diff_new_pack.5Z1uAI/_new 2026-04-11 22:29:52.552983668 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-flatdict
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,16 @@
%{?sle15allpythons}
Name: python-flatdict
-Version: 4.0.1
+Version: 4.1.0
Release: 0
Summary: Python module for interacting with nested dicts
License: BSD-3-Clause
URL: https://github.com/gmr/flatdict
Source:
https://github.com/gmr/flatdict/archive/%{version}.tar.gz#/flatdict-%{version}.tar.gz
+BuildRequires: %{python_module hatch-vcs}
+BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -40,9 +40,11 @@
%setup -q -n flatdict-%{version}
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -50,9 +52,8 @@
%pytest tests.py
%files %{python_files}
-%doc CHANGELOG.md README.rst
+%doc CHANGELOG.md README.md
%license LICENSE
-%{python_sitelib}/flatdict.py
+%{python_sitelib}/flatdict/
%{python_sitelib}/flatdict-%{version}*-info
-%pycache_only %{python_sitelib}/__pycache__/flatdict*
++++++ flatdict-4.0.1.tar.gz -> flatdict-4.1.0.tar.gz ++++++
++++ 2280 lines of diff (skipped)