FUMR / tidal-async

Python Tidal streaming service unofficial API in async fashion supporting OAuth2 authentication
GNU Lesser General Public License v2.1
21 stars 4 forks source link

Make `filelike` extra depend on `music-service-async-interface['filelike']`, not directly on `http-seekable-file['async']` #18

Open github-actions[bot] opened 3 years ago

github-actions[bot] commented 3 years ago

This issue has been automatically created by todo-actions based on a TODO comment found in pyproject.toml:22. It will automatically be closed when the TODO comment is removed from master.

JuniorJPDJ commented 3 years ago

I don't know how to do this. If someone has solution in his mind or want to look for it - please do

JuniorJPDJ commented 3 years ago

I tried doing:

"music-service-async-interface['filelike']" = { git = "https://github.com/FUMR/music-service-async-interface.git", rev = "a81d3dd8a56ef7198a752e4ffb83ee57e9835aa5", extras = ["filelike"], optional = true }

in pyproject.toml but it didn't work:

Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.

  RuntimeError

  The dependency name for music-service-async-interface['filelike'] does not match the actual package's name: music-service-async-interface

  at /usr/lib/python3.9/site-packages/poetry/puzzle/provider.py:291 in get_package_from_directory
      287│         )
      288│ 
      289│         if name and name != package.name:
      290│             # For now, the dependency's name must match the actual package's name
    → 291│             raise RuntimeError(
      292│                 "The dependency name for {} does not match the actual package's name: {}".format(
      293│                     name, package.name
      294│                 )
      295│             )