Skip to content

Commit 9abdd16

Browse files
committed
install now fails when being run with python 3.11
Signed-off-by: Peter Steinbach <[email protected]>
1 parent d28ce96 commit 9abdd16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"torch>=1.3",
99
"numpy",
1010
"scipy",
11-
"lie_learn; python_version < "3.11"",
11+
"lie_learn",
1212
"joblib",
1313
"pymanopt",
1414
"autograd",
@@ -17,7 +17,7 @@
1717

1818

1919
setup_requires = [""]
20-
tests_require = ["scikit-learn", "scikit-image", "matplotlib" ]
20+
tests_require = ["scikit-learn", "scikit-image", "matplotlib"]
2121

2222
with open("README.md", "r", encoding="utf-8") as f:
2323
long_description = f.read()
@@ -38,7 +38,7 @@
3838
long_description=long_description,
3939
long_description_content_type="text/markdown",
4040
packages=find_packages(exclude=["test", "test.*"]),
41-
python_requires=">=3.7",
41+
python_requires=">=3.7, <3.11",
4242
keywords=[
4343
"pytorch",
4444
"cnn",
@@ -50,9 +50,9 @@
5050
"Programming Language :: Python :: 3",
5151
"Programming Language :: Python :: 3.7",
5252
"Programming Language :: Python :: 3.8",
53-
"Programming Language :: Python :: 3.9",
53+
"Programming Language :: Python :: 3.9",
5454
"Programming Language :: Python :: 3.10",
55-
],
55+
],
5656
install_requires=install_requires,
5757
setup_requires=setup_requires,
5858
tests_require=tests_require,

0 commit comments

Comments
 (0)