Skip to content

Commit e31b6af

Browse files
author
Matevz Morato
committed
Add support for Python 3.14 and drop 3.7, 3.8
1 parent 04da7f5 commit e31b6af

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
runs-on: windows-latest
185185
strategy:
186186
matrix:
187-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
187+
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', '3.14']
188188
python-architecture: [x64, x86]
189189
fail-fast: false
190190
steps:
@@ -245,7 +245,7 @@ jobs:
245245
needs: build-docstrings
246246
strategy:
247247
matrix:
248-
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
248+
python-version: [3.9, '3.10', '3.11', '3.12', '3.13', '3.14']
249249
os: [macos-13, macos-14] # macos-13 is x64, macos-14 is arm64
250250
runs-on: ${{ matrix.os }}
251251
steps:
@@ -349,7 +349,7 @@ jobs:
349349
/opt/python/cp38-cp38/bin/python3.8 setup.py sdist --formats=gztar
350350
mv dist/* wheelhouse/audited/
351351
- name: Build wheels
352-
run: for PYBIN in /opt/python/cp3{7..13}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
352+
run: for PYBIN in /opt/python/cp3{9..14}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
353353
- name: Audit wheels
354354
run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done
355355
- name: Archive wheel artifacts
@@ -406,7 +406,7 @@ jobs:
406406
if: startsWith(github.ref, 'refs/tags/v') != true
407407
run: echo "BUILD_COMMIT_HASH=${{github.sha}}" >> $GITHUB_ENV
408408
- name: Building wheels
409-
run: for PYBIN in /opt/python/cp3{7..13}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
409+
run: for PYBIN in /opt/python/cp3{9..14}*/bin; do "${PYBIN}/pip" wheel . -w ./wheelhouse/ --verbose; done
410410
- name: Auditing wheels
411411
run: for whl in wheelhouse/*.whl; do auditwheel repair "$whl" --plat $PLAT -w wheelhouse/audited/; done
412412
- name: Archive wheel artifacts

cmake/Hunter/config.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
hunter_config(
33
pybind11
44
VERSION "2.12.0"
5-
URL "https://github.com/pybind/pybind11/archive/refs/tags/v2.12.0.tar.gz"
6-
SHA1 "e70610cba7b6b7d7a57827d5357c016ad2155c0f"
5+
URL "https://github.com/pybind/pybind11/archive/refs/tags/v3.0.1.tar.gz"
6+
SHA1 "b20ddcd79e2b03b7e2777a2a0b06b646f2f23ce0"
77
)

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,19 +238,18 @@ def build_extension(self, ext):
238238
"Operating System :: Unix",
239239
"Programming Language :: Python",
240240
"Programming Language :: Python :: 3",
241-
"Programming Language :: Python :: 3.7",
242-
"Programming Language :: Python :: 3.8",
243241
"Programming Language :: Python :: 3.9",
244242
"Programming Language :: Python :: 3.10",
245243
"Programming Language :: Python :: 3.11",
246244
"Programming Language :: Python :: 3.12",
247245
"Programming Language :: Python :: 3.13",
246+
"Programming Language :: Python :: 3.14",
248247
"Programming Language :: C++",
249248
"Programming Language :: Python :: Implementation :: CPython",
250249
"Topic :: Scientific/Engineering",
251250
"Topic :: Software Development",
252251
],
253-
python_requires='>=3.7',
252+
python_requires='>=3.9',
254253
entry_points={
255254
"console_scripts": [
256255
f'depthai={DEPTHAI_CLI_MODULE_NAME}.depthai_cli:cli'

0 commit comments

Comments
 (0)