summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-12-17 09:45:10 +0100
committerRobert Honz <exislow+github@gmail.com>2024-12-17 09:45:10 +0100
commit6ef9c4ba1e10268575013204d6cd068ea4cf91be (patch)
tree6c758622f8a1eba0670bea64cfda69a5b01c0ad8
parentd8cc4215f25898243812da64ec2c13d00dc8d466 (diff)
downloadtidal-dl-ng-6ef9c4ba1e10268575013204d6cd068ea4cf91be.tar.gz
👷 Minimum Python version is now 3.12.
-rw-r--r--.github/workflows/master.yml2
-rw-r--r--.pre-commit-config.yaml2
-rw-r--r--README.md2
-rw-r--r--poetry.lock8
-rw-r--r--pyproject.toml13
-rw-r--r--tox.ini8
6 files changed, 16 insertions, 19 deletions
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index 56a6618..e8bfefe 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ["3.10", "3.11"] # , "3.12"
+ python-version: ["3.12", "3.13"]
fail-fast: false
steps:
- name: Check out
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 94c1678..4fd4d2f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,5 @@
default_language_version:
- python: python3.11
+ python: python3.12
default_stages: [commit, push]
diff --git a/README.md b/README.md
index f36c0eb..ccded9c 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,7 @@ If you like this projects and want to support it, you can buy me a coffee :-)
## 💻 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
pip install --upgrade tidal-dl-ng
diff --git a/poetry.lock b/poetry.lock
index d8de7f9..ce4272e 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1687,13 +1687,13 @@ six = ">=1.5"
[[package]]
name = "pyupgrade"
-version = "3.19.0"
+version = "3.19.1"
description = "A tool to automatically upgrade syntax for newer versions."
optional = false
python-versions = ">=3.9"
files = [
- {file = "pyupgrade-3.19.0-py2.py3-none-any.whl", hash = "sha256:1364fcae4436a6a236a85960587390ec8a939ad0f65f429346f70a5f201c1489"},
- {file = "pyupgrade-3.19.0.tar.gz", hash = "sha256:7ed4b7d972ed2788c43994f4a24f949d5bf044342992f3b48e1bed0092ddaa01"},
+ {file = "pyupgrade-3.19.1-py2.py3-none-any.whl", hash = "sha256:8c5b0bfacae5ff30fa136a53eb7f22c34ba007450d4099e9da8089dabb9e67c9"},
+ {file = "pyupgrade-3.19.1.tar.gz", hash = "sha256:d10e8c5f54b8327211828769e98d95d95e4715de632a3414f1eef3f51357b9e2"},
]
[package.dependencies]
@@ -2040,7 +2040,7 @@ typing-extensions = "^4.12.2"
type = "git"
url = "git@github.com:exislow/python-tidal.git"
reference = "309-file-extension"
-resolved_reference = "2f4a0dcc93fe40748c1ff0fd4773c9a6eeb6cc36"
+resolved_reference = "ac84d7c656c6eb1cc067e4be2f272fc22c038a1c"
[[package]]
name = "tokenize-rt"
diff --git a/pyproject.toml b/pyproject.toml
index be889aa..e509bd4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -14,9 +14,8 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
]
[tool.poetry.scripts]
@@ -26,7 +25,7 @@ tdn = "tidal_dl_ng.cli:app"
tdng = "tidal_dl_ng.gui:gui_activate"
[tool.poetry.dependencies]
-python = ">=3.10,<3.13"
+python = ">=3.12,<=3.13"
requests = "~2.32.3"
mutagen = "^1.47.0"
pycryptodome = "^3.21.0"
@@ -84,7 +83,7 @@ build-backend = "poetry.core.masonry.api"
testpaths = ["tests"]
[tool.ruff]
-target-version = "py311"
+target-version = "py312"
line-length = 120
fix = true
# Overview: https://docs.astral.sh/ruff/rules/
@@ -138,7 +137,7 @@ ignore = [
[tool.black]
# https://github.com/psf/black
-target-version = ["py311"]
+target-version = ["py312"]
line-length = 120
color = true
preview = true
@@ -164,7 +163,7 @@ exclude = '''
[tool.isort]
# https://github.com/timothycrosley/isort/
-py_version = 311
+py_version = 312
line_length = 120
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
@@ -178,7 +177,7 @@ known_third_party = ["Crypto", "PySide6", "coloredlogs", "dataclasses_json", "ff
[tool.mypy]
# https://mypy.readthedocs.io/en/latest/config_file.html#using-a-pyproject-toml-file
files = ["tidal_dl_ng"]
-python_version = "3.11"
+python_version = "3.12"
pretty = true
show_traceback = true
color_output = true
diff --git a/tox.ini b/tox.ini
index 490e5f3..2cf5b98 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,11 @@
[tox]
skipsdist = true
-envlist = py310, py311
-;, py312
+envlist = py312, py313
[gh-actions]
python =
- 3.10: py310
- 3.11: py311
-; 3.12: py312
+ 3.12: py312
+ 3.13: py313
[testenv]
passenv = PYTHON_VERSION