Skip to content

Commit 9ded1f8

Browse files
committed
[package] depend on PyAV 8.x
1 parent 33bf772 commit 9ded1f8

File tree

2 files changed

+4
-25
lines changed

2 files changed

+4
-25
lines changed

.github/workflows/tests.yml

+3-24
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
test:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
26+
fail-fast: false
2627
matrix:
2728
os: [ubuntu-latest, macos-latest]
2829
python: [3.8, 3.7, 3.6]
@@ -35,35 +36,13 @@ jobs:
3536
if: matrix.os == 'macos-latest'
3637
run: |
3738
brew update
38-
brew install ffmpeg opus pkg-config libvpx
39+
brew install opus libvpx
3940
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
4041
- name: Install OS packages
4142
if: matrix.os == 'ubuntu-latest'
4243
run: |
4344
sudo apt-get update
44-
sudo apt-get install libmp3lame-dev libopus-dev libvpx-dev libx264-dev yasm
45-
echo "::set-env name=LD_LIBRARY_PATH::$HOME/.local/lib"
46-
echo "::set-env name=PKG_CONFIG_PATH::$HOME/.local/lib/pkgconfig"
47-
- name: Cache FFmpeg
48-
if: matrix.os == 'ubuntu-latest'
49-
uses: actions/cache@v1
50-
id: cache-ffmpeg
51-
with:
52-
path: ~/.local
53-
key: ${{ runner.os }}-ffmpeg-4.1
54-
- name: Build FFmpeg
55-
if: matrix.os == 'ubuntu-latest' && steps.cache-ffmpeg.outputs.cache-hit != 'true'
56-
run: |
57-
curl http://www.ffmpeg.org/releases/ffmpeg-4.1.3.tar.xz | tar xJ
58-
cd ffmpeg-4.1.3
59-
./configure --prefix=$HOME/.local \
60-
--disable-static --enable-shared \
61-
--enable-gpl \
62-
--enable-libmp3lame \
63-
--enable-libx264
64-
make
65-
make install
66-
cd ..
45+
sudo apt-get install libopus-dev libvpx-dev
6746
- name: Run tests
6847
run: |
6948
pip install -U pip setuptools wheel

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
]
2020
install_requires = [
2121
"aioice>=0.6.17,<0.7.0",
22-
"av>=7.0.0,<8.0.0",
22+
"av>=8.0.0,<9.0.0",
2323
"cffi>=1.0.0",
2424
"crc32c",
2525
"cryptography>=2.2",

0 commit comments

Comments
 (0)