Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-uncalled-for for
openSUSE:Factory checked in at 2026-08-11 17:18:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-uncalled-for (Old)
and /work/SRC/openSUSE:Factory/.python-uncalled-for.new.17972 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uncalled-for"
Tue Aug 11 17:18:51 2026 rev:2 rq:1370575 version:0.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-uncalled-for/python-uncalled-for.changes
2026-06-19 17:39:06.722686462 +0200
+++
/work/SRC/openSUSE:Factory/.python-uncalled-for.new.17972/python-uncalled-for.changes
2026-08-11 17:19:22.011715710 +0200
@@ -1,0 +2,36 @@
+Mon Aug 10 20:21:58 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.4.0:
+ * Add a call-scoped frame mechanism in a new uncalled_for.frames
+ module: it maps the outer function's parameter names to
+ caller-supplied values or to unresolved dependencies, memoizes
+ both results and failures, and detects reference cycles
+ * Add CallArgument("name"), resolving to the value the outer
+ function received for that parameter - whether the caller
+ passed it or another dependency on the signature produced it.
+ It works both as a factory parameter default (the bare form
+ takes the parameter's own name) and as a keyword binding in
+ Depends(factory, **bindings), which wires up an ordinary
+ function without changing it. Previously a dependency factory
+ could only receive values that were themselves dependencies,
+ and making an outer call value a dependency hid it from the
+ outer signature
+ * New public API: CallArgument, CycleError, Frame, current_frame
+ and frame_scope
+ * resolved_dependencies now routes its resolution loop through
+ the frame, and external resolvers can enter frame_scope()
+ themselves
+ * Existing resolution paths are deliberately unchanged: a bare
+ Depends(f) keeps its cache key exactly f, _resolve_parameters
+ keeps its signature, and the stack ContextVar moved into
+ frames.py behind an unchanged _Depends.stack alias
+ * Fix five errors reported by a bare pyright run, four of which
+ predate this release
+- Run the upstream test suite during build instead of only a bare
+ import smoke test:
+ * New BuildRequires: pytest >= 9.0.2, pytest-asyncio >= 0.24.0
+ * Upstream's coverage and per-test-timeout pytest options are
+ CI-only gates and are not applied
+- Package the LICENSE file
+
+-------------------------------------------------------------------
Old:
----
uncalled_for-0.3.2.tar.gz
New:
----
uncalled_for-0.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-uncalled-for.spec ++++++
--- /var/tmp/diff_new_pack.RqkbZ9/_old 2026-08-11 17:19:23.043759290 +0200
+++ /var/tmp/diff_new_pack.RqkbZ9/_new 2026-08-11 17:19:23.047759458 +0200
@@ -17,15 +17,17 @@
Name: python-uncalled-for
-Version: 0.3.2
+Version: 0.4.0
Release: 0
Summary: Async-friendly dependency injection for Python
License: MIT
URL: https://github.com/chrisguidry/uncalled-for
-Source:
https://files.pythonhosted.org/packages/source/u/uncalled-for/uncalled_for-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/u/uncalled_for/uncalled_for-%{version}.tar.gz
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest >= 9.0.2}
+BuildRequires: %{python_module pytest-asyncio >= 0.24.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -49,9 +51,15 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import
uncalled_for"
+# Upstream's addopts are CI-only gates: --cov*/--cov-fail-under=100 need
+# pytest-cov and enforce a coverage target, and --timeout=30 needs
+# pytest-timeout and is flaky on loaded OBS workers. Drop both and keep
+# upstream's import mode so the full suite still runs against the installed
+# package (asyncio_mode=auto stays in effect from pyproject.toml).
+%pytest -o addopts="--import-mode=importlib"
%files %{python_files}
+%license LICENSE
%doc README.md
%{python_sitelib}/uncalled_for
%{python_sitelib}/uncalled_for-%{version}.dist-info
++++++ uncalled_for-0.3.2.tar.gz -> uncalled_for-0.4.0.tar.gz ++++++
++++ 1605 lines of diff (skipped)