Skip to content

Commit

Permalink
v4.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat authored Aug 26, 2024
2 parents a694bb9 + 8756f19 commit 292b40a
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 44 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ jobs:
run: |
cd /spotdl
apt update
apt install python3 python3-pip -y
pip install poetry
apt install python3-full python3-pip pipx -y
pipx ensurepath
pipx install poetry
poetry install
rm -rf dist/
mkdir dist/
Expand Down
182 changes: 147 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spotdl"
version = "4.2.6"
version = "4.2.7"
description = "Download your Spotify playlists and songs along with album art and metadata"
license = "MIT"
authors = ["spotDL Team <spotdladmins@googlegroups.com>"]
Expand All @@ -16,6 +16,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -26,9 +27,12 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
python = ">=3.8,<3.13"

spotipy = "^2.24.0"
spotipy = [
{version = "^2.23.0", python = "<=3.8"},
{version = "^2.24.0", python = ">3.8"},
]
ytmusicapi = [
{version = "^1.3.2", python = "<3.10"},
{version = "^1.4.1", python = ">=3.10"},
Expand Down Expand Up @@ -56,7 +60,7 @@ pyfakefs = "^5.6.0"
pytest-cov = "^5.0.0"
pytest-subprocess = "^1.5.2"
pytest-asyncio = "^0.21.1"
mypy = "^1.11.1"
mypy = "^1.11.2"
pylint = "^3.2.6"
black = "^24.8.0"
mdformat-gfm = "^0.3.5"
Expand Down
2 changes: 1 addition & 1 deletion spotdl/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Version module for spotdl.
"""

__version__ = "4.2.6"
__version__ = "4.2.7"
4 changes: 2 additions & 2 deletions spotdl/console/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ def web(web_settings: WebOptions, downloader_settings: DownloaderOptions):
gui_repo,
output_dir=str(web_app_dir),
)
web_app_dir = web_app_dir / "/dist"
web_app_dir = Path(os.path.join(web_app_dir, "dist")).resolve()
elif web_settings["web_gui_location"]:
web_app_dir = Path(web_settings["web_gui_location"]).resolve()
logger.info("Using custom web app location: %s", web_app_dir)
else:
logger.info(
"Using cached web app. To update use the `--force-update-gui` flag."
)
web_app_dir = web_app_dir / "/dist"
web_app_dir = Path(os.path.join(web_app_dir, "dist")).resolve()

app_state.api = FastAPI(
title="spotDL",
Expand Down

0 comments on commit 292b40a

Please sign in to comment.