Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SolverProblemError with same version but different build #4863

Closed
3 tasks done
alealv opened this issue Dec 2, 2021 · 2 comments
Closed
3 tasks done

SolverProblemError with same version but different build #4863

alealv opened this issue Dec 2, 2021 · 2 comments
Labels
kind/bug Something isn't working as expected

Comments

@alealv
Copy link

alealv commented Dec 2, 2021

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Linux 2 5.4.0-71-generic Ubuntu x86_64 GNU/Linux
  • Poetry version: Poetry version 1.1.12
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

When installing torch and torchaudio for CUDA-11.3 from URL I got the following dependency issue. I believe this shouldn't break because torch version is 1.10.0 but with a specified build.

Updating dependencies
Resolving dependencies... (103.3s)

  SolverProblemError

  Because torchaudio (0.10.0+cu113) depends on torch (1.10.0)
   and tts-train depends on torch (1.10.0+cu113), torchaudio is forbidden.
  So, because tts-train depends on torchaudio (0.10.0+cu113), version solving failed.

  at ~/.local/pipx/venvs/poetry/lib/python3.8/site-packages/poetry/puzzle/solver.py:241 in _solve
      237│             packages = result.packages
      238│         except OverrideNeeded as e:
      239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
      240│         except SolveFailure as e:
    → 241│             raise SolverProblemError(e)
      242│
      243│         results = dict(
      244│             depth_first_search(
      245│                 PackageNode(self._package, packages), aggregate_package_nodes
@alealv alealv added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 2, 2021
@alealv
Copy link
Author

alealv commented Dec 2, 2021

this is a duplicate from #4231

Closing

@alealv alealv closed this as completed Dec 2, 2021
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants