Skip to content

Commit

Permalink
Move to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Jun 29, 2024
1 parent 029c776 commit 3079cfb
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ghcr.io/devcontainers/features/git:latest": {},
"ghcr.io/jungaretti/features/vim:latest": {},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.11"
"version": "3.12"
},
"ghcr.io/devcontainers/features/common-utils:latest": {
"username": "vscode",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12
- name: isort formatter
uses: isort/isort-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.12
- run: python -m pip install build twine && python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sonar.sources=tafrigh/

sonar.python.version=3.9,3.10,3.11
sonar.python.version=3.11,3.12
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use the official Python 3.11 Slim image as the base image
FROM python:3.11-slim
# Use the official Python 3.12 Slim image as the base image
FROM python:3.12-slim

# Set the working directory to /tafrigh
WORKDIR /tafrigh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<ul dir="rtl">
<li>يُفضّل وجود معالج رسوميات قوي في حاسبك في حال استخدام نماذج Whisper</li>
<li>تثبيت لغة Python بإصدار 3.11 على حاسبك</li>
<li>تثبيت لغة Python بإصدار 3.11 أو أعلى على حاسبك</li>
<li>تثبيت برمجية <a href="https://ffmpeg.org">FFmpeg</a> على حاسبك</li>
<li>تثبيت برمجية <a href="https://github.com/yt-dlp/yt-dlp">yt-dlp</a> على حاسبك</li>
</ul>
Expand Down
110 changes: 55 additions & 55 deletions poetry.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tafrigh"
version = "1.4.1"
version = "1.4.2"
description = "تفريغ النصوص وإنشاء ملفات SRT و VTT باستخدام نماذج Whisper وتقنية wit.ai."
authors = ["EasyBooks <[email protected]>"]
license = "MIT"
Expand All @@ -16,13 +16,14 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
homepage = "https://tafrigh.ieasybooks.com"
repository = "https://github.com/ieasybooks/tafrigh"

[tool.poetry.dependencies]
python = ">=3.11, <3.12"
python = ">=3.11"
tqdm = ">=4.66.4"
yt-dlp = ">=2024.4.9"
auditok = ">=0.2.0"
Expand Down

0 comments on commit 3079cfb

Please sign in to comment.