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-04 12:38:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-modelscope-hub (Old)
and /work/SRC/openSUSE:Factory/.python-modelscope-hub.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-modelscope-hub"
Fri Sep 4 12:38:42 2026 rev:4 rq:1375445 version:0.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-modelscope-hub/python-modelscope-hub.changes
2026-09-02 17:00:15.572172204 +0200
+++
/work/SRC/openSUSE:Factory/.python-modelscope-hub.new.1265/python-modelscope-hub.changes
2026-09-04 12:39:20.639337941 +0200
@@ -1,0 +2,29 @@
+Wed Sep 2 15:20:02 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.4.0:
+ * New Agent-IDP surface: Ed25519/JWK helpers, identity CRUD, key
+ reset, pause, token issue/records, OIDC discovery and JWKS, as
+ a new agent-idp subcommand; private JWKs written 0600 only to
+ an explicitly requested path
+ * Studio gains list, plaintext variables, hardware tiers, base
+ images and SDK versions across API, CLI and legacy compat, plus
+ StudioVisibility (adds protected) and TokenScope enums; repo
+ list gains --repo-type studio, and mcp list gains --hosted
+ * Legacy Studio compat stopped forwarding transport kwargs as
+ business fields: the caller's token used to land in the PATCH
+ body and server logs, get_studio_logs(token=) raised TypeError
+ and per-call token=/endpoint= were ignored
+ * Studio create/update no longer drops cover_image
+ * Public Studio and MCP reads retry once anonymously so a stale
+ or read-scoped token cannot hide data anonymous callers see; a
+ token refused over its tier completes as a reduced-capability
+ login instead of being reported invalid
+ * OpenAPI string error codes map to typed exceptions, including
+ the new QuotaExceededError (E3027); signature, jwt and
+ private_key added to the log redaction sets
+- Add python-cryptography >= 41, new upstream requirement for the
+ Agent-IDP Ed25519 key handling
+- Deselect the six test_openapi_coverage spec-drift guards: their
+ tests/data/openapi.json fixture is missing from the sdist
+
+-------------------------------------------------------------------
Old:
----
modelscope_hub-0.3.1.tar.gz
New:
----
modelscope_hub-0.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-modelscope-hub.spec ++++++
--- /var/tmp/diff_new_pack.WTzYQ9/_old 2026-09-04 12:39:21.629372720 +0200
+++ /var/tmp/diff_new_pack.WTzYQ9/_new 2026-09-04 12:39:21.631372790 +0200
@@ -19,13 +19,14 @@
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-modelscope-hub
-Version: 0.3.1
+Version: 0.4.0
Release: 0
Summary: Official Python client for ModelScope Hub
License: Apache-2.0
URL: https://github.com/modelscope/modelscope_hub
Source:
https://files.pythonhosted.org/packages/source/m/modelscope_hub/modelscope_hub-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.10}
+BuildRequires: %{python_module cryptography >= 41}
BuildRequires: %{python_module filelock >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -40,6 +41,7 @@
BuildRequires: python-rpm-macros
BuildRequires: timezone
Requires: alts
+Requires: python-cryptography >= 41
Requires: python-filelock >= 3.9
Requires: python-requests >= 2.28
Requires: python-tqdm >= 4.64.0
@@ -73,7 +75,10 @@
%check
# Offline mock-mode tests (HTTP mocked with responses). Skip @remote
# tests that need live Hub credentials.
-%pytest -m "not remote"
+# 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
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import
modelscope_hub"
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
%{buildroot}%{_bindir}/ms-hub-%{$python_bin_suffix} --help
++++++ modelscope_hub-0.3.1.tar.gz -> modelscope_hub-0.4.0.tar.gz ++++++
++++ 5262 lines of diff (skipped)