Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
e12f6113
Unverified
Commit
e12f6113
authored
Dec 05, 2020
by
Yuge Zhang
Committed by
GitHub
Dec 05, 2020
Browse files
Fix numpy version for Python 3.6 (#3156)
* Fix numpy version for Python 3.6 * Limit version on Windows to <1.19.4
parent
20eecf0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
setup.py
setup.py
+4
-0
No files found.
setup.py
View file @
e12f6113
...
@@ -77,6 +77,10 @@ dependencies = [
...
@@ -77,6 +77,10 @@ dependencies = [
'prettytable'
'prettytable'
]
]
if
sys
.
platform
==
'win32'
:
dependencies
[
dependencies
.
index
(
'numpy'
)]
=
'numpy<1.19.4'
elif
sys
.
version_info
<
(
3
,
7
):
dependencies
[
dependencies
.
index
(
'numpy'
)]
=
'numpy<1.20'
release
=
os
.
environ
.
get
(
'NNI_RELEASE'
)
release
=
os
.
environ
.
get
(
'NNI_RELEASE'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment