question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typer-cli (0.0.12) depends on typer (>=0.3.0,<0.4.0), so typer 0.4.0 AND typer-cli 0.0.12 are incompatible

See original GitHub issue

I get this when I poetry update on my system:

$ poetry update
Updating dependencies
Resolving dependencies... (0.0s)

  SolverProblemError

  Because typer-cli (0.0.12) depends on typer (>=0.3.0,<0.4.0)
   and cb depends on typer (0.4.0), typer-cli is forbidden.
  So, because cb depends on typer-cli (0.0.12), version solving failed.

  at ~/.poetry/lib/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

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:37
  • Comments:15

github_iconTop GitHub Comments

9reactions
browningjp-datatoniccommented, Aug 10, 2022

+1 @tiangolo it would be great to get a fix for this! 🙏

7reactions
jony89commented, Aug 2, 2022

ATM I can’t install typer-cli within my typer project. When installing typer-cli globally, leaving alone the dependencies issues, it’s not possible to generate docs.

@tiangolo ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release Notes - Typer - tiangolo
Make typer.run() not add completion scripts by default, it only makes sense in installed apps. Also update docs for handling autocompletion in CLI...
Read more >
Sebastián Ramírez on Twitter: "The biggest Typer release in a ...
When your code has an error, you will have a pretty traceback by default But you can configure it in several ways. https://typer.tiangolo.com/tutorial/excep ......
Read more >
Typer Cli - :: Anaconda.org
conda-forge / packages / typer-cli 0.0.12. 0 ... Run Typer scripts with completion, without having to create a package, using Typer CLI.
Read more >
Build a Command-Line To-Do App With Python and Typer
Build a functional to-do application with a Typer CLI in Python ... Typer uses Python type hints extensively, so in this tutorial, you'll...
Read more >
Python CLI Utilities with Poetry and Typer - Pluralsight
Instead, you want to make a shareable utility, so other users can run your tool on the fly. Building your code into a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found