👷 Minimum Python version is now 3.12.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10", "3.11"] # , "3.12"
|
python-version: ["3.12", "3.13"]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Check out
|
- name: Check out
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3.11
|
python: python3.12
|
||||||
|
|
||||||
default_stages: [commit, push]
|
default_stages: [commit, push]
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ If you like this projects and want to support it, you can buy me a coffee :-)
|
|||||||
|
|
||||||
## 💻 Installation / Upgrade
|
## 💻 Installation / Upgrade
|
||||||
|
|
||||||
**Requirements**: Python >= 3.11 (other versions might work but are not tested!)
|
**Requirements**: Python >= 3.12 (other versions might work but are not tested!)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install --upgrade tidal-dl-ng
|
pip install --upgrade tidal-dl-ng
|
||||||
|
|||||||
Generated
+4
-4
@@ -1687,13 +1687,13 @@ six = ">=1.5"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pyupgrade"
|
name = "pyupgrade"
|
||||||
version = "3.19.0"
|
version = "3.19.1"
|
||||||
description = "A tool to automatically upgrade syntax for newer versions."
|
description = "A tool to automatically upgrade syntax for newer versions."
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.9"
|
python-versions = ">=3.9"
|
||||||
files = [
|
files = [
|
||||||
{file = "pyupgrade-3.19.0-py2.py3-none-any.whl", hash = "sha256:1364fcae4436a6a236a85960587390ec8a939ad0f65f429346f70a5f201c1489"},
|
{file = "pyupgrade-3.19.1-py2.py3-none-any.whl", hash = "sha256:8c5b0bfacae5ff30fa136a53eb7f22c34ba007450d4099e9da8089dabb9e67c9"},
|
||||||
{file = "pyupgrade-3.19.0.tar.gz", hash = "sha256:7ed4b7d972ed2788c43994f4a24f949d5bf044342992f3b48e1bed0092ddaa01"},
|
{file = "pyupgrade-3.19.1.tar.gz", hash = "sha256:d10e8c5f54b8327211828769e98d95d95e4715de632a3414f1eef3f51357b9e2"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
@@ -2040,7 +2040,7 @@ typing-extensions = "^4.12.2"
|
|||||||
type = "git"
|
type = "git"
|
||||||
url = "git@github.com:exislow/python-tidal.git"
|
url = "git@github.com:exislow/python-tidal.git"
|
||||||
reference = "309-file-extension"
|
reference = "309-file-extension"
|
||||||
resolved_reference = "2f4a0dcc93fe40748c1ff0fd4773c9a6eeb6cc36"
|
resolved_reference = "ac84d7c656c6eb1cc067e4be2f272fc22c038a1c"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tokenize-rt"
|
name = "tokenize-rt"
|
||||||
|
|||||||
+6
-7
@@ -14,9 +14,8 @@ classifiers = [
|
|||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"License :: OSI Approved :: GNU Affero General Public License v3",
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
@@ -26,7 +25,7 @@ tdn = "tidal_dl_ng.cli:app"
|
|||||||
tdng = "tidal_dl_ng.gui:gui_activate"
|
tdng = "tidal_dl_ng.gui:gui_activate"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.10,<3.13"
|
python = ">=3.12,<=3.13"
|
||||||
requests = "~2.32.3"
|
requests = "~2.32.3"
|
||||||
mutagen = "^1.47.0"
|
mutagen = "^1.47.0"
|
||||||
pycryptodome = "^3.21.0"
|
pycryptodome = "^3.21.0"
|
||||||
@@ -84,7 +83,7 @@ build-backend = "poetry.core.masonry.api"
|
|||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py311"
|
target-version = "py312"
|
||||||
line-length = 120
|
line-length = 120
|
||||||
fix = true
|
fix = true
|
||||||
# Overview: https://docs.astral.sh/ruff/rules/
|
# Overview: https://docs.astral.sh/ruff/rules/
|
||||||
@@ -138,7 +137,7 @@ ignore = [
|
|||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
# https://github.com/psf/black
|
# https://github.com/psf/black
|
||||||
target-version = ["py311"]
|
target-version = ["py312"]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
color = true
|
color = true
|
||||||
preview = true
|
preview = true
|
||||||
@@ -164,7 +163,7 @@ exclude = '''
|
|||||||
|
|
||||||
[tool.isort]
|
[tool.isort]
|
||||||
# https://github.com/timothycrosley/isort/
|
# https://github.com/timothycrosley/isort/
|
||||||
py_version = 311
|
py_version = 312
|
||||||
line_length = 120
|
line_length = 120
|
||||||
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
|
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
|
||||||
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
||||||
@@ -178,7 +177,7 @@ known_third_party = ["Crypto", "PySide6", "coloredlogs", "dataclasses_json", "ff
|
|||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
|
# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
|
||||||
files = ["tidal_dl_ng"]
|
files = ["tidal_dl_ng"]
|
||||||
python_version = "3.11"
|
python_version = "3.12"
|
||||||
pretty = true
|
pretty = true
|
||||||
show_traceback = true
|
show_traceback = true
|
||||||
color_output = true
|
color_output = true
|
||||||
|
|||||||
@@ -1,13 +1,11 @@
|
|||||||
[tox]
|
[tox]
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
envlist = py310, py311
|
envlist = py312, py313
|
||||||
;, py312
|
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.10: py310
|
3.12: py312
|
||||||
3.11: py311
|
3.13: py313
|
||||||
; 3.12: py312
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
passenv = PYTHON_VERSION
|
passenv = PYTHON_VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user