Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mitmproxy-rs for
openSUSE:Factory checked in at 2026-02-03 21:33:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mitmproxy-rs (Old)
and /work/SRC/openSUSE:Factory/.python-mitmproxy-rs.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mitmproxy-rs"
Tue Feb 3 21:33:40 2026 rev:4 rq:1330696 version:0.12.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mitmproxy-rs/python-mitmproxy-rs.changes
2025-02-10 18:27:25.260574471 +0100
+++
/work/SRC/openSUSE:Factory/.python-mitmproxy-rs.new.1995/python-mitmproxy-rs.changes
2026-02-03 21:34:49.296989423 +0100
@@ -1,0 +2,29 @@
+Mon Feb 2 15:44:04 UTC 2026 - Marius Grossu <[email protected]>
+
+- Update to 0.12.9:
+ * Add folder support for protobuf parser.
+ * Update dependencies.
+ * Add JS syntax highlighting.
+ * Add CSS syntax highlighting.
+ * Add `mitmproxz_rs.syntax_highlight.languages()`.
+ * Fix a bug where macOS local capture mode wouldn't clean up connections and
stop working after a while. * The changes may break half-closed TCP streams.
+ * tun mode: allow using a pre-configured persistent tun interface, to avoid
requiring CAP_NET_ADMIN.
+ * Various fixes for Protobuf number encoding.
+ * Make gRPC and Protobuf parsing more forgiving
+ * Contentview bugfixes.
+ * Add `mitmproxy_rs.contentviews` module with MsgPack, Protobuf, and gRPC
views.
+ * Add `mitmproxy_rs.syntax_highlight` module with YAML and HTML support.
+ * Wireguard: Bind server to specified address only.
+ * Fix a bug where buffer space wasn't reclaimed correctly, leading to an
error in local capture mode.
+ * macOS: Make sure an existing network extension is replaced if a newer
version is available.
+ * macOS: Fix a bug where IPv6 addresses with scope ids were not parsed
correctly.
+ * Improve error message if `bpf-linker` is missing.
+ * Fix PyInstaller hooks to include `mitmproxy_linux`.
+ * Fix CI to build wheels compatible with Python 3.13 for mitmproxy-linux.
+ * Add local redirect mode for Linux.
+ * Update dependencies
+- Fake mitmproxy-linux, we can't build that in openSUSE, requires rust
+ nightly:
+
https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-linux#build-dependencies
+
+-------------------------------------------------------------------
Old:
----
mitmproxy_rs-0.11.1.tar.gz
New:
----
mitmproxy_rs-0.12.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mitmproxy-rs.spec ++++++
--- /var/tmp/diff_new_pack.Mu5ujO/_old 2026-02-03 21:34:50.953059023 +0100
+++ /var/tmp/diff_new_pack.Mu5ujO/_new 2026-02-03 21:34:50.957059190 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-mitmproxy-rs
#
-# 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
@@ -16,14 +16,16 @@
#
+%define skip_python311 1
Name: python-mitmproxy-rs
-Version: 0.11.1
+Version: 0.12.9
Release: 0
Summary: Rust bits for mitmproxy
License: MIT
URL: https://github.com/mitmproxy/mitmproxy_rs
-Source:
https://files.pythonhosted.org/packages/source/m/mitmproxy-rs/mitmproxy_rs-%{version}.tar.gz
+Source:
https://github.com/mitmproxy/mitmproxy_rs/archive/v%{version}/mitmproxy_rs-%{version}.tar.gz
Source1: vendor.tar.zst
+
BuildRequires: %{python_module maturin >= 1}
BuildRequires: %{python_module pip}
BuildRequires: cargo-packaging
@@ -38,15 +40,45 @@
%autosetup -a1 -p1 -n mitmproxy_rs-%{version}
%build
+pushd mitmproxy-rs
%pyproject_wheel
+popd
+
+# Can't build mitmproxy-linux because it depends on rust nightly
+#
https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-linux#build-dependencies
+# pushd mitmproxy-linux
+# %%pyproject_wheel
+# popd
%install
+pushd mitmproxy-rs
%pyproject_install
+popd
+
+# Can't build mitmproxy-linux because it depends on rust nightly
+#
https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-linux#build-dependencies
+# pushd mitmproxy-linux
+# %%pyproject_install
+# popd
+
+%{python_expand #
+mkdir -p %{buildroot}%{$python_sitearch}/mitmproxy_linux
+cat <<EOF >> %{buildroot}%{$python_sitearch}/mitmproxy_linux/__init__.py
+# Fake mitmproxy-linux, we can't build in openSUSE yet because it
+# depends on rust nightly
+from pathlib import Path
+def executable_path():
+ return Path("/usr/bin/mitmproxy-linux-redirector")
+EOF
+}
+
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# no tests in the tarball
%files %{python_files}
+%{python_sitearch}/mitmproxy_linux
+%{python_sitearch}/mitmproxy_linux/__init__.py
%{python_sitearch}/mitmproxy_rs
%{python_sitearch}/mitmproxy_rs-%{version}.dist-info
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Mu5ujO/_old 2026-02-03 21:34:50.985060367 +0100
+++ /var/tmp/diff_new_pack.Mu5ujO/_new 2026-02-03 21:34:50.989060536 +0100
@@ -1,9 +1,10 @@
<services>
<service name="download_files" mode="manual"/>
- <service name="cargo_vendor" mode="disabled">
- <param name="srctar">mitmproxy_rs-0.11.1.tar.gz</param>
+ <service name="cargo_vendor" mode="manual">
+ <param name="srctar">mitmproxy_rs-0.12.9.tar.gz</param>
<param name="compression">zst</param>
<param name="filter">true</param>
+ <param name="update">true</param>
</service>
</services>
++++++ mitmproxy_rs-0.11.1.tar.gz -> mitmproxy_rs-0.12.9.tar.gz ++++++
++++ 16251 lines of diff (skipped)
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/python-mitmproxy-rs/vendor.tar.zst
/work/SRC/openSUSE:Factory/.python-mitmproxy-rs.new.1995/vendor.tar.zst differ:
char 7, line 1