8000 BLD Adds max numpy version for python=3.6 by thomasjpfan · Pull Request #18992 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

BLD Adds max numpy version for python=3.6 #18992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sklearn/_min_dependencies.py
70EA
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
for extra in extras.split(', '):
tag_to_packages[extra].append("{}>={}".format(package, min_version))

# extra dependencies
extra_dependencies = {'numpy': 'numpy<1.20; python_version == "3.6"'}
for package, extra_dep in extra_dependencies.items():
extras = dependent_packages[package][1]
for extra in extras.split(', '):
tag_to_packages[extra].append(extra_dep)

# Used by CI to get the min dependencies
if __name__ == '__main__':
Expand Down
0