iamkroot/trakt-scrobbler

[BUG] cannot install trakt-scrobbler from git

soredake opened this issue · 1 comments

Describe the bug

Cannot trakt-scrobbler from git to fix #259

Desktop (please complete the following information):

  • OS and Version: Windows 11 Pro
  • Python Version: 3.12

To Reproduce

Steps to reproduce the behavior:

  1. pipx install "git+https://github.com/iamkroot/trakt-scrobbler.git"
  2. Error.

Log file

Click to see log contents

❯ pipx install --force "git+https://github.com/iamkroot/trakt-scrobbler.git"
Fatal error from pip prevented installation. Full pip output in file:
    C:\Users\user\AppData\Local\pipx\pipx\Logs\cmd_2024-01-08_22.43.46_pip_errors.log

pip seemed to fail to build package:
    desktop-notifier@

Some possibly relevant errors from pip install:
    error: pathspec 'dependabot/pip/winsdk-1.0.0b10' did not match any file(s) known to git
    error: subprocess-exited-with-error

Error installing trakt-scrobbler from spec 'git+https://github.com/iamkroot/trakt-scrobbler.git'.



PIP STDOUT
----------
Collecting git+https://github.com/iamkroot/trakt-scrobbler.git
  Cloning https://github.com/iamkroot/trakt-scrobbler.git to c:\users\user\appdata\local\temp\pip-req-build-o3uuom96
  Resolved https://github.com/iamkroot/trakt-scrobbler.git to commit 73e628bbc4ecc7ad6b9a2f40dd98b5083f7c4090
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting desktop-notifier@ git+https://github.com/samschott/desktop-notifier.git@dependabot/pip/winsdk-1.0.0b10 (from trakt-scrobbler==1.6.3)
  Cloning https://github.com/samschott/desktop-notifier.git (to revision dependabot/pip/winsdk-1.0.0b10) to c:\users\user\appdata\local\temp\pip-install-a2pjndbe\desktop-notifier_14b47507a85642c19a3330a1f14425dd

PIP STDERR
----------
  Running command git clone --filter=blob:none --quiet https://github.com/iamkroot/trakt-scrobbler.git 'C:\Users\user\AppData\Local\Temp\pip-req-build-o3uuom96'
  Running command git clone --filter=blob:none --quiet https://github.com/samschott/desktop-notifier.git 'C:\Users\user\AppData\Local\Temp\pip-install-a2pjndbe\desktop-notifier_14b47507a85642c19a3330a1f14425dd'
  WARNING: Did not find branch or tag 'dependabot/pip/winsdk-1.0.0b10', assuming revision or ref.
  Running command git checkout -q dependabot/pip/winsdk-1.0.0b10
  error: pathspec 'dependabot/pip/winsdk-1.0.0b10' did not match any file(s) known to git
  error: subprocess-exited-with-error
  
  × git checkout -q dependabot/pip/winsdk-1.0.0b10 did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git checkout -q dependabot/pip/winsdk-1.0.0b10 did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Haha, looks like our dependency desktop-notifier got updated just 30 minutes ago. I'm guessing they plan to release a new version soon. Will update our requirements once that happens.
In short, please wait a few hours - will release a fix once desktop-notifier is updated.