Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pymisp for openSUSE:Factory checked in at 2024-11-15 15:43:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymisp (Old) and /work/SRC/openSUSE:Factory/.python-pymisp.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymisp" Fri Nov 15 15:43:41 2024 rev:49 rq:1224369 version:2.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymisp/python-pymisp.changes 2023-08-20 00:15:28.835384390 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymisp.new.2017/python-pymisp.changes 2024-11-15 15:43:52.788023781 +0100 @@ -1,0 +2,559 @@ +Fri Nov 15 06:37:54 UTC 2024 - Sebastian Wagner <se...@sebix.at> + +- update to version 2.5.1: + - New + - Onion-address type. [Raphaël Vinot] + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump objects. [Raphaël Vinot] + - Bump version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Skip trying to install doc in python 3.9. [Raphaël Vinot] +- update to version 2.5.0: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - [tests] misp_instance_version_master now uses the 2.5 branch. + [iglocska] + - Fix + - Make mypy happy. [Raphaël Vinot] +- update to version 2.4.198: + - Changes + - Re-Bump changelog. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump deps, version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Only include the changelog in the sdist package. [Raphaël Vinot] + Related #1295 + - [data] describeTypes.json updated. [Alexandre Dulaunoy] + - Other + - Openioc.py is not a script, but had exec bit. [Sebastian Wagner] + the file openioc can only be used as module and as part of a package, + has no instructions for direct execution and is therefor not a script + for direct execution + this removes the executable bit from the file + +------------------------------------------------------------------- +Wed Sep 4 06:36:07 UTC 2024 - Sebastian Wagner <se...@sebix.at> + +- remove the date from python-publicsuffixlist's version. the package python-publicsuffixlist in openSUSE uses the suffix list from the package publicsuffixlist, not the list packaged by python-publicsuffixlist + +------------------------------------------------------------------- +Wed Sep 4 05:48:37 UTC 2024 - Sebastian Wagner <se...@sebix.at> + +- Add python-pymisp-doc-rpmlintrc as source + +------------------------------------------------------------------- +Tue Sep 3 15:47:36 UTC 2024 - Sebastian Wagner <se...@sebix.at> + +- update to version 2.4.197: + - Changes + - Bump deps, version, templates. [Raphaël Vinot] + - [misp-objects] updated to the latest version. [Alexandre Dulaunoy] + - Fix + - Avoid printing huge log when a request fails. [Raphaël Vinot] + fix #1286 +- update to version 2.4.196: + - Changes + - Bump version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Remove broken config. [Raphaël Vinot] +- update to version 2.4.195: + - New + - Add delete role, test suite for roles. [Raphaël Vinot] + - Test publish & search. [Raphaël Vinot] + - Add delete role, test suite for roles. [Raphaël Vinot] + - Test publish & search. [Raphaël Vinot] + - Changes + - Bump Changelog. [Raphaël Vinot] + - Bump objects. [Raphaël Vinot] + - Bump Changelog (issue with template) [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - [publish tests] further debugging. [iglocska] + - [publish test] check if the publishing actually worked as intended. + [iglocska] + - [tests] speculative fix for the published search. [iglocska] + - locally it seems to work as intended, curious what is going on here + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - [publish tests] further debugging. [iglocska] + - [publish test] check if the publishing actually worked as intended. + [iglocska] + - [tests] speculative fix for the published search. [iglocska] + - locally it seems to work as intended, curious what is going on here + - Bump deps. [Raphaël Vinot] + - Fix + - Bump objects (invalid template) [Raphaël Vinot] + - Do not let a user pass a full dict as tagname. [Raphaël Vinot] + - [publish tests] fixed invalid setting name for disabling background + processing. [iglocska] + - [publish test] invalid path for the publishing outcome in the + response. [iglocska] + - [publish test] fixed. [iglocska] + - was incorrect as it triggered a background processed publishing, which can take time + - Do not let a user pass a full dict as tagname. [Raphaël Vinot] + - Do not let a user pass a full dict as tagname. [Raphaël Vinot] + - [publish tests] fixed invalid setting name for disabling background + processing. [iglocska] + - [publish test] invalid path for the publishing outcome in the + response. [iglocska] + - [publish test] fixed. [iglocska] + - was incorrect as it triggered a background processed publishing, which can take time + - Other + - Re-naming variables to make tests happy. [Tobias Mainka] + - Added support to add or update a MISP role. [Tobias Mainka] + - Update tests. [Raphaël Vinot] + - Build(deps): bump certifi from 2024.6.2 to 2024.7.4. [dependabot[bot]] + Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. + - [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04) + --- + updated-dependencies: + - dependency-name: certifi + dependency-type: indirect + ... + - MANIFEST.in does not seem to have an effect any longer. [Ulrik Haugen] + - Include docs, examples and tests in sdist. [Ulrik Haugen] + - Re-naming variables to make tests happy. [Tobias Mainka] + - Added support to add or update a MISP role. [Tobias Mainka] + - Update tests. [Raphaël Vinot] + - Build(deps): bump certifi from 2024.6.2 to 2024.7.4. [dependabot[bot]] + Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. + - [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04) + --- + updated-dependencies: + - dependency-name: certifi + dependency-type: indirect + ... + - Feat: Adds methods to get attribute by id/uuid. [Sura De Silva] +- update to version 2.4.194: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Make a response in the tests a MISPUser obj. [Raphaël Vinot] + - Tests failing du to missing error. [Raphaël Vinot] +- update to version 2.4.193: + - New + - [analyst-data] Added initial support of analyst data concept and + functions - WiP. [Sami Mokaddem] + - Changes + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - A bit more refactoring. [Raphaël Vinot] + - Use from_dict in the mixin to initialize the objects. [Raphaël Vinot] + - [analyst-data] Added improvements, API endpoints and tests. [Sami + Mokaddem] + - [analyst-data] Make sure to include note_type_name. [Sami Mokaddem] + - Make mypy happy, change inheritance. [Raphaël Vinot] + - Allow orgc context for search_galaxy_clusters. [Jeroen Pinoy] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - [analyst-data] Continued implementation of analyst-data support. [Sami + Mokaddem] + - Allow orgc context for search_galaxy_clusters. [Jeroen Pinoy] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Fix + - Get the tests to pass. [Raphaël Vinot] + - Properly load AnalystData from dict. [Raphaël Vinot] + - More changes to get the tests to pass. [Raphaël Vinot] + - [event-report] Make sure to generate an UUID. [Sami Mokaddem] + - Pass kwargs to abstract. [Raphaël Vinot] + - Other + - Chg; Bump changelog. [Raphaël Vinot] + - Chg; Bump version. [Raphaël Vinot] + - Add test case. [Vincenzo] + - Add attach galaxy cluster method. [Vincenzo] +- update to version 2.4.190: + - Changes + - Bump object templates. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump version, deps. [Raphaël Vinot] + - Bump deps, require python 3.9+ for doc. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - [data] describeTypes file updated. [Alexandre Dulaunoy] + - Bump deps. [Raphaël Vinot] + - Fix + - [internal] Correct way to convert bytes to string if orjson exists. + [Jakub Onderka] +- update to version 2.4.188: + - New + - Support X-MISP-AUTH Header. [Raphaël Vinot] + Also, improve HTTP headers init + Fix #1179 + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump version, templates. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Strip API key before setting it. [Raphaël Vinot] + - Python 3.8 support & typing. [Raphaël Vinot] + - Typing for Python < 3.10. [Raphaël Vinot] + - Avoid issue when payload ist a list. [Raphaël Vinot] +- update to version 2.4.187: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump templates, version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump extract-msg. [Raphaël Vinot] +- update to version 2.4.186: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Bump version. [Raphaël Vinot] + - Bump objects. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Correct FileObject import. [Johannes Bader] + The FileObject import has been moved outside the try-except-block + related to lief, as the import is needed regardless whether lief + is available or not. + - Disable WL when calling the disable method, not toggle. [Raphaël + Vinot] + Fix #1159 + - Other + - Build(deps): bump urllib3 from 2.2.0 to 2.2.1. [dependabot[bot]] + Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.0 to 2.2.1. + - [Release notes](https://github.com/urllib3/urllib3/releases) + - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) + - [Commits](https://github.com/urllib3/urllib3/compare/2.2.0...2.2.1) + --- + updated-dependencies: + - dependency-name: urllib3 + dependency-type: direct:production + update-type: version-update:semver-patch + ... +- update to version 2.4.185: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump deps, version. [Raphaël Vinot] +- update to version 2.4.184.3: + - Changes + - Bump changelog. [Raphaël Vinot] + - Bump version. [Raphaël Vinot] + - Bump deps. [Raphaël Vinot] + - Fix + - Properly get body from message, without headers. [Raphaël Vinot] + - Remove from __all__ entries that shouldn't be there. [Raphaël Vinot] + - Other + - Build(deps-dev): bump jupyter-lsp from 2.2.1 to 2.2.2. + [dependabot[bot]] + Bumps [jupyter-lsp](https://github.com/jupyter-lsp/jupyterlab-lsp) from 2.2.1 to 2.2.2. + - [Release notes](https://github.com/jupyter-lsp/jupyterlab-lsp/releases) + - [Changelog](https://github.com/jupyter-lsp/jupyterlab-lsp/blob/main/CHANGELOG.md) + - [Commits](https://github.com/jupyter-lsp/jupyterlab-lsp/commits) + --- + updated-dependencies: + - dependency-name: jupyter-lsp + dependency-type: indirect + ... +- update to version 2.4.184.2: + - Changes + - Add changelog. [Raphaël Vinot] + - Bump changelog. [Raphaël Vinot] + - Re-add ExpandedPyMISP, with a warning. [Raphaël Vinot] + - Fix + - Do not throw a warning every time one import pymisp... [Raphaël Vinot] + - Other + - Build(deps): bump codecov/codecov-action from 3 to 4. + [dependabot[bot]] + Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. + - [Release notes](https://github.com/codecov/codecov-action/releases) + - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) + - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) + --- + updated-dependencies: + - dependency-name: codecov/codecov-action + dependency-type: direct:production + update-type: version-update:semver-major + ... +- update to version 2.4.184.1: + - Changes + - Bump changelog. [Raphaël Vinot] + - Re-add ExpandedPyMISP, with a warning. [Raphaël Vinot] +- update to version 2.4.184: + - New + - Enable support for python 3.12. [Raphaël Vinot] + - Relationship_type in tag. [Raphaël Vinot] + Fix https://github.com/MISP/MISP/issues/9483 + - [internal] Add support for orjson. [Jakub Onderka] + orjson is much faster library for decoding and encoding JSON formats + - Changes + - Bump changelog. [Raphaël Vinot] ++++ 424 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-pymisp/python-pymisp.changes ++++ and /work/SRC/openSUSE:Factory/.python-pymisp.new.2017/python-pymisp.changes Old: ---- python-pymisp-2.4.170.2.tar.gz New: ---- python-pymisp-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymisp.spec ++++++ --- /var/tmp/diff_new_pack.efva72/_old 2024-11-15 15:43:53.548055616 +0100 +++ /var/tmp/diff_new_pack.efva72/_new 2024-11-15 15:43:53.548055616 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pymisp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,9 @@ %define skip_python2 1 -%define misp_objects_revision 45bb7539a0067e23b709d082c18dcba56c34bfce +%define misp_objects_revision 83271573312aebce971a0cf7ffbd04e784a58de3 Name: python-pymisp -Version: 2.4.170.2 +Version: 2.5.1 Release: 0 Summary: Python API for MISP License: BSD-2-Clause @@ -34,10 +34,12 @@ Source2: update-misp-objects.sh Source3: python-pymisp-doc-rpmlintrc BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-jsonschema >= 4.18.4 Recommends: python-oletools Requires: python-Deprecated >= 1.2.14 Requires: python-python-dateutil >= 2.8.2 @@ -60,7 +62,6 @@ BuildArch: noarch # SECTION tests BuildRequires: %{python_module Deprecated >= 1.2.14} -BuildRequires: %{python_module jsonschema >= 4.18.4} BuildRequires: %{python_module oletools} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.8.2} @@ -76,6 +77,7 @@ BuildRequires: python3-sphinx-autodoc-typehints # /SECTION %python_subpackages +%{?python_enable_dependency_generator} %package -n %{name}-doc Summary: Examples and Documentation for %{name} @@ -94,10 +96,14 @@ %setup -T -D -b 1 -n PyMISP-%{version} mv ../misp-objects-*/* pymisp/data/misp-objects/ find pymisp examples -name "*.py" -type f -exec sed -i '1s/^#!.*//' '{}' \+ -find examples -name "*.py" -type f -exec chmod -x '{}' \+ +find examples pymisp/data/misp-objects pymisp/tools -name "*.py" -type f -exec chmod -x '{}' \+ +# https://github.com/MISP/PyMISP/issues/1295 +sed -i '/CHANGELOG.txt/d' pyproject.toml +# remove the date from python-publicsuffixlist's version. the package python-publicsuffixlist in openSUSE uses the suffix list from the package publicsuffixlist, not the list packaged by python-publicsuffixlist +sed -i -r '/publicsuffixlist/ s/(version *= *"\^[0-9]+\.[0-9]\.[0-9]+)\.[0-9]{8}/\1/' pyproject.toml %build -%python_build +%pyproject_wheel pushd docs export LANG=en_US.UTF-8 make %{?_smp_mflags} html @@ -105,7 +111,7 @@ popd %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check ++++++ misp-objects.tar.gz ++++++ ++++ 7339 lines of diff (skipped) ++++++ python-pymisp-2.4.170.2.tar.gz -> python-pymisp-2.5.1.tar.gz ++++++ ++++ 18190 lines of diff (skipped) ++++++ python-pymisp-doc-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.efva72/_old 2024-11-15 15:43:53.972073376 +0100 +++ /var/tmp/diff_new_pack.efva72/_new 2024-11-15 15:43:53.976073543 +0100 @@ -1,2 +1,2 @@ -addFilter("python-pymisp-doc.noarch: W: zero-length /usr/share/doc/packages/python-pymisp-doc/examples/feed-generator/output/empty") +addFilter("python-pymisp-doc.noarch: E: zero-length /usr/share/doc/packages/python-pymisp-doc/examples/feed-generator/output/empty") ++++++ update-misp-objects.sh ++++++ --- /var/tmp/diff_new_pack.efva72/_old 2024-11-15 15:43:53.992074214 +0100 +++ /var/tmp/diff_new_pack.efva72/_new 2024-11-15 15:43:53.996074381 +0100 @@ -1,10 +1,12 @@ #!/bin/bash +set -x + version=$(awk '/^Version:/ {print $2}' python-pymisp.spec) echo "Detected version $version" revision=$(wget "https://github.com/MISP/PyMISP/tree/v$version/pymisp/data" -O - | awk '/\/MISP\/misp-objects\/tree\//' | grep -Eo 'misp-objects/tree/[[:alnum:]]{40}' | egrep -Eo "[[:alnum:]]{40}") echo "Detected revision $revision" -sed -i "s/^\%define misp_objects_revision.*$/%define misp_objects_revision $revision/" python-pymisp.spec +sed -i "s/^\%define misp_objects_revision.*$/%define misp_objects_revision ${revision}/" python-pymisp.spec rm misp-objects.tar.gz osc service runall download_files