Skip to content

Commit 4aa08a0

Browse files
committed
fix numpy version for deprecation of np.float, np.int, np.bool etc
1 parent 6cc98fc commit 4aa08a0

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
torch>=1.1
2-
numpy
2+
numpy<1.24
33
scipy
44
sympy
55
pymanopt

setup.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
2-
from setuptools import setup, find_packages
1+
from setuptools import find_packages, setup
32

43
about = {}
54
with open("e2cnn/__about__.py") as fp:
65
exec(fp.read(), about)
76

87
install_requires = [
9-
'torch',
10-
'numpy',
11-
'scipy',
12-
'sympy',
8+
"torch",
9+
"numpy<1.24",
10+
"scipy",
11+
"sympy",
1312
]
1413

1514

1615
setup_requires = []
17-
tests_require = ['scikit-learn', 'scikit-image']
16+
tests_require = ["scikit-learn", "scikit-image"]
1817
extras_require = {
1918
# 'RBF-FD and Gaussians': ['cython', 'RBF @ git+https://github.com/treverhines/RBF']
2019
}
2120

22-
with open("README.md", 'r', encoding='utf-8') as f:
21+
with open("README.md", "r", encoding="utf-8") as f:
2322
long_description = f.read()
2423

25-
download_url = 'https://github.com/QUVA-Lab/e2cnn/archive/v{}.tar.gz'.format(about['__version__'])
24+
download_url = "https://github.com/QUVA-Lab/e2cnn/archive/v{}.tar.gz".format(
25+
about["__version__"]
26+
)
2627

2728
setup(
28-
name=about['__title__'],
29-
version=about['__version__'],
30-
description=about['__summary__'],
31-
author=about['__author__'],
32-
author_email=about['__email__'],
33-
url=about['__url__'],
29+
name=about["__title__"],
30+
version=about["__version__"],
31+
description=about["__summary__"],
32+
author=about["__author__"],
33+
author_email=about["__email__"],
34+
url=about["__url__"],
3435
download_url=download_url,
35-
license=about['__license__'],
36+
license=about["__license__"],
3637
long_description=long_description,
3738
long_description_content_type="text/markdown",
38-
packages=find_packages(exclude=['test', 'test.*']),
39-
python_requires='>=3.7',
39+
packages=find_packages(exclude=["test", "test.*"]),
40+
python_requires=">=3.7",
4041
keywords=[
41-
'pytorch',
42-
'cnn',
43-
'convolutional-networks'
44-
'equivariant',
45-
'isometries',
42+
"pytorch",
43+
"cnn",
44+
"convolutional-networks" "equivariant",
45+
"isometries",
4646
],
4747
install_requires=install_requires,
4848
setup_requires=setup_requires,

0 commit comments

Comments
 (0)