Skip to content

Commit

Permalink
chore(deps): environment and dependency upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jan 1, 2025
1 parent d5ac9f6 commit 3e884ce
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 43 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: MoviePilot Builder v2
on:
workflow_dispatch:
push:
branches:
- v2
paths:
- 'version.py'

jobs:
Docker-build:
Expand All @@ -27,8 +22,7 @@ jobs:
with:
images: ${{ secrets.DOCKER_USERNAME }}/moviepilot-v2
tags: |
type=raw,value=${{ env.app_version }}
type=raw,value=latest
type=raw,value=beta
- name: Set Up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -49,27 +43,8 @@ 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
cache-to: type=gha, scope=${{ github.workflow }}-docker

- name: Delete Release
uses: dev-drprasad/[email protected]
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 }}
cache-from: type=gha, scope=${{ github.workflow }}-docker-beta
cache-to: type=gha, scope=${{ github.workflow }}-docker-beta
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.4-slim-bookworm
FROM python:3.12.8-slim-bookworm
ENV LANG="C.UTF-8" \
TZ="Asia/Shanghai" \
HOME="/moviepilot" \
Expand Down
2 changes: 1 addition & 1 deletion docs/development-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

在开始之前,请确保您的系统已安装以下软件:

- **Python 3.11 或更高版本**
- **Python 3.12 或更高版本**
- **pip** (Python 包管理器)
- **Git** (用于版本控制)

Expand Down
19 changes: 9 additions & 10 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ APScheduler~=3.10.1
cryptography~=43.0.0
pytz~=2023.3
pycryptodome~=3.20.0
qbittorrent-api==2024.11.69
plexapi~=4.15.16
qbittorrent-api==2024.11.70
plexapi~=4.16.0
transmission-rpc~=4.3.0
Jinja2~=3.1.4
pyparsing~=3.0.9
func_timeout==4.3.5
bs4~=0.0.1
beautifulsoup4~=4.12.2
bs4~=0.0.2
beautifulsoup4~=4.12.3
pillow~=10.4.0
pyTelegramBotAPI~=4.12.0
playwright~=1.37.0
playwright~=1.49.1
cf-clearance~=0.31.0
torrentool~=1.2.0
slack-bolt~=1.18.0
Expand All @@ -50,17 +50,16 @@ cacheout~=0.14.1
click~=8.1.6
requests-cache~=0.5.2
parse~=1.19.0
docker~=6.1.3
docker~=7.1.0
pywin32==306; platform_system == "Windows"
cachetools~=5.3.1
fast-bencode~=1.1.3
pystray~=0.19.5
pyotp~=2.9.0
Pinyin2Hanzi~=0.1.1
pywebpush~=2.0.0
python-115==0.0.9.8.8.2
p115client==0.0.3.8.3.3
python-cookietools==0.0.2.1
python-115==0.0.9.8.8.4
aligo~=6.2.4
aiofiles~=24.1.0
jieba~=0.42.1
jieba~=0.42.1
setuptools~=75.6.0
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

from distutils.core import setup

from Cython.Build import cythonize

from setuptools import setup

module_list = ['app/helper/sites.py']

Expand Down

0 comments on commit 3e884ce

Please sign in to comment.