Coder Social home page Coder Social logo

Comments (3)

NeolithEra avatar NeolithEra commented on June 6, 2024 1

Solution

  1. Loosen the version range of colorama to be <=0.3.7.
  2. Remove your direct dependency colorama, and use the colorama transitively introduced by backtrace.
  3. Ask your direct dependency backtrace to loosen the version range of colorama to be >=0.3.7.
    @vaaaaanquish Which solution do you prefer, 1 ,2 or 3?
    Please let me know your choice. May I pull a request to solve this issue?

from xontrib-readable-traceback.

vaaaaanquish avatar vaaaaanquish commented on June 6, 2024

@NeolithEra Thanks.
I prefer 2 or 3. The reason is simple, we don't want to lower the version.
I think the safest and fast way is 2.

May I pull a request to solve this issue?

Of course you're welcome.

from xontrib-readable-traceback.

hemna avatar hemna commented on June 6, 2024

I hit this as well today, making this xontrib not work.

╰─ $ xpip install xontrib-readable-traceback
Requirement already satisfied: xontrib-readable-traceback in /Users/i530566/.pyenv/versions/3.8.7/lib/python3.8/site-packages (0.3.2)
Requirement already satisfied: backtrace in /Users/i530566/.pyenv/versions/3.8.7/lib/python3.8/site-packages (from xontrib-readable-traceback) (0.2.1)
Requirement already satisfied: colorama>=0.3.7 in /Users/i530566/.pyenv/versions/3.8.7/lib/python3.8/site-packages (from xontrib-readable-traceback) (0.4.4)
Collecting colorama>=0.3.7
  Using cached colorama-0.3.7-py2.py3-none-any.whl (19 kB)
Installing collected packages: colorama
  Attempting uninstall: colorama
    Found existing installation: colorama 0.4.4
    Uninstalling colorama-0.4.4:
      Successfully uninstalled colorama-0.4.4
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
rich 9.12.4 requires colorama<0.5.0,>=0.4.0, but you have colorama 0.3.7 which is incompatible.
╰─ $ xonfig
+------------------+----------------------+
| xonsh            | 0.9.27               |
| Git SHA          | 71fe9014             |
| Commit Date      | Jan 29 08:58:58 2021 |
| Python           | 3.8.7                |
| PLY              | 3.11                 |
| have readline    | True                 |
| prompt toolkit   | 3.0.16               |
| shell type       | prompt_toolkit       |
| pygments         | 2.8.0                |
| on posix         | True                 |
| on linux         | False                |
| on darwin        | True                 |
| on windows       | False                |
| on cygwin        | False                |
| on msys2         | False                |
| is superuser     | False                |
| default encoding | utf-8                |
| xonsh encoding   | utf-8                |
| encoding errors  | surrogateescape      |
| on jupyter       | False                |
| jupyter kernel   | None                 |
| xontrib 1        | abbrevs              |
| xontrib 2        | argcomplete          |
| xontrib 3        | autovox              |
| xontrib 4        | autoxsh              |
| xontrib 5        | avox                 |
| xontrib 6        | avox_poetry          |
| xontrib 7        | back2dir             |
| xontrib 8        | cmd_done             |
| xontrib 9        | commands             |
| xontrib 10       | coreutils            |
| xontrib 11       | direnv               |
| xontrib 12       | docker_tabcomplete   |
| xontrib 13       | fzf-widgets          |
| xontrib 14       | gitinfo              |
| xontrib 15       | histcpy              |
| xontrib 16       | readable-traceback   |
| xontrib 17       | vox                  |
| xontrib 18       | voxapi               |
| xontrib 19       | z                    |
+------------------+----------------------+

from xontrib-readable-traceback.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.