spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.44k stars 1.6k forks source link

installing python-typing_extensions (4.11.0-1) breaks dependency 'python-typing-extensions' required by python-spotdl #2077

Closed periode closed 6 months ago

periode commented 6 months ago

System OS

Linux

Python Version

3.11 (CPython)

Install Source

Arch User Repository (Unofficial)

Install version / commit hash

4.2.5-5

Expected Behavior vs Actual Behavior

Excpected: Updates all python dependencies

Actual: When running pacman -Syyu (system update), updating python-typing_extensions causes the following:

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-typing_extensions (4.11.0-1) breaks dependency 'python-typing-extensions' required by python-spotdl
 -> error installing repo packages

Steps to reproduce - Ensure to include actual links!

  1. Install python-typing_extensions 4.11 with pacman -Syu python-typing_extensions
  2. Install spotdl 4.2.5-5 with pacman -Syu spotdl
  3. Refuses to updated step 2

Traceback

pierre_archpierre_~__ yay -Syyu spotdl                                                                                                                                                                                                         
:: Synchronizing package databases...                                                                                                                                                                                                          
 core                                       123.7 KiB   809 KiB/s 00:00 [########################################] 100%                                                                                                                        
 extra                                        7.8 MiB  3.64 MiB/s 00:02 [########################################] 100%                                                                                                                        
 community                                   45.0   B  1666   B/s 00:00 [########################################] 100%                                                                                                                        
:: Searching AUR for updates...                                                                                                                                                                                                                
:: Searching databases for updates...                                                                                                                                                                                                          
 -> postgresql: ignoring package upgrade (15.3-2 => 16.2-2)                                                                                                                                                                                    
 -> Packages not in AUR: gnome-books  python-spotdl  tracker  tracker-miners  vino                                                                                                                                                             
 -> Missing AUR Debug Packages: act-debug  fritzing-debug  tagutil-debug                                                                                                                                                                       
 -> Orphan (unmaintained) AUR Packages: python-pytest-runner                                                                                                                                                                                   
 -> Flagged Out Of Date AUR Packages: code-marketplace                                                                                                                                                                                         
:: 12 packages to upgrade/install.                                                                                                                                                                                                             
12  extra/python-typing_extensions  4.10.0-1 -> 4.11.0-1                                                                                                                                                                                       
11  aur/ffmpeg-normalize            1.27.7-1 -> 1.27.7-2                                                                                                                                                                                       
10  aur/nexttrace                   1.2.9-1  -> 1.3.0-1                                                                                                                                                                                        
 9  aur/protonmail-bridge           3.8.2-2  -> 3.10.0-1                                                                                                                                                                                       
 8  aur/protonmail-bridge-core      3.8.2-2  -> 3.10.0-1                                                                                                                                                                                       
 7  aur/python-pandoc-include       1.3.1-1  -> 1.3.1-2                                                                                                                                                                                        
 6  aur/python-pykakasi             2.2.1-7  -> 2.2.1-8                                                                                                                                                                                        
 5  aur/python-pytest-runner        6.0.1-1  -> 6.0.1-2                                                                                                                                                                                        
 4  aur/python-soundcloud-v2        1.3.7-1  -> 1.3.7-2                                                                                                                                                                                        
 3  aur/python-syncedlyrics         0.9.0-1  -> 0.9.0-2                                                                                                                                                                                        
 2  aur/sentry-native               0.6.7-2  -> 0.7.2-1                                                                                                                                                                                        
 1  aur/spotdl                               -> 4.2.5-5                                                                                                                                                                                        
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)                                                                                                                                                                               
 -> Excluding packages may cause partial upgrades and break systems                                                                                                                                                                            
==> 2                                                                                                                                                                                                                                          
AUR Dependency (3): python-syncedlyrics-0.9.0-2, python-soundcloud-v2-1.3.7-2, python-pykakasi-2.2.1-8                                                                                                                                         
AUR Explicit (5): nexttrace-1.3.0-1, spotdl-4.2.5-5, python-pandoc-include-1.3.1-2, ffmpeg-normalize-1.27.7-2, python-pytest-runner-6.0.1-2                                                                                                    
Sync Dependency (1): python-typing_extensions-4.11.0-1                                                                                                                                                                                         
:: PKGBUILD up to date, skipping download: python-pykakasi                                                                                                                                                                                     
:: PKGBUILD up to date, skipping download: python-pytest-runner                                                                                                                                                                                
:: PKGBUILD up to date, skipping download: python-syncedlyrics                                                                                                                                                                                 
:: PKGBUILD up to date, skipping download: nexttrace                                                                                                                                                                                           
:: PKGBUILD up to date, skipping download: python-soundcloud-v2                                                                                                                                                                                
:: PKGBUILD up to date, skipping download: python-pandoc-include                                                                                                                                                                               
:: PKGBUILD up to date, skipping download: ffmpeg-normalize                                                                                                                                                                                    
:: (1/1) Downloaded PKGBUILD: spotdl                                                                                                                                                                                                           
==> Making package: python-pykakasi 2.2.1-8 (Mon 29 Apr 2024 02:32:10 PM CEST)                                                                                                                                                                 
==> Retrieving sources...                                                                                                                                                                                                                      
  -> Updating pykakasi git repo...                                                                                                                                                                                                             
==> WARNING: Skipping verification of source file PGP signatures.                                                                                                                                                                              
==> Validating source files with b2sums...                                                                                                                                                                                                     
    pykakasi ... Passed                                                                                                                                                                                                                        
==> Making package: python-pytest-runner 6.0.1-2 (Mon 29 Apr 2024 02:32:12 PM CEST)                                                                                                                                                            
==> Retrieving sources...                                                                                                                                                                                                                      
  -> Updating pytest-runner git repo...                                                                                                                                                                                                        
==> WARNING: Skipping verification of source file PGP signatures.                                                                                                                                                                              
==> Validating source files with sha512sums...                                                                                                                                                                                                 
    pytest-runner ... Skipped                                                                                                                                                                                                                  
==> Making package: python-syncedlyrics 0.9.0-2 (Mon 29 Apr 2024 02:32:14 PM CEST)                                                                                                                                                             
==> Retrieving sources...  
  -> Found syncedlyrics-0.9.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    syncedlyrics-0.9.0.tar.gz ... Passed
==> Making package: nexttrace 1.3.0-1 (Mon 29 Apr 2024 02:32:16 PM CEST)
==> Retrieving sources...
  -> Updating NTrace-core git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    NTrace-core ... Passed
==> Making package: spotdl 4.2.5-5 (Mon 29 Apr 2024 02:32:18 PM CEST)
==> Retrieving sources...
  -> Downloading spotdl-4.2.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2286k    0 2286k    0     0  2256k      0 --:--:--  0:00:01 --:--:-- 2893k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    spotdl-4.2.5.tar.gz ... Passed
==> Making package: python-soundcloud-v2 1.3.7-2 (Mon 29 Apr 2024 02:32:21 PM CEST)
==> Retrieving sources...
  -> Found soundcloud-v2-1.3.7.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    soundcloud-v2-1.3.7.tar.gz ... Passed
==> Making package: python-pandoc-include 1.3.1-2 (Mon 29 Apr 2024 02:32:23 PM CEST)
==> Retrieving sources...
  -> Found pandoc-include-1.3.1.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    pandoc-include-1.3.1.tar.gz ... Passed
==> Making package: ffmpeg-normalize 1.27.7-2 (Mon 29 Apr 2024 02:32:25 PM CEST)
==> Retrieving sources...
  -> Found ffmpeg-normalize-1.27.7.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    ffmpeg-normalize-1.27.7.tar.gz ... Passed
:: (1/8) Parsing SRCINFO: python-pykakasi
:: (2/8) Parsing SRCINFO: python-pytest-runner
:: (3/8) Parsing SRCINFO: python-syncedlyrics
:: (4/8) Parsing SRCINFO: nexttrace
:: (5/8) Parsing SRCINFO: spotdl
:: (6/8) Parsing SRCINFO: python-soundcloud-v2
:: (7/8) Parsing SRCINFO: python-pandoc-include
:: (8/8) Parsing SRCINFO: ffmpeg-normalize
:: Synchronizing package databases...
 core                                       123.7 KiB  1201 KiB/s 00:00 [########################################] 100%
 extra                                        7.8 MiB  3.69 MiB/s 00:02 [########################################] 100%
 community                                   45.0   B  1323   B/s 00:00 [########################################] 100%
:: Starting full system upgrade...
warning: postgresql: ignoring package upgrade (15.3-2 => 16.2-2)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-typing_extensions (4.11.0-1) breaks dependency 'python-typing-extensions' required by python-spotdl
 -> error installing repo packages

Other details

No response

randomscumbag commented 6 months ago

I had this this morning. I uninstalled spotdl updated system rebooted. Reinstalled spotdl. Then I had to run python -m spotdl and the link. After that I could run just spotdl. Hope this helps.

periode commented 6 months ago

Yep, looks like the 3.12 python update broke a few packages. I had to reinstall ffmpeg-normalize first and then python-spotdl and now it's smooth :)

Faervan commented 6 months ago

I had this this morning. I uninstalled spotdl updated system rebooted. Reinstalled spotdl. Then I had to run python -m spotdl and the link. After that I could run just spotdl. Hope this helps.

What link are you referring to?

omnigenous commented 6 months ago

Had to yay -Runs python-spotdl and yay -S python-spotdl on my system