From c4ca52baaa2c3b8d973e823eb0ee793640edec2a60fa94863152422d08f6a962 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 7 Jan 2026 09:02:21 +0000 Subject: [PATCH] Accepting request 1325689 from home:StevenK:branches:security:csirt-tooling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 2.5.17.3: * New: + Use pure-magic-rs. [Raphaël Vinot] + Optionally use faup-rs for URL parsing. [Raphaël Vinot] + Enrich event/attribute endpoints. [Raphaël Vinot] + Create a sign_blob method to sign events. [Raphaël Vinot] + support for signing added. [iglocska] * Changes: + Properly support lief 0.17. [Raphaël Vinot] + Exception when a first/last seen is invalid. [Raphaël Vinot] + [emailobject] Improve parsing of the Received headers. [Sami Tainio] + Remove top level files from wheel. [Raphaël Vinot] + Remove tests from wheel. [Raphaël Vinot] + Allow MD in docs. [Raphaël Vinot] + Remove ref to recommonmark. [Raphaël Vinot] + [AnalystData] Flattening analyst data based on the recent changes on MISP standard format. + [MISPAnalystData] Reverted the declaration of Analyst data objects lists back to the mixin parent class. + Bump version, deps, templates. [Raphaël Vinot] + Drop python 3.8, add python 3.13. [Raphaël Vinot] + Remove fonts from submodules, on-demand download if needed. [Raphaël Vinot] * Other: + Replace deprecated ExpandedPyMISP with PyMISP. [Jure Sah] + Improve the logging message. [Peter Leitmann] + Add a check if add_attributes() method truly has values to add. [Peter Leitmann] + Testing Analyst Data in different scenarios. OBS-URL: https://build.opensuse.org/request/show/1325689 OBS-URL: https://build.opensuse.org/package/show/security:csirt-tooling/python-pymisp?expand=0&rev=9 --- misp-objects.tar.gz | 4 ++-- python-pymisp-2.5.1.tar.gz | 3 --- python-pymisp-2.5.17.3.tar.gz | 3 +++ python-pymisp.changes | 33 +++++++++++++++++++++++++++++ python-pymisp.spec | 40 +++++++++++++++++------------------ 5 files changed, 57 insertions(+), 26 deletions(-) delete mode 100644 python-pymisp-2.5.1.tar.gz create mode 100644 python-pymisp-2.5.17.3.tar.gz diff --git a/misp-objects.tar.gz b/misp-objects.tar.gz index 0c41c5e..b0bff68 100644 --- a/misp-objects.tar.gz +++ b/misp-objects.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f6f6247904e53f53c7210d54d47d1d40566da9d97dd66e8e467b2f9542c0706e -size 264018 +oid sha256:2aaf2bda0683ccbd7a2c13f8bf87be223356258a975628a80796bce0cc9243ea +size 274506 diff --git a/python-pymisp-2.5.1.tar.gz b/python-pymisp-2.5.1.tar.gz deleted file mode 100644 index c132401..0000000 --- a/python-pymisp-2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:233983ed8f1cd29a8fae7984a34f3f9afe6ce1770766c605c583c3345399b740 -size 1906299 diff --git a/python-pymisp-2.5.17.3.tar.gz b/python-pymisp-2.5.17.3.tar.gz new file mode 100644 index 0000000..5f76551 --- /dev/null +++ b/python-pymisp-2.5.17.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:408c2fd7b9c1910595ae3dcd580dca0cebb7db222bfa49eb09a9eb5e10f61c26 +size 1896167 diff --git a/python-pymisp.changes b/python-pymisp.changes index 15bd7cc..02d8db7 100644 --- a/python-pymisp.changes +++ b/python-pymisp.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Jan 7 03:51:43 UTC 2026 - Steve Kowalik + +- Update to 2.5.17.3: + * New: + + Use pure-magic-rs. [Raphaël Vinot] + + Optionally use faup-rs for URL parsing. [Raphaël Vinot] + + Enrich event/attribute endpoints. [Raphaël Vinot] + + Create a sign_blob method to sign events. [Raphaël Vinot] + + support for signing added. [iglocska] + * Changes: + + Properly support lief 0.17. [Raphaël Vinot] + + Exception when a first/last seen is invalid. [Raphaël Vinot] + + [emailobject] Improve parsing of the Received headers. [Sami Tainio] + + Remove top level files from wheel. [Raphaël Vinot] + + Remove tests from wheel. [Raphaël Vinot] + + Allow MD in docs. [Raphaël Vinot] + + Remove ref to recommonmark. [Raphaël Vinot] + + [AnalystData] Flattening analyst data based on the recent changes on + MISP standard format. + + [MISPAnalystData] Reverted the declaration of Analyst data objects + lists back to the mixin parent class. + + Bump version, deps, templates. [Raphaël Vinot] + + Drop python 3.8, add python 3.13. [Raphaël Vinot] + + Remove fonts from submodules, on-demand download if needed. [Raphaël + Vinot] + * Other: + + Replace deprecated ExpandedPyMISP with PyMISP. [Jure Sah] + + Improve the logging message. [Peter Leitmann] + + Add a check if add_attributes() method truly has values to add. [Peter + Leitmann] + + Testing Analyst Data in different scenarios. + ------------------------------------------------------------------- Fri Nov 15 06:37:54 UTC 2024 - Sebastian Wagner diff --git a/python-pymisp.spec b/python-pymisp.spec index df1da0f..3f35666 100644 --- a/python-pymisp.spec +++ b/python-pymisp.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymisp # -# Copyright (c) 2024 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,10 +16,9 @@ # -%define skip_python2 1 -%define misp_objects_revision 83271573312aebce971a0cf7ffbd04e784a58de3 +%define misp_objects_revision bdcc37547de6ca331e00d632bedd81207d26905d Name: python-pymisp -Version: 2.5.1 +Version: 2.5.17.3 Release: 0 Summary: Python API for MISP License: BSD-2-Clause @@ -33,19 +32,17 @@ Source1: https://github.com/MISP/misp-objects/archive/%{misp_objects_revi # packaging tool Source2: update-misp-objects.sh Source3: python-pymisp-doc-rpmlintrc -BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Recommends: python-oletools -Requires: python-Deprecated >= 1.2.14 -Requires: python-python-dateutil >= 2.8.2 -Requires: python-requests >= 2.31.0 +Recommends: python-oletools >= 0.60.2 +Requires: python-Deprecated >= 1.3.1 +Requires: python-python-dateutil >= 2.9.0 +Requires: python-requests >= 2.32.5 Recommends: %{name}-doc -Recommends: python-extract-msg >= 0.28.0 +Recommends: python-extract-msg >= 0.55.0 Recommends: python-magic >= 0.4.27 Recommends: python-reportlab Recommends: python3-beautifulsoup4 >= 4.12.2 @@ -61,20 +58,19 @@ Suggests: python-pydeep #pyfaup = {version = "^1.2", optional = true} BuildArch: noarch # SECTION tests -BuildRequires: %{python_module Deprecated >= 1.2.14} -BuildRequires: %{python_module oletools} +BuildRequires: %{python_module Deprecated >= 1.3.1} +BuildRequires: %{python_module oletools >= 0.60.2} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-dateutil >= 2.8.2} +BuildRequires: %{python_module python-dateutil >= 2.9.0} BuildRequires: %{python_module python-magic >= 0.4.27} BuildRequires: %{python_module reportlab} BuildRequires: %{python_module requests >= 2.31.0} BuildRequires: %{python_module requests-mock} # /SECTION # SECTION docs -BuildRequires: python3-CommonMark -BuildRequires: python3-Sphinx -BuildRequires: python3-recommonmark >= 0.7.1 -BuildRequires: python3-sphinx-autodoc-typehints +BuildRequires: python3-Sphinx >= 8.2.3 +BuildRequires: python3-myst-parser >= 4.0.1 +BuildRequires: python3-sphinx-autodoc-typehints >= 3.5.2 # /SECTION %python_subpackages %{?python_enable_dependency_generator} @@ -118,13 +114,15 @@ popd export LANG=en_US.UTF-8 # requires optional dependencies which we don't have (extract_msg, RTFDE etc.) rm tests/test_emailobject.py -%pytest +# requires network +donttest="((TestPDFExport and test_utf) or test_mimeType)" +%pytest -k "not $donttest" %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/pymisp/ -%{python_sitelib}/pymisp-%{version}*-info +%{python_sitelib}/pymisp-%{version}.dist-info %files -n %{name}-doc %doc examples docs/build/html