Hello community,

here is the log from the commit of package python-pymisp for openSUSE:Factory 
checked in at 2020-01-25 13:25:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymisp (Old)
 and      /work/SRC/openSUSE:Factory/.python-pymisp.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pymisp"

Sat Jan 25 13:25:28 2020 rev:21 rq:767033 version:2.4.120

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymisp/python-pymisp.changes      
2020-01-06 15:24:33.224554353 +0100
+++ /work/SRC/openSUSE:Factory/.python-pymisp.new.26092/python-pymisp.changes   
2020-01-25 13:25:35.128074033 +0100
@@ -1,0 +2,53 @@
+Sat Jan 18 09:59:31 UTC 2020 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- drop python2, not supported anymore upstream
+- add fix-tests-template-version.patch from upstream commit to fix tests
+- update to version 2.4.120:
+ - New
+   - [attribute type] kusto-query attribute type. [Alexandre Dulaunoy]
+     Kusto query is the query language for the Kusto services in Azure used
+     to search large dataset. It's used in Windows Defender ATP Hunting-Queries
+     and also Azure Sentinel (Cloud-native SIEM).
+   - Remove python < 3.6 support. [Raphaël Vinot]
+ - Changes
+   - Bump version. [Raphaël Vinot]
+   - Bump Changelog. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump dependencies, add debug. [Raphaël Vinot]
+   - Upate dummy events creator. [Raphaël Vinot]
+   - Add tests on more version of Python. [Raphaël Vinot]
+   - Search with the STIX output returns a json STIX. [Raphaël Vinot]
+     Was XML before.
+   - Bump dependencies. [Raphaël Vinot]
+   - Add more typing information. [Raphaël Vinot]
+   - Add typing markup. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+   - Bump Dependencies. [Raphaël Vinot]
+   - Bump misp-objects. [Raphaël Vinot]
+ - Fix
+   - Add missing variable in dummy creator. [Raphaël Vinot]
+   - Et2misp was python2 only. [Raphaël Vinot]
+   - Feed generator was broken. [Raphaël Vinot]
+     Fix #506
+   - Event without hashable attribute. [Raphaël Vinot]
+     Related #506
+ - Other
+   - Update api.py. [AaronK]
+     minor typo, can;t help it noticing those. sorry,
+   - Fixed TODO, added quarantineFolder/quarantineRule from
+     messagesBlocked, added some error handling to prevent empty attributes
+     from trying to be added. [th3jiv3r]
+   - Scrape proofpoint tap api for messages blocked/delivered & clicks
+     blocked/permitted  and create misp events. [th3jiv3r]
+   - Add variable for proofpoint tap api auth. [th3jiv3r]
+   - Update README.md. [AaronK]
+     minor typo
+   - Define the number of entries to output. [AndreC10002]
+     Allow for defining in the settings.py file the number of entries to output
+   - Update generate.py. [AndreC10002]
+   - Cleanup of code and 'quick-n-dirty' sanitizing of tags. [Koen Van
+     Impe]
+   - Sync. [Koen Van Impe]
+   - Update README.md. [Raphaël Vinot]
+
+-------------------------------------------------------------------

Old:
----
  pymisp-2.4.119.1.tar.gz

New:
----
  fix-tests-template-version.patch
  pymisp-2.4.120.tar.gz

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

Other differences:
------------------
++++++ python-pymisp.spec ++++++
--- /var/tmp/diff_new_pack.XEHX9l/_old  2020-01-25 13:25:35.936074386 +0100
+++ /var/tmp/diff_new_pack.XEHX9l/_new  2020-01-25 13:25:35.936074386 +0100
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-pymisp
-Version:        2.4.119.1
+Version:        2.4.120
 Release:        0
 Summary:        Python API for MISP
 License:        BSD-2-Clause
@@ -27,6 +28,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/pymisp/pymisp-%{version}.tar.gz
 # Internal script for generating changelog
 Source1:        changelog.sh
+Patch0:         
https://github.com/MISP/PyMISP/commit/acaf56b88832edaa8801b1dbcc6281a43867e532.patch#/fix-tests-template-version.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -76,6 +78,7 @@
 
 %prep
 %setup -q -n pymisp-%{version}
+%patch0 -p1
 find pymisp examples -name "*.py" -type f -exec sed -i '1s/^#!.*//' '{}' \+
 
 %build
@@ -91,8 +94,6 @@
 %{python_expand %fdupes %{buildroot}%{$python_sitelib}}
 
 %check
-# Requires internet access and a MISP-instance
-rm tests/test.py
 %python_exec setup.py test
 
 %files %{python_files}

++++++ fix-tests-template-version.patch ++++++
>From acaf56b88832edaa8801b1dbcc6281a43867e532 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= <raph...@vinot.info>
Date: Fri, 17 Jan 2020 15:20:56 +0100
Subject: [PATCH] fix: Bump template_version in test cases

---
 tests/mispevent_testfiles/event_obj_attr_tag.json  | 2 +-
 tests/mispevent_testfiles/event_obj_def_param.json | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/mispevent_testfiles/event_obj_attr_tag.json 
b/tests/mispevent_testfiles/event_obj_attr_tag.json
index aa15b830..42d544de 100644
--- a/tests/mispevent_testfiles/event_obj_attr_tag.json
+++ b/tests/mispevent_testfiles/event_obj_attr_tag.json
@@ -30,7 +30,7 @@
       "name": "file",
       "sharing_group_id": "0",
       "template_uuid": "688c46fb-5edb-40a3-8273-1af7923e2215",
-      "template_version": "18",
+      "template_version": "19",
       "uuid": "a"
     },
     {
diff --git a/tests/mispevent_testfiles/event_obj_def_param.json 
b/tests/mispevent_testfiles/event_obj_def_param.json
index 2f6dd2b3..d80cf95e 100644
--- a/tests/mispevent_testfiles/event_obj_def_param.json
+++ b/tests/mispevent_testfiles/event_obj_def_param.json
@@ -30,7 +30,7 @@
       "name": "file",
       "sharing_group_id": "0",
       "template_uuid": "688c46fb-5edb-40a3-8273-1af7923e2215",
-      "template_version": "18",
+      "template_version": "19",
       "uuid": "a"
     },
     {
@@ -55,7 +55,7 @@
       "name": "file",
       "sharing_group_id": "0",
       "template_uuid": "688c46fb-5edb-40a3-8273-1af7923e2215",
-      "template_version": "18",
+      "template_version": "19",
       "uuid": "b"
     }
   ]
++++++ pymisp-2.4.119.1.tar.gz -> pymisp-2.4.120.tar.gz ++++++
++++ 10928 lines of diff (skipped)


Reply via email to