Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyshark for openSUSE:Factory 
checked in at 2026-02-02 14:57:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyshark (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyshark.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyshark"

Mon Feb  2 14:57:49 2026 rev:5 rq:1330340 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyshark/python-pyshark.changes    
2024-01-03 12:31:39.966115929 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyshark.new.1995/python-pyshark.changes  
2026-02-02 14:57:51.145259408 +0100
@@ -1,0 +2,6 @@
+Wed Jan 28 13:13:03 UTC 2026 - Marius Grossu <[email protected]>
+
+- Add fix_tshark.patch: field is no longer available, so the tests now pass
+  (gh#/KimiNewt/pyshark#744) 
+
+-------------------------------------------------------------------

New:
----
  fix_tshark.patch

----------(New B)----------
  New:
- Add fix_tshark.patch: field is no longer available, so the tests now pass
  (gh#/KimiNewt/pyshark#744) 
----------(New E)----------

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

Other differences:
------------------
++++++ python-pyshark.spec ++++++
--- /var/tmp/diff_new_pack.Jqh7Nc/_old  2026-02-02 14:57:52.125300832 +0100
+++ /var/tmp/diff_new_pack.Jqh7Nc/_new  2026-02-02 14:57:52.125300832 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyshark
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2019-2022, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -27,6 +27,8 @@
 URL:            https://github.com/KimiNewt/pyshark
 #Git-Clone:     https://github.com/KimiNewt/pyshark.git
 Source:         https://github.com/KimiNewt/pyshark/archive/v%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix_tshark.patch -- based on PR 744
+Patch0:         fix_tshark.patch
 BuildRequires:  %{python_module appdirs}
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module pip}
@@ -38,6 +40,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  wireshark
+Requires:       %{python_module packaging}
 Requires:       python-appdirs
 Requires:       python-lxml
 Requires:       python-py
@@ -51,7 +54,7 @@
 wireshark dissectors.
 
 %prep
-%setup -q -n pyshark-%{version}/src
+%autosetup -p1 -n pyshark-%{version}/src
 
 %build
 %pyproject_wheel

++++++ fix_tshark.patch ++++++
>From 0e1d8d0e06108f2887c3147c93049de63b475f8a Mon Sep 17 00:00:00 2001
From: eyjhb <[email protected]>
Date: Sat, 25 Oct 2025 12:02:14 +0200
Subject: [PATCH] get_ek_field_mapping: removed check on dynamic

This field is no longer available in wireshark version 4.6.0, and it
seems like it does not make sense to check for it anyways.
---
 src/pyshark/tshark/tshark.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/pyshark/tshark/tshark.py
===================================================================
--- src.orig/pyshark/tshark/tshark.py
+++ src/pyshark/tshark/tshark.py
@@ -139,7 +139,7 @@ def get_ek_field_mapping(tshark_path=Non
         mapping,
         object_pairs_hook=_duplicate_object_hook)["mappings"]
     # If using wireshark 4, the key "mapping" contains what we want,
-    if "dynamic" in mapping and "properties" in mapping:
+    if "properties" in mapping:
         pass
     # if using wireshark 3.5 to < 4 the data in "mapping.doc",
     elif "doc" in mapping:

Reply via email to