Skip to content

Commit 36af813

Browse files
committed
[dist] Pin all dependencies to compatible versions
1 parent dac9dfa commit 36af813

4 files changed

Lines changed: 27 additions & 28 deletions

File tree

dist/requirements_windows.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ imageio-ffmpeg==0.6.0
66
moviepy==2.1.2
77
numpy==2.2.3
88
platformdirs==4.3.6
9+
pyinstaller~=6.0
10+
pytest~=7.0,~=8.0
911
tqdm==4.67.1
10-
11-
# Build-only and test-only requirements.
12-
pyinstaller
13-
pytest

requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# PySceneDetect Requirements
33
#
44
av>=9.2
5-
# click 8.3.0 is excluded as per https://scenedetect.com/issues/521
6-
click~=8.0, !=8.3.0
7-
numpy
8-
opencv-python
9-
platformdirs
10-
pytest>=7.0
11-
tqdm
5+
# click <8.3.0 is excluded as per https://scenedetect.com/issues/521.
6+
click~=8.0,<8.3.0
7+
numpy~=1.0,~=2.0
8+
opencv-python~=4.0
9+
platformdirs~=2.0,~=3.0,~=4.0
10+
pytest~=7.0,~=8.0
11+
tqdm~=4.0

requirements_headless.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# PySceneDetect Requirements for Headless Machines
33
#
44
av>=9.2
5-
# click 8.3.0 is excluded as per https://scenedetect.com/issues/521
6-
click~=8.0, !=8.3.0
7-
numpy
8-
opencv-python-headless
9-
platformdirs
10-
pytest>=7.0
11-
tqdm
5+
# click <8.3.0 is excluded as per https://scenedetect.com/issues/521.
6+
click~=8.0,<8.3.0
7+
numpy~=1.0,~=2.0
8+
opencv-python-headless~=4.0
9+
platformdirs~=2.0,~=3.0,~=4.0
10+
pytest~=7.0,~=8.0
11+
tqdm~=4.0

setup.cfg

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[metadata]
33
name = scenedetect
44
version = attr: scenedetect.__version__
5-
license = BSD 3-Clause License
5+
license = BSD-3-Clause
66
author = Brandon Castellano
77
author_email = brandon248@gmail.com
88
description = Video scene cut/shot detection program and Python library.
@@ -21,7 +21,6 @@ classifiers =
2121
Intended Audience :: Developers
2222
Intended Audience :: End Users/Desktop
2323
Intended Audience :: System Administrators
24-
License :: OSI Approved :: MIT License
2524
Operating System :: OS Independent
2625
Programming Language :: Python :: 3
2726
Programming Language :: Python :: 3.7
@@ -39,10 +38,12 @@ keywords = video computer-vision analysis
3938

4039
[options]
4140
install_requires =
42-
Click
43-
numpy
44-
platformdirs
45-
tqdm
41+
# click <8.3.0 is excluded as per https://scenedetect.com/issues/521.
42+
click~=8.0,<8.3.0
43+
numpy~=1.0,~=2.0
44+
platformdirs~=2.0,~=3.0,~=4.0
45+
tqdm~=4.0
46+
4647
packages =
4748
scenedetect
4849
scenedetect._cli
@@ -52,10 +53,10 @@ packages =
5253
python_requires = >=3.7
5354

5455
[options.extras_require]
55-
opencv = opencv-python
56-
opencv-headless = opencv-python-headless
57-
pyav = av
58-
moviepy = moviepy
56+
opencv = opencv-python~=4.0
57+
opencv-headless = opencv-python-headless~=4.0
58+
pyav = av>=9.2
59+
moviepy = moviepy~=1.0,~=2.0
5960

6061
[options.entry_points]
6162
console_scripts =

0 commit comments

Comments
 (0)