1
0
Files
python-jsonpickle/enable_gmpy_test.patch
Markéta Machová 0dbe49c03c Accepting request 1136563 from home:alarrosa:branches:devel:languages:python
- Add patch to enable the gmpy test correctly:
  * enable_gmpy_test.patch
- Disable BuildRequies pandas and scikit-learn in SLE where
  they're not available and only used for tests
- Use python-bson instead of python-pymongo in SLE
- Do not search for tests recursively in SLE but explicitly name
  the directory/files containing tests. This solves an issue
  building the package without pandas in SLE.

OBS-URL: https://build.opensuse.org/request/show/1136563
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpickle?expand=0&rev=30
2024-01-03 18:52:52 +00:00

13 lines
363 B
Diff

Index: jsonpickle-3.0.2/tests/ecdsa_test.py
===================================================================
--- jsonpickle-3.0.2.orig/tests/ecdsa_test.py
+++ jsonpickle-3.0.2/tests/ecdsa_test.py
@@ -7,6 +7,7 @@ import pytest
from helper import SkippableTest
import jsonpickle
+import jsonpickle.ext.gmpy
@pytest.fixture(scope='module', autouse=True)