pymisp 2.5.2.dev1__py3-none-any.whl → 2.5.2.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pymisp might be problematic. Click here for more details.

pymisp/api.py CHANGED
@@ -216,8 +216,8 @@ class PyMISP:
216
216
  if 'errors' in response:
217
217
  logger.warning(response['errors'][0])
218
218
  else:
219
- pymisp_version_tup = tuple(int(x) for x in __version__.split('.'))
220
- recommended_version_tup = tuple(int(x) for x in response['version'].split('.'))
219
+ pymisp_version_tup = tuple(int(x) for x in __version__.split('.')[:3])
220
+ recommended_version_tup = tuple(int(x) for x in response['version'].split('.')[:3])
221
221
  if recommended_version_tup < pymisp_version_tup[:3]:
222
222
  logger.info(f"The version of PyMISP recommended by the MISP instance ({response['version']}) is older than the one you're using now ({__version__}). If you have a problem, please upgrade the MISP instance or use an older PyMISP version.")
223
223
  elif pymisp_version_tup[:3] < recommended_version_tup:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pymisp
3
- Version: 2.5.2.dev1
3
+ Version: 2.5.2.dev2
4
4
  Summary: Python API for MISP.
5
5
  Home-page: https://github.com/MISP/PyMISP
6
6
  License: BSD-2-Clause
@@ -1,6 +1,6 @@
1
1
  pymisp/__init__.py,sha256=NxD9URYrwmEvYsZdUDTtBqBuIsvzRjXnRr8QVPsuOGE,4004
2
2
  pymisp/abstract.py,sha256=hdf3heAGnEi3rFIxaAsCOKfO4Y1kT_UoDNpr564GiIk,15745
3
- pymisp/api.py,sha256=zPdJQ3SGmVnANqttYCjNdVaz8CSeo461qAGPPeD6oy4,207815
3
+ pymisp/api.py,sha256=WIPtuepWtmyfXdi0zsLwKSXpXNhoM6QSnh7_n2nAYMY,207823
4
4
  pymisp/data/describeTypes.json,sha256=hoOy6U_FDVmfk9EdaFgGfEe_GMifmRnIrW8FAJ1ylJ4,45889
5
5
  pymisp/data/misp-objects/.git,sha256=NZIIWPWRiUFN6wy7MhT0zLzu8WP8PKqbMxWaO0by0dY,55
6
6
  pymisp/data/misp-objects/.gitchangelog.rc,sha256=27iB5X06HaLaMpDdZWMkg_YWLyZRm9H1qBOsqFntuV0,10009
@@ -412,7 +412,7 @@ pymisp/tools/update_objects.py,sha256=sp_XshzgtRjAU0Mqg8FgRTaokjVKLImyQ02xIcPSrH
412
412
  pymisp/tools/urlobject.py,sha256=PIucy1356zaljUm1NbeKmEpHpAUK9yiK2lAugcMp2t8,2489
413
413
  pymisp/tools/vehicleobject.py,sha256=bs7f4d47IBi2-VumssSM3HlqkH0viyHTLmIHQxe8Iz8,3687
414
414
  pymisp/tools/vtreportobject.py,sha256=NsdYzgqm47dywYeW8UnWmEDeIsf07xZreD2iJzFm2wg,3217
415
- pymisp-2.5.2.dev1.dist-info/LICENSE,sha256=1oPSVvs96qLjbJVi3mPn0yvWs-6aoIF6BNXi6pVlFmY,1615
416
- pymisp-2.5.2.dev1.dist-info/METADATA,sha256=izTMWvW_GKuVSzP0oewtxgRRh28zOAoy0G0WDmhsxmc,9171
417
- pymisp-2.5.2.dev1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
418
- pymisp-2.5.2.dev1.dist-info/RECORD,,
415
+ pymisp-2.5.2.dev2.dist-info/LICENSE,sha256=1oPSVvs96qLjbJVi3mPn0yvWs-6aoIF6BNXi6pVlFmY,1615
416
+ pymisp-2.5.2.dev2.dist-info/METADATA,sha256=2hE8KJk5K9nOvJAu2KIjv2LLAa0Y1LERtiDzNEIrc2c,9171
417
+ pymisp-2.5.2.dev2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
418
+ pymisp-2.5.2.dev2.dist-info/RECORD,,