Skip to content

Commit 2427f96

Browse files
committed
pip install ffpyplayer fails on Python 3.14 release candidate 2
python3.14rc2 -m pip install ffpyplayer
1 parent 58b68c2 commit 2427f96

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: pip_install_on_python_prerelease
2+
on:
3+
push:
4+
pull_request:
5+
workflow_dispatch:
6+
jobs:
7+
pip_install_on_python_prerelease:
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [macos-latest, ubuntu-latest, windows-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- if: runner.os == 'Linux'
15+
run: sudo apt-get update && sudo apt-get install libsdl2-dev
16+
- if: runner.os == 'macOS'
17+
run: brew install ffmpeg sdl2
18+
- if: runner.os == 'Windows'
19+
run: |
20+
curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.32.10/SDL2-devel-2.32.10-VC.zip
21+
unzip SDL2-devel-2.32.10-VC.zip -d $env:USERPROFILE\SDL2
22+
echo "SDL2_INCLUDE_DIR=$env:USERPROFILE\SDL2\SDL2-2.32.10\include" | Out-File -FilePath $env:GITHUB_ENV -Append
23+
echo "SDL2_LIB_DIR=$env:USERPROFILE\SDL2\SDL2-2.32.10\lib\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
24+
- uses: actions/checkout@v5
25+
- uses: actions/setup-python@v6
26+
with:
27+
python-version: 3.14
28+
allow-prereleases: true
29+
- run: pip install --upgrade pip
30+
- run: pip install ffpyplayer

0 commit comments

Comments
 (0)