Skip to content

Commit 2c07c59

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

4 files changed

Lines changed: 34 additions & 4 deletions

File tree

.ci/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ make install;
5757
make distclean;
5858

5959
cd ~/ffmpeg_sources;
60-
curl -kLO "https://cfhcable.dl.sourceforge.net/project/lame/lame/$LAME_VERSION/lame-$LAME_VERSION.tar.gz"
60+
curl -kLO "https://downloads.sourceforge.net/project/lame/lame/$LAME_VERSION/lame-$LAME_VERSION.tar.gz"
6161
tar xzf "lame-$LAME_VERSION.tar.gz"
6262
cd "lame-$LAME_VERSION"
6363
./configure --prefix="$BUILD_DIR" --enable-nasm --enable-shared;

.ci/build_wheels_osx.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if [ "$ARCH" = "x86_64" ]; then
127127
arg=("--enable-nasm")
128128
fi
129129
cd "$SRC_PATH";
130-
curl -kLO "https://cfhcable.dl.sourceforge.net/project/lame/lame/$LAME_VERSION/lame-$LAME_VERSION.tar.gz"
130+
curl -kLO "https://downloads.sourceforge.net/project/lame/lame/$LAME_VERSION/lame-$LAME_VERSION.tar.gz"
131131
tar xzf "lame-$LAME_VERSION.tar.gz"
132132
cd "lame-$LAME_VERSION"
133133
git apply "$base_dir/.ci/libmp3lame-symbols.patch"
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

.github/workflows/pythonapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ jobs:
170170
needs: linux_wheels
171171
steps:
172172
- uses: actions/checkout@v4.2.2
173-
- name: Set up Python 3.x
173+
- name: Set up Python 3.13
174174
uses: actions/setup-python@v5.4.0
175175
with:
176-
python-version: 3.x
176+
python-version: 3.13 # 3.14 fails!
177177
- uses: actions/download-artifact@v4.2.1
178178
with:
179179
pattern: py_wheel-*

0 commit comments

Comments
 (0)