Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3ec7ac6
Create Dockerfile_x86_64
avdivan Jul 31, 2025
7bd1825
allow numpy>2
braingram Sep 11, 2025
18249e5
New manylinux_2_28 based invironment (#1148)
asmorkalov Dec 8, 2025
0795a08
manylinux_2_28 pipelines
avdivan Dec 10, 2025
55f1129
Update OpenCV to current 4.x branch. (#1161)
asmorkalov Dec 10, 2025
47c1307
Merge pull request #1133 from avdivan/4.x
asmorkalov Dec 11, 2025
2ff0bf8
Added Musllinux environment for ARM.
asmorkalov Dec 11, 2025
cb22e27
Removed duplicated ARM builds.
asmorkalov Dec 11, 2025
5e9cb9b
Merge pull request #1162 from asmorkalov/as/cleanup_linux_ci
asmorkalov Dec 11, 2025
81b4c07
Merge pull request #1142 from braingram/unpin_numpy
asmorkalov Dec 11, 2025
5dd66a1
Update submodules to release 4.13.0
asmorkalov Jan 1, 2026
a31042f
Merge pull request #1171 from asmorkalov:as/submodules_4.13.0
asmorkalov Jan 2, 2026
c6101c4
Cherry-pick Numpy 2.4.x types fix.
asmorkalov Jan 6, 2026
d098302
Dependencies update for 4.13.0 release.
asmorkalov Jan 2, 2026
1a2d0f6
Merge pull request #1175 from asmorkalov:as/numpy24_types
asmorkalov Jan 6, 2026
a7ca41e
Merge pull request #1173 from asmorkalov:as/dependencies_update_4.13.0
asmorkalov Jan 7, 2026
66e3128
Switched MacOS Intel builds to own host.
asmorkalov Jan 7, 2026
bfb85dc
Merge pull request #1177 from asmorkalov:as/own_mac_intel
asmorkalov Jan 14, 2026
8e765e8
Added Python 3.14 support to CI.
asmorkalov Jan 14, 2026
6cb94ce
Merge pull request #1179 from asmorkalov:as/python_3.14
asmorkalov Jan 15, 2026
7f792fe
Add KAZE and AKAZE license
Kumataro Jan 21, 2026
9faa612
Merge pull request #1187 from Kumataro:develop/append_KAZE_and_AKAZE
asmorkalov Jan 22, 2026
e42eb55
Disable libavdevice for headless builds on Linux to get rid of X libs…
asmorkalov Jan 23, 2026
0dd09ec
Merge pull request #1189 from asmorkalov:as/disable_libavdevice_headless
asmorkalov Jan 27, 2026
5611d66
Fixed upload path in twine release.
asmorkalov Feb 2, 2026
4ddfc01
Merge pull request #1200 from asmorkalov:as/twine_upload_fix
asmorkalov Feb 3, 2026
9914d1e
Fixed project naming to generate proper sdist archive names.
asmorkalov Feb 5, 2026
0d3e751
Add Python 3.14 support in README
stackaditi May 3, 2026
0608ac1
Update README to include Python 3.14
MaulikMhatre May 13, 2026
1ddb20b
Merge pull request #1230 from avdivan:update
avdivan Jun 9, 2026
fcf954e
Bump ffmpeg to 8.1.1 in manylinux2014 i686 build
MDSALMANSHAMS Jun 9, 2026
e8ca24b
Added tests with Python 3.14. (#1232)
asmorkalov Jun 18, 2026
19ba8ad
Merge pull request #1227 from MaulikMhatre:update-readme-py314
asmorkalov Jun 18, 2026
5b05b60
Switch to Windows 2022 to use the same Visual Studio.
asmorkalov Jun 19, 2026
ac3082d
Merge pull request #1236 from asmorkalov:as/windows_4.x
asmorkalov Jun 19, 2026
e6f59cd
Merge pull request #1203 from asmorkalov:as/sdist_naming
asmorkalov Jun 26, 2026
1cf6186
Merge pull request #1220 from stackaditi:4.x
asmorkalov Jun 26, 2026
4ecc30f
Merge pull request #1233 from MDSALMANSHAMS/bump-i686-ffmpeg-8.1.1
asmorkalov Jul 2, 2026
fda955e
Standard github actions stetps update.
asmorkalov Jun 30, 2026
1294acd
Numpy package update for testing on Linux
asmorkalov Jun 29, 2026
21663a4
Merge pull request #1245 from asmorkalov:as/standard_steps_update_4.x
asmorkalov Jul 10, 2026
ed685ab
Merge pull request #1246 from asmorkalov:as/numpy_update_for_test_4.x
asmorkalov Jul 10, 2026
f1fd032
Merge remote-tracking branch 'upstream/4.x' into merge-upstream-4.13
Breakthrough Jul 12, 2026
f2c1edd
[build] Pin runners to windows-2022 (windows-2025 dropped VS2022 for …
Breakthrough Jul 12, 2026
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
16 changes: 9 additions & 7 deletions .github/workflows/build_wheels_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
cuda-version: ['12']
include:
# CUDA 12: Supports Maxwell (5.0) through Blackwell (10.0)
# NOTE: windows-2025 images now ship Visual Studio 2026 (v18) without VS2022,
# which CUDA 12.9 nvcc cannot use as host compiler; windows-2022 keeps VS2022 (v143).
- cuda-version: '12'
runs-on: 'windows-2025'
runs-on: 'windows-2022'
cuda-installer: 'cuda_12.9.1_windows_network.exe'
cuda-path-version: 'v12.9'
cudnn-archive: 'cudnn-windows-x86_64-9.18.1.3_cuda12-archive.zip'
Expand All @@ -57,7 +59,7 @@ jobs:
# TODO: Re-enable CUDA 13 after updating to OpenCV 4.13+
# CUDA 13: Supports Turing (7.5) through Blackwell (12.0)
# - cuda-version: '13'
# runs-on: 'windows-2025'
# runs-on: 'windows-2022'
# cuda-installer: 'cuda_13.1.1_windows_network.exe'
# cuda-path-version: 'v13.1'
# cudnn-archive: 'cudnn-windows-x86_64-9.18.1.3_cuda13-archive.zip'
Expand All @@ -84,7 +86,7 @@ jobs:
rm -rf ./.??* || true
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
submodules: false
fetch-depth: 0
Expand Down Expand Up @@ -220,14 +222,14 @@ jobs:
path: _skbuild
key: ${{ runner.os }}-${{ matrix.python-version }}-cuda${{ matrix.cuda-version }}-${{ hashFiles('**/CMakeLists.txt') }}
- name: Saving all wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: wheel-cuda${{ matrix.cuda-version }}-${{ matrix.platform }}
path: wheelhouse/opencv*

Test:
needs: [Build]
runs-on: windows-2025
runs-on: windows-2022
defaults:
run:
shell: cmd
Expand All @@ -249,7 +251,7 @@ jobs:
rm -rf ./.??* || true
working-directory: ${{ github.workspace }}
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
submodules: true
fetch-depth: 0
Expand All @@ -259,7 +261,7 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.platform }}
- name: Download a wheel accordingly to matrix
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: wheel-cuda${{ matrix.cuda-version }}-${{ matrix.platform }}
path: wheelhouse/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache_nvidia_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
cache-deps:
runs-on: windows-2025
runs-on: windows-2022
strategy:
matrix:
include:
Expand Down
62 changes: 62 additions & 0 deletions LICENSE-3RD-PARTY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4888,3 +4888,65 @@ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

------------------------------------------------------------------------------

KAZE Features library is redistributed within all opencv-python packages.

Copyright (c) 2012, Pablo Fernández Alcantarilla
All Rights Reserved

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holders nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

------------------------------------------------------------------------------

AKAZE Features library is redistributed within all opencv-python packages.

Copyright (c) 2014, Pablo Fernandez Alcantarilla, Jesus Nuevo
All Rights Reserved

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holders nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion opencv
Submodule opencv updated 892 files
2 changes: 1 addition & 1 deletion opencv_contrib
Submodule opencv_contrib updated 107 files
2 changes: 1 addition & 1 deletion patches/patchQtPlugins
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ index 4c0b3880fc..dffa0a4caa 100644
+ install(DIRECTORY ${Qt5_DIR}/../../../plugins DESTINATION lib/qt)
+ endif()
+ if(UNIX AND NOT APPLE)
+ install(DIRECTORY /opt/Qt5.15.16/plugins DESTINATION lib/qt)
+ install(DIRECTORY /opt/Qt5.15.19/plugins DESTINATION lib/qt)
+ install(DIRECTORY /usr/share/fonts DESTINATION lib/qt)
+ endif()
if(HAVE_QT_OPENGL)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ requires = [
"numpy<2.0; python_version<'3.9'",
"numpy==2.0.2; python_version>='3.9' and python_version<'3.13'",
"numpy==2.1.3; python_version=='3.13'",
"numpy==2.3.2; python_version=='3.14'",
"packaging",
"pip",
"scikit-build>=0.14.0",
Expand Down
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ def main():
cuda_arch_bin = os.environ.get("CUDA_ARCH_BIN", "7.5;8.0;8.6;8.9;9.0")
cuda_arch_ptx = os.environ.get("CUDA_ARCH_PTX", "9.0")

# NOTE: since 2.3.0 numpy upgraded from manylinux2014 to manylinux_2_28
# see https://numpy.org/doc/stable/release/2.3.0-notes.html#numpy-2-3-0-release-notes
install_requires = [
'numpy<2.0; python_version<"3.9"',
'numpy(>=2, <2.3.0); python_version>="3.9"',
'numpy>=2; python_version>="3.9"',
]

python_version = cmaker.CMaker.get_python_version()
Expand Down Expand Up @@ -86,7 +84,7 @@ def main():
# https://stackoverflow.com/questions/1405913/python-32bit-or-64bit-mode
is64 = sys.maxsize > 2 ** 32

package_name = "opencv-python-cuda"
package_name = "opencv_python_cuda"

long_description = io.open("README.md", encoding="utf-8").read()

Expand Down Expand Up @@ -249,6 +247,10 @@ def main():
# see: https://github.com/opencv/opencv-python/issues/771
cmake_args.append("-DWITH_MSMF=OFF")
cmake_args.append("-DWITH_OBSENSOR=OFF") # Orbbec cameras backend uses MSMF API
# see: https://github.com/opencv/opencv/issues/28438
# libavdevice is enabled by default, but brings libxcb dependency
if sys.platform.startswith("linux"):
cmake_args.append("-DOPENCV_FFMPEG_ENABLE_LIBAVDEVICE=OFF")

if sys.platform.startswith("linux") and not is64 and "bdist_wheel" in sys.argv:
subprocess.check_call("patch -p0 < patches/patchOpenEXR", shell=True)
Expand Down Expand Up @@ -330,6 +332,7 @@ def main():
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: C++",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
Expand Down
Loading