Revert "Merge branch 'rfc-python-bump-312' into v2"

This reverts commit 0ec5e3b365, reversing
changes made to c18937ecc7.
This commit is contained in:
DDSRem
2024-12-28 11:56:54 +08:00
parent 0ec5e3b365
commit fca9297fa7
5 changed files with 43 additions and 15 deletions

View File

@@ -1,6 +1,11 @@
name: MoviePilot Builder v2
on:
workflow_dispatch:
push:
branches:
- v2
paths:
- 'version.py'
jobs:
Docker-build:
@@ -22,7 +27,8 @@ jobs:
with:
images: ${{ secrets.DOCKER_USERNAME }}/moviepilot-v2
tags: |
type=raw,value=beta
type=raw,value=${{ env.app_version }}
type=raw,value=latest
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
@@ -43,8 +49,27 @@ jobs:
file: Dockerfile
platforms: |
linux/amd64
linux/arm64/v8
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha, scope=${{ github.workflow }}-docker-beta
cache-to: type=gha, scope=${{ github.workflow }}-docker-beta
cache-from: type=gha, scope=${{ github.workflow }}-docker
cache-to: type=gha, scope=${{ github.workflow }}-docker
- name: Delete Release
uses: dev-drprasad/delete-tag-and-release@v1.1
with:
tag_name: ${{ env.app_version }}
delete_release: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ env.app_version }}
name: v${{ env.app_version }}
draft: false
prerelease: false
make_latest: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,4 +1,4 @@
FROM python:3.12.8-slim-bookworm
FROM python:3.11.4-slim-bookworm
ENV LANG="C.UTF-8" \
TZ="Asia/Shanghai" \
HOME="/moviepilot" \

View File

@@ -6,7 +6,7 @@
在开始之前,请确保您的系统已安装以下软件:
- **Python 3.12 或更高版本**
- **Python 3.11 或更高版本**
- **pip** (Python 包管理器)
- **Git** (用于版本控制)

View File

@@ -23,17 +23,17 @@ APScheduler~=3.10.1
cryptography~=43.0.0
pytz~=2023.3
pycryptodome~=3.20.0
qbittorrent-api==2024.11.70
plexapi~=4.16.0
qbittorrent-api==2024.11.69
plexapi~=4.15.16
transmission-rpc~=4.3.0
Jinja2~=3.1.4
pyparsing~=3.0.9
func_timeout==4.3.5
bs4~=0.0.2
beautifulsoup4~=4.12.3
bs4~=0.0.1
beautifulsoup4~=4.12.2
pillow~=10.4.0
pyTelegramBotAPI~=4.12.0
playwright~=1.49.1
playwright~=1.37.0
cf-clearance~=0.31.0
torrentool~=1.2.0
slack-bolt~=1.18.0
@@ -50,7 +50,7 @@ cacheout~=0.14.1
click~=8.1.6
requests-cache~=0.5.2
parse~=1.19.0
docker~=7.1.0
docker~=6.1.3
pywin32==306; platform_system == "Windows"
cachetools~=5.3.1
fast-bencode~=1.1.3
@@ -58,8 +58,9 @@ pystray~=0.19.5
pyotp~=2.9.0
Pinyin2Hanzi~=0.1.1
pywebpush~=2.0.0
python-115==0.0.9.8.8.4
python-115==0.0.9.8.8.2
p115client==0.0.3.8.3.3
python-cookietools==0.0.2.1
aligo~=6.2.4
aiofiles~=24.1.0
jieba~=0.42.1
setuptools~=75.6.0
jieba~=0.42.1

View File

@@ -1,6 +1,8 @@
from distutils.core import setup
from Cython.Build import cythonize
from setuptools import setup
module_list = ['app/helper/sites.py']