Content-Length: 340640 | pFad | http://github.com/opencv/opencv-python/commit/fdcbcb11ade547f1dde9116ddb5af925616be32c

4E Added lowest numpy version support instead of latest · opencv/opencv-python@fdcbcb1 · GitHub
Skip to content

Commit fdcbcb1

Browse files
author
Andrey Senyaev
committed
Added lowest numpy version support instead of latest
1 parent 4d0f6d2 commit fdcbcb1

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/build_wheels_linux_arm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Setup Environment variables
6565
run: |
6666
if [ "ARM64" == "${{ matrix.os }}" ]; then echo "PLAT=aarch64" >> $GITHUB_ENV; fi
67-
if [ "3.6" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; fi
67+
if [ "3.10" == "${{ matrix.python-version }}" ]; then echo "TEST_DEPENDS=$(echo $NP_TEST_DEP_LATEST)" >> $GITHUB_ENV; else echo "TEST_DEPENDS=$(echo $NP_TEST_DEP)" >> $GITHUB_ENV; fi
6868
6969
- name: build
7070
run: source scripts/build.sh

pyproject.toml

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
requires = [
33
"setuptools", "wheel", "scikit-build", "cmake", "pip",
44
"numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
5-
"numpy==1.19.3; python_version=='3.6' and sys_platform == 'linux' and platform_machine == 'aarch64'",
6-
"numpy==1.21.2; python_version>='3.6' and sys_platform == 'darwin' and platform_machine == 'arm64'",
7-
"numpy==1.21.2; python_version>='3.7' and sys_platform == 'linux' and platform_machine == 'aarch64'",
85
"numpy==1.14.5; python_version=='3.7' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
96
"numpy==1.17.3; python_version=='3.8' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
10-
"numpy==1.21.2; python_version>='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
11-
"numpy==1.21.2; python_version>='3.10' and platform_machine != 'aarch64' and platform_machine != 'arm64'"
7+
"numpy==1.19.3; python_version<='3.9' and sys_platform == 'linux' and platform_machine == 'aarch64'",
8+
"numpy==1.21.0; python_version<='3.9' and sys_platform == 'darwin' and platform_machine == 'arm64'",
9+
"numpy==1.19.3; python_version=='3.9' and platform_machine != 'aarch64' and platform_machine != 'arm64'",
10+
"numpy==1.21.2; python_version>='3.10'"
1211
]

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main():
2929
if sys.version_info[:2] >= (3, 8):
3030
minimum_supported_numpy = "1.17.3"
3131
if sys.version_info[:2] >= (3, 9):
32-
minimum_supported_numpy = "1.21.2"
32+
minimum_supported_numpy = "1.19.3"
3333
if sys.version_info[:2] >= (3, 10):
3434
minimum_supported_numpy = "1.21.2"
3535

@@ -39,7 +39,7 @@ def main():
3939

4040
# macos arm64 is a special case
4141
if sys.platform == "darwin" and sys.version_info[:2] >= (3, 6) and platform.machine() == "arm64":
42-
minimum_supported_numpy = "1.21.2"
42+
minimum_supported_numpy = "1.21.0"
4343

4444
numpy_version = "numpy>=%s" % minimum_supported_numpy
4545

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/opencv/opencv-python/commit/fdcbcb11ade547f1dde9116ddb5af925616be32c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy