Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-modelscope-hub for 
openSUSE:Factory checked in at 2026-09-21 12:24:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-modelscope-hub (Old)
 and      /work/SRC/openSUSE:Factory/.python-modelscope-hub.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-modelscope-hub"

Mon Sep 21 12:24:39 2026 rev:7 rq:1379432 version:0.4.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-modelscope-hub/python-modelscope-hub.changes  
    2026-09-17 15:21:16.704658221 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-modelscope-hub.new.383539/python-modelscope-hub.changes
  2026-09-21 12:24:45.681158672 +0200
@@ -1,0 +2,41 @@
+Mon Sep 21 09:00:48 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.4.5:
+  * Add "ms agent install", which fetches an agent into its
+    framework's local workspace through a plugin published as a
+    model repository. The plugin source must be named explicitly
+    and its owner must be on a compile-time allow-list checked
+    before any download; files are then verified against the
+    manifest's content_sha256 and the plugin runs in-process,
+    with no per-invocation trust opt-in
+  * A retryable commit failure re-commits already-uploaded files
+    without re-transferring blobs, a policy rejection is split by
+    halving down to a single file, and a resumed upload re-plans
+    only the files not yet committed
+  * Commit batches close on 256 operations or an estimated 8 MiB
+    body, clamped to the server's 2000-action ceiling, with LFS
+    pointers excluded and the tail batch rebalanced
+  * LFS routing threshold drops from 1 MiB to 64 KiB
+  * A terminal commit failure now raises StorageError instead of
+    being lost silently, and HTTP 200 carrying Success: false
+    raises too
+  * Treat a 409 "branch changed" and a policy-rejected commit as
+    retryable; capacity pre-checks warn instead of failing
+  * Many more fixes and improvements; see upstream's release
+    notes for the full list
+- Changes from version 0.4.4:
+  * Uploading with path_in_repo="." no longer fails: the Hub
+    rejected every commit with E3021. ".", "./", "/" and empty
+    now all mean the repository root, redundant separators and
+    "."/".." segments are collapsed, and a path escaping the root
+    is refused
+- MODELSCOPE_UPLOAD_LFS_FORCE_THRESHOLD_MB is deprecated for
+  MODELSCOPE_UPLOAD_LFS_FORCE_THRESHOLD, where a bare number now
+  means BYTES, not megabytes; suffixes such as 32KiB are accepted
+  and 0 forces LFS for every file
+- Deselect test_log_execution_records_the_build_before_import: it
+  asserts on caplog, which never sees the record because the
+  package logger sets propagate = False once initialised; the
+  audit line itself is still emitted
+
+-------------------------------------------------------------------

Old:
----
  modelscope_hub-0.4.3.tar.gz

New:
----
  modelscope_hub-0.4.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-modelscope-hub.spec ++++++
--- /var/tmp/diff_new_pack.ez4arg/_old  2026-09-21 12:24:47.792246903 +0200
+++ /var/tmp/diff_new_pack.ez4arg/_new  2026-09-21 12:24:47.798247154 +0200
@@ -19,7 +19,7 @@
 %bcond_without libalternatives
 %{?sle15_python_module_pythons}
 Name:           python-modelscope-hub
-Version:        0.4.3
+Version:        0.4.5
 Release:        0
 Summary:        Official Python client for ModelScope Hub
 License:        Apache-2.0
@@ -81,7 +81,13 @@
 # The six test_openapi_coverage spec-drift guards read
 # tests/data/openapi.json, which the sdist does not ship; the rest of
 # that module checks the registry->method binding and still runs.
-%pytest -m "not remote" --deselect 
tests/test_openapi_coverage.py::test_every_covered_operation_is_registered 
--deselect 
tests/test_openapi_coverage.py::test_registry_has_no_unknown_operations 
--deselect 
tests/test_openapi_coverage.py::test_registry_does_not_claim_deferred_tags 
--deselect tests/test_openapi_coverage.py::test_every_tag_is_accounted_for 
--deselect tests/test_openapi_coverage.py::test_spec_is_the_expected_document 
--deselect 
tests/test_openapi_coverage.py::test_covered_tags_account_for_every_registered_entry
+# test_log_execution_records_the_build_before_import asserts on
+# caplog.text, but utils/logger.py sets propagate = False on the
+# package logger, so nothing reaches pytest's root handler once any
+# earlier test has initialised it. The line IS emitted (it shows in
+# captured stderr) -- the assertion is order-dependent upstream, not a
+# defect here. Drop this deselect once upstream makes it order-safe.
+%pytest -m "not remote" --deselect 
tests/test_agent_plugin.py::test_log_execution_records_the_build_before_import 
--deselect 
tests/test_openapi_coverage.py::test_every_covered_operation_is_registered 
--deselect 
tests/test_openapi_coverage.py::test_registry_has_no_unknown_operations 
--deselect 
tests/test_openapi_coverage.py::test_registry_does_not_claim_deferred_tags 
--deselect tests/test_openapi_coverage.py::test_every_tag_is_accounted_for 
--deselect tests/test_openapi_coverage.py::test_spec_is_the_expected_document 
--deselect 
tests/test_openapi_coverage.py::test_covered_tags_account_for_every_registered_entry
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import 
modelscope_hub"
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
%{buildroot}%{_bindir}/modelscope-%{$python_bin_suffix} --help
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
%{buildroot}%{_bindir}/ms-hub-%{$python_bin_suffix} --help

++++++ modelscope_hub-0.4.3.tar.gz -> modelscope_hub-0.4.5.tar.gz ++++++
++++ 7046 lines of diff (skipped)

Reply via email to