Skip to content

Commit d1f0078

Browse files
authored
Support for srsly 3.0 (#6)
1 parent 1fa649b commit d1f0078

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

ml_datasets/loaders/mnist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import random
22
import zipfile
33
import gzip
4+
5+
import cloudpickle as pickle
46
import numpy as np
5-
from srsly import cloudpickle as pickle
67

78
from ..util import unzip, to_categorical, get_file
89
from .._registry import register_loader

ml_datasets/loaders/reuters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from srsly import cloudpickle as pickle
1+
import cloudpickle as pickle
22
import numpy
33

44
from ..util import get_file

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
cloudpickle>=2.2
12
numpy>=1.7.0
23
scipy>=1.7.0
34
tqdm>=4.10.0,<5.0.0
45
# Our libraries
5-
srsly>=1.0.1,<3.0.0
6+
srsly>=1.0.1,<4.0.0
67
catalogue>=0.2.0,<3.0.0

setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
version = 0.2.0
2+
version = 0.2.1
33
description = Machine Learning dataset loaders
44
url = https://github.com/explosion/ml-datasets
55
author = Explosion
@@ -13,10 +13,11 @@ zip_safe = true
1313
include_package_data = true
1414
python_requires = >=3.6
1515
install_requires =
16+
cloudpickle>=2.2
1617
numpy>=1.7.0
1718
tqdm>=4.10.0,<5.0.0
1819
# Our libraries
19-
srsly>=1.0.1,<3.0.0
20+
srsly>=1.0.1,<4.0.0
2021
catalogue>=0.2.0,<3.0.0
2122

2223
[options.entry_points]

0 commit comments

Comments
 (0)