Skip to content

Commit 4f6fb0d

Browse files
committed
Added numpy 2.4 and python 3.14 to CI test.
1 parent a7ca41e commit 4f6fb0d

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

.github/workflows/build_wheels_macos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
fail-fast: false
100100
matrix:
101-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
101+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
102102
platform: [x64]
103103
with_contrib: [0, 1]
104104
without_gui: [0, 1]
@@ -107,7 +107,7 @@ jobs:
107107
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
108108
MB_PYTHON_VERSION: ${{ matrix.python-version }}
109109
NP_TEST_DEP: numpy==1.19.4
110-
NP_TEST_DEP_LATEST: numpy==2.2.6
110+
NP_TEST_DEP_LATEST: numpy==2.3.2
111111
CONFIG_PATH: travis_config.sh
112112
PLAT: x86_64
113113
OPENCV_TEST_DATA_PATH: ${{ github.workspace }}/opencv_extra/testdata
@@ -127,7 +127,7 @@ jobs:
127127
python-version: ${{ matrix.python-version }}
128128
architecture: ${{ matrix.platform }}
129129
- name: Setup Environment variables
130-
run: if ["3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ 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
130+
run: if ["3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" -o "3.14" == "${{ 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
131131
- name: Download a wheel accordingly to matrix
132132
uses: actions/download-artifact@v4
133133
with:

.github/workflows/build_wheels_macos_m1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
strategy:
6969
fail-fast: false
7070
matrix:
71-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
71+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
7272
platform: [x64]
7373
with_contrib: [0, 1]
7474
without_gui: [0, 1]

.github/workflows/build_wheels_manylinux.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
strategy:
9494
fail-fast: false
9595
matrix:
96-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
96+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
9797
platform: [x86_64, aarch64]
9898
manylinux: [2014, 2_28]
9999
with_contrib: [0, 1]
@@ -104,7 +104,7 @@ jobs:
104104
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
105105
MB_PYTHON_VERSION: ${{ matrix.python-version }}
106106
NP_TEST_DEP: numpy==1.19.4
107-
NP_TEST_DEP_LATEST: numpy==2.2.6
107+
NP_TEST_DEP_LATEST: numpy==2.3.2
108108
CONFIG_PATH: travis_config.sh
109109
PLAT: ${{ matrix.platform }}
110110
SDIST: ${{ matrix.build_sdist || 0 }}
@@ -122,7 +122,7 @@ jobs:
122122
fetch-depth: 0
123123

124124
- name: Setup Environment variables
125-
run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ 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
125+
run: if [ "3.10" == "${{ matrix.python-version }}" -o "3.11" == "${{ matrix.python-version }}" -o "3.12" == "${{ matrix.python-version }}" -o "3.13" == "${{ matrix.python-version }}" -o "3.14" == "${{ 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
126126
- name: Download a wheel accordingly to matrix
127127
uses: actions/download-artifact@v4
128128
with:
@@ -152,7 +152,6 @@ jobs:
152152
MB_PYTHON_VERSION: ${{ matrix.python-version }}
153153
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
154154
MB_ML_VER: 2014
155-
NP_TEST_DEP: numpy==1.19.4
156155
TRAVIS_BUILD_DIR: ${{ github.workspace }}
157156
CONFIG_PATH: travis_config.sh
158157
DOCKER_IMAGE: quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20260102

.github/workflows/build_wheels_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
strategy:
8585
fail-fast: false
8686
matrix:
87-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
87+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
8888
platform: [x86, x64]
8989
with_contrib: [0, 1]
9090
without_gui: [0, 1]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ requires = [
33
"numpy<2.0; python_version<'3.9'",
44
"numpy==2.0.2; python_version>='3.9' and python_version<'3.13'",
55
"numpy==2.1.3; python_version=='3.13'",
6+
"numpy==2.3.2; python_version=='3.14'",
67
"packaging",
78
"pip",
89
"scikit-build>=0.14.0",

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ def main():
298298
"Programming Language :: Python :: 3.11",
299299
"Programming Language :: Python :: 3.12",
300300
"Programming Language :: Python :: 3.13",
301+
"Programming Language :: Python :: 3.14",
301302
"Programming Language :: C++",
302303
"Programming Language :: Python :: Implementation :: CPython",
303304
"Topic :: Scientific/Engineering",

0 commit comments

Comments
 (0)