Skip to content

Commit 5dbac1b

Browse files
committed
[build] Add builder for macos-14 and deprecate Python 3.7.
Python 3.7 still works but we no longer officially support it.
1 parent ea0d18f commit 5dbac1b

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ jobs:
2727
runs-on: ${{ matrix.os }}
2828
strategy:
2929
matrix:
30-
# TODO(1.6.1): Deprecate Python 3.7 and support macos-14.
31-
os: [macos-13, ubuntu-20.04, ubuntu-latest, windows-latest]
32-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
30+
os: [macos-13, macos-14, ubuntu-20.04, ubuntu-latest, windows-latest]
31+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3332

3433
env:
3534
# Version is extracted below and used to find correct package install path.
@@ -45,9 +44,8 @@ jobs:
4544
cache: 'pip'
4645

4746
- name: Install Dependencies
48-
# TODO(1.6.1): Unpin the following requirements when deprecating the Python 3.7 builder.
4947
run: |
50-
python -m pip install --upgrade pip build==1.1.1 wheel====0.42.0 virtualenv setuptools==62.3.4
48+
python -m pip install --upgrade pip build wheel virtualenv setuptools
5149
pip install av opencv-python-headless --only-binary :all:
5250
pip install -r requirements_headless.txt
5351
@@ -59,15 +57,15 @@ jobs:
5957
# TODO: Cache this: https://github.com/actions/cache
6058
# TODO: Install ffmpeg/mkvtoolnix on all runners.
6159
- name: Download FFMPEG
62-
if: ${{ matrix.os == 'windows-latest' }}
60+
if: ${{ runner.os == 'Windows' }}
6361
uses: dsaltares/fetch-gh-release-asset@1.1.1
6462
with:
6563
repo: 'GyanD/codexffmpeg'
6664
version: 'tags/6.0'
6765
file: 'ffmpeg-6.0-full_build.7z'
6866

6967
- name: Extract FFMPEG
70-
if: ${{ matrix.os == 'windows-latest' }}
68+
if: ${{ runner.os == 'Windows' }}
7169
run: |
7270
7z e ffmpeg-6.0-full_build.7z ffmpeg.exe -r
7371
@@ -83,7 +81,7 @@ jobs:
8381
python -m pip uninstall -y scenedetect
8482
8583
- name: Build Documentation
86-
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' }}
84+
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }}
8785
run: |
8886
pip install -r docs/requirements.txt
8987
git mv docs docs_src
@@ -112,7 +110,7 @@ jobs:
112110
python -m pip uninstall -y scenedetect
113111
114112
- name: Upload Package
115-
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' }}
113+
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' }}
116114
uses: actions/upload-artifact@v3
117115
with:
118116
name: scenedetect-dist

.github/workflows/check-code-format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Set up Python 3.11
21+
- name: Set up Python 3.12
2222
uses: actions/setup-python@v3
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.12'
2525
cache: 'pip'
2626

2727
- name: Update pip

website/pages/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Releases
66

77
### 0.6.4 (In Development)
88

9+
#### Release Notes
10+
11+
Includes new histogram and perceptual hash based detectors (thanks @wjs018 and @ash2703), adds flash filter to content detector, and includes various bugfixes. Minimum supported Python version is now **Python 3.8**.
12+
13+
#### Changelog
14+
915
- [feature] New detector: `detect-hist` / `HistogramDetector`, [thanks @wjs018](https://github.com/Breakthrough/PySceneDetect/pull/295) [#53](https://github.com/Breakthrough/PySceneDetect/issues/53)
1016
- [feature] Add flash suppression filter for `detect-content` / `ContentDetector`, greatly reduces number of cuts generated during strobing or flashing effects [#35](https://github.com/Breakthrough/PySceneDetect/pull/295) [#53](https://github.com/Breakthrough/PySceneDetect/issues/35)
1117
- Can be configured using `--filter-mode` option, enabled by default

0 commit comments

Comments
 (0)