Skip to content

Commit 8d94131

Browse files
committed
* Upgrade presets for CPython 3.14.7
1 parent 0310dae commit 8d94131

16 files changed

Lines changed: 94 additions & 22 deletions

File tree

.github/actions/deploy-ubuntu/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ runs:
9090
export CODENAME=$UBUNTU_CODENAME
9191
9292
HOST_ARCH=$(dpkg --print-architecture) # amd64 or arm64
93+
BROKEN_CROSS="freeglut3-dev:$ARCH libva-dev:$ARCH"
9394
if [[ "$ARCH" != "$HOST_ARCH" ]]; then
95+
BROKEN_CROSS=
9496
# https://github.com/actions/runner-images/issues/675
9597
$SUDO gem install apt-spy2
9698
$SUDO apt-spy2 check
@@ -122,7 +124,7 @@ runs:
122124
# $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB9B1D8886F44E2A
123125
# $SUDO apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA6932366A755776
124126
$SUDO apt-get update
125-
$SUDO apt-get -y install python3 python3-minimal rpm libasound2-dev:$ARCH freeglut3-dev:$ARCH libfontconfig-dev:$ARCH libgtk2.0-dev:$ARCH libusb-dev:$ARCH libusb-1.0-0-dev:$ARCH libffi-dev:$ARCH libbz2-dev:$ARCH zlib1g-dev:$ARCH libxcb1-dev:$ARCH libpulse-dev:$ARCH libva-dev:$ARCH libdrm-dev:$ARCH libudev-dev:$ARCH
127+
$SUDO apt-get -y install python3 python3-minimal rpm $BROKEN_CROSS libasound2-dev:$ARCH libfontconfig-dev:$ARCH libgtk2.0-dev:$ARCH libusb-dev:$ARCH libusb-1.0-0-dev:$ARCH libffi-dev:$ARCH libbz2-dev:$ARCH zlib1g-dev:$ARCH libxcb1-dev:$ARCH libpulse-dev:$ARCH libdrm-dev:$ARCH libudev-dev:$ARCH
126128
$SUDO apt-get -y install build-essential pkgconf ccache clang $TOOLCHAIN openjdk-8-jdk ant python3-pip swig git file wget zstd unzip tar bzip2 gzip patch autoconf-archive autogen automake cmake make ninja-build libtool bison flex perl nasm ragel curl libcurl4-openssl-dev libssl-dev libffi-dev libbz2-dev zlib1g-dev rapidjson-dev libdrm-dev libxcb-glx0-dev libwayland-dev wayland-protocols qtbase5-dev qtwayland5
127129
128130
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-$HOST_ARCH/

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Add new `SampleOnnxMNIST` in samples for TensorRT ([pull #1742](https://github.com/bytedeco/javacpp-presets/pull/1742))
1111
* Fix loading issues with `libomp.dylib` and `libiomp5.dylib` for DNNL and PyTorch on Mac
1212
* Include `model_package_loader.h` header file in presets for PyTorch ([issue #1729](https://github.com/bytedeco/javacpp-presets/issues/1729))
13-
* Upgrade presets for OpenCV 4.14.0, FFmpeg 8.1.2, MKL 2026.1.0, DNNL 3.13, OpenBLAS 0.3.34, CMINPACK 1.3.14, CUDA 13.3.1, cuDNN 9.25.0.15, NCCL 2.30.7, nvCOMP 5.3.0.16, NVIDIA Video Codec SDK 13.1.15, OpenCL 3.1.1, FFTW 3.3.11, CPython 3.14.6, NumPy 2.5.1, SciPy 1.18.0, LLVM 22.1.8, libffi 3.7.1, Tesseract 5.5.3, PyTorch 2.13.0, TensorFlow Lite 2.21.0, TensorRT 11.2.1.2, Triton Inference Server 2.71.0, ONNX 1.22.0, ONNX Runtime 1.28.0 ([pull #1791](https://github.com/bytedeco/javacpp-presets/pull/1791)), and their dependencies
13+
* Upgrade presets for OpenCV 4.14.0, FFmpeg 8.1.2, MKL 2026.1.0, DNNL 3.13, OpenBLAS 0.3.34, CMINPACK 1.3.14, CUDA 13.3.1, cuDNN 9.25.0.15, NCCL 2.30.7, nvCOMP 5.3.0.16, NVIDIA Video Codec SDK 13.1.15, OpenCL 3.1.1, FFTW 3.3.11, CPython 3.14.7, NumPy 2.5.1, SciPy 1.18.0, LLVM 22.1.8, libffi 3.7.1, Tesseract 5.5.3, PyTorch 2.13.0, TensorFlow Lite 2.21.0, TensorRT 11.2.1.2, Triton Inference Server 2.71.0, ONNX 1.22.0, ONNX Runtime 1.28.0 ([pull #1791](https://github.com/bytedeco/javacpp-presets/pull/1791)), and their dependencies
1414
* Compile classes with `parameters` bumping minimum requirements to Java SE 8 and Android 7.0 ([issue #1739](https://github.com/bytedeco/javacpp-presets/issues/1739))
1515

1616
### February 22, 2026 version 1.5.13

cpython/cppbuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if [[ -z "$PLATFORM" ]]; then
88
fi
99

1010
OPENSSL=openssl-3.5.7
11-
CPYTHON_VERSION=3.14.6
11+
CPYTHON_VERSION=3.14.7
1212
download https://www.openssl.org/source/$OPENSSL.tar.gz $OPENSSL.tar.gz
1313
download https://www.python.org/ftp/python/$CPYTHON_VERSION/Python-$CPYTHON_VERSION.tgz Python-$CPYTHON_VERSION.tgz
1414

cpython/platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>org.bytedeco</groupId>
1414
<artifactId>cpython-platform</artifactId>
15-
<version>3.14.6-${project.parent.version}</version>
15+
<version>3.14.7-${project.parent.version}</version>
1616
<name>JavaCPP Presets Platform for CPython</name>
1717

1818
<properties>

cpython/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.bytedeco</groupId>
1313
<artifactId>cpython</artifactId>
14-
<version>3.14.6-${project.parent.version}</version>
14+
<version>3.14.7-${project.parent.version}</version>
1515
<name>JavaCPP Presets for CPython</name>
1616

1717
<dependencies>

cpython/src/gen/java/org/bytedeco/cpython/global/python.java

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ There is also (independent) API version information in modsupport.h.
191191
/*--start constants--*/
192192
public static final int PY_MAJOR_VERSION = 3;
193193
public static final int PY_MINOR_VERSION = 14;
194-
public static final int PY_MICRO_VERSION = 6;
194+
public static final int PY_MICRO_VERSION = 7;
195195
public static final int PY_RELEASE_LEVEL = PY_RELEASE_LEVEL_FINAL;
196196
public static final int PY_RELEASE_SERIAL = 0;
197197

198198
/* Version as a string */
199-
public static final String PY_VERSION = "3.14.6";
199+
public static final String PY_VERSION = "3.14.7";
200200
/*--end constants--*/
201201

202202

@@ -408,9 +408,15 @@ There is also (independent) API version information in modsupport.h.
408408
/* Define if you have the 'ctermid_r' function. */
409409
/* #undef HAVE_CTERMID_R */
410410

411+
/* Define if you have the 'ESCDELAY' variable. */
412+
public static final int HAVE_CURSES_ESCDELAY = 1;
413+
411414
/* Define if you have the 'filter' function. */
412415
public static final int HAVE_CURSES_FILTER = 1;
413416

417+
/* Define if you have the 'getmouse' function with the X/Open signature. */
418+
public static final int HAVE_CURSES_GETMOUSE = 1;
419+
414420
/* Define to 1 if you have the <curses.h> header file. */
415421
public static final int HAVE_CURSES_H = 1;
416422

@@ -432,9 +438,18 @@ There is also (independent) API version information in modsupport.h.
432438
/* Define if you have the 'resize_term' function. */
433439
public static final int HAVE_CURSES_RESIZE_TERM = 1;
434440

441+
/* Define if you have the 'set_escdelay' function. */
442+
public static final int HAVE_CURSES_SET_ESCDELAY = 1;
443+
444+
/* Define if you have the 'set_tabsize' function. */
445+
public static final int HAVE_CURSES_SET_TABSIZE = 1;
446+
435447
/* Define if you have the 'syncok' function. */
436448
public static final int HAVE_CURSES_SYNCOK = 1;
437449

450+
/* Define if you have the 'TABSIZE' variable. */
451+
public static final int HAVE_CURSES_TABSIZE = 1;
452+
438453
/* Define if you have the 'typeahead' function. */
439454
public static final int HAVE_CURSES_TYPEAHEAD = 1;
440455

@@ -521,6 +536,9 @@ There is also (independent) API version information in modsupport.h.
521536
/* Define to 1 if you have the 'dlopen' function. */
522537
// #define HAVE_DLOPEN 1
523538

539+
/* Define to 1 if you have the 'dl_iterate_phdr' function. */
540+
public static final int HAVE_DL_ITERATE_PHDR = 1;
541+
524542
/* Define to 1 if you have the 'dup' function. */
525543
public static final int HAVE_DUP = 1;
526544

@@ -1576,6 +1594,9 @@ There is also (independent) API version information in modsupport.h.
15761594
/* Define to 1 if you have the 'sysconf' function. */
15771595
public static final int HAVE_SYSCONF = 1;
15781596

1597+
/* Define to 1 if you have the 'sysctlbyname' function. */
1598+
/* #undef HAVE_SYSCTLBYNAME */
1599+
15791600
/* Define to 1 if you have the <sysexits.h> header file. */
15801601
public static final int HAVE_SYSEXITS_H = 1;
15811602

@@ -1680,6 +1701,9 @@ There is also (independent) API version information in modsupport.h.
16801701
/* Define to 1 if you have the <sys/syscall.h> header file. */
16811702
public static final int HAVE_SYS_SYSCALL_H = 1;
16821703

1704+
/* Define to 1 if you have the <sys/sysctl.h> header file. */
1705+
/* #undef HAVE_SYS_SYSCTL_H */
1706+
16831707
/* Define to 1 if you have the <sys/sysmacros.h> header file. */
16841708
public static final int HAVE_SYS_SYSMACROS_H = 1;
16851709

@@ -2242,6 +2266,9 @@ significant byte first (like Motorola and SPARC, unlike Intel). */
22422266
/* HACL* library can compile SIMD256 implementations */
22432267
public static final int _Py_HACL_CAN_COMPILE_VEC256 = 1;
22442268

2269+
/* Thread stack size set by the linker (in bytes). */
2270+
/* #undef _Py_LINKER_THREAD_STACK_SIZE */
2271+
22452272
/* Define to 1 if the machine stack grows down (default); 0 if it grows up. */
22462273
public static final int _Py_STACK_GROWS_DOWN = 1;
22472274

@@ -13268,6 +13295,16 @@ use PyFrame_GetLineNumber() instead. */
1326813295
PyCompilerFlags flags);
1326913296

1327013297

13298+
@NoException public static native PyObject Py_CompileStringFlags(
13299+
@Cast("const char*") BytePointer str,
13300+
@Cast("const char*") BytePointer filename,
13301+
int start,
13302+
PyCompilerFlags flags);
13303+
@NoException public static native PyObject Py_CompileStringFlags(
13304+
String str,
13305+
String filename,
13306+
int start,
13307+
PyCompilerFlags flags);
1327113308
@NoException public static native PyObject Py_CompileStringExFlags(
1327213309
@Cast("const char*") BytePointer str,
1327313310
@Cast("const char*") BytePointer filename,

ffmpeg/src/main/java/org/bytedeco/ffmpeg/presets/avutil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
@Platform(value = "macosx", preload = {"atomic@.1"},
6969
preloadpath = {"/usr/local/lib/gcc/13/", "/usr/local/lib/gcc/12/", "/usr/local/lib/gcc/11/", "/usr/local/lib/gcc/10/", "/usr/local/lib/gcc/9/",
7070
"/usr/local/lib/gcc/8/", "/usr/local/lib/gcc/7/", "/usr/local/lib/gcc/6/", "/usr/local/lib/gcc/5/"}),
71-
@Platform(value = "windows", includepath = {"C:/MinGW/local/include/ffmpeg/", "C:/MinGW/include/ffmpeg/"}, preload = "avutil-60"),
71+
@Platform(value = "windows", includepath = {"C:/MinGW/local/include/ffmpeg/", "C:/MinGW/include/ffmpeg/"}, preload = {"libwinpthread-1", "avutil-60"}),
7272
@Platform(extension = "-gpl")
7373
}
7474
)

numpy/platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<dependency>
2929
<groupId>org.bytedeco</groupId>
3030
<artifactId>cpython-platform</artifactId>
31-
<version>3.14.6-${project.parent.version}</version>
31+
<version>3.14.7-${project.parent.version}</version>
3232
</dependency>
3333
<dependency>
3434
<groupId>${project.groupId}</groupId>

numpy/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.bytedeco</groupId>
2525
<artifactId>cpython</artifactId>
26-
<version>3.14.6-${project.parent.version}</version>
26+
<version>3.14.7-${project.parent.version}</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>org.bytedeco</groupId>
@@ -51,7 +51,7 @@
5151
<dependency>
5252
<groupId>org.bytedeco</groupId>
5353
<artifactId>cpython</artifactId>
54-
<version>3.14.6-${project.parent.version}</version>
54+
<version>3.14.7-${project.parent.version}</version>
5555
</dependency>
5656
<dependency>
5757
<groupId>org.bytedeco</groupId>
@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>org.bytedeco</groupId>
6464
<artifactId>cpython</artifactId>
65-
<version>3.14.6-${project.parent.version}</version>
65+
<version>3.14.7-${project.parent.version}</version>
6666
<classifier>${javacpp.platform}</classifier>
6767
</dependency>
6868
</dependencies>
@@ -171,7 +171,7 @@
171171
<dependency>
172172
<groupId>org.bytedeco</groupId>
173173
<artifactId>cpython</artifactId>
174-
<version>3.14.6-${project.parent.version}</version>
174+
<version>3.14.7-${project.parent.version}</version>
175175
<classifier>${os.name}-${os.arch}</classifier>
176176
</dependency>
177177
</dependencies>

platform/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
<dependency>
214214
<groupId>org.bytedeco</groupId>
215215
<artifactId>cpython-platform</artifactId>
216-
<version>3.14.6-${project.version}</version>
216+
<version>3.14.7-${project.version}</version>
217217
</dependency>
218218
<dependency>
219219
<groupId>org.bytedeco</groupId>

0 commit comments

Comments
 (0)