2 Commits

Author SHA256 Message Date
4c8fa03954 Accepting request 1325729 from security:csirt-tooling
OBS-URL: https://build.opensuse.org/request/show/1325729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymisp?expand=0&rev=50
2026-01-07 15:02:36 +00:00
6c5a0cbffa - 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/package/show/security:csirt-tooling/python-pymisp?expand=0&rev=9
2026-01-07 09:02:21 +00:00
5 changed files with 57 additions and 26 deletions

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6f6247904e53f53c7210d54d47d1d40566da9d97dd66e8e467b2f9542c0706e
size 264018
oid sha256:2aaf2bda0683ccbd7a2c13f8bf87be223356258a975628a80796bce0cc9243ea
size 274506

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233983ed8f1cd29a8fae7984a34f3f9afe6ce1770766c605c583c3345399b740
size 1906299

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:408c2fd7b9c1910595ae3dcd580dca0cebb7db222bfa49eb09a9eb5e10f61c26
size 1896167

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Jan 7 03:51:43 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <sebix@sebix.at>

View File

@@ -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