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

Upgrade latest version PyYAML (6.0.1) and mistune (3.0.1) #219

Open
duke-mai opened this issue Jul 19, 2023 · 1 comment
Open

Upgrade latest version PyYAML (6.0.1) and mistune (3.0.1) #219

duke-mai opened this issue Jul 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@duke-mai
Copy link

Describe the Feature Request
PyYAML and mistune to allow latest version to avoid conflict over dependencies

@duke-mai duke-mai added the enhancement New feature or request label Jul 19, 2023
@Genzer
Copy link

Genzer commented Oct 20, 2023

Using lookatme==2.5.5 with mistune==3.0.1 I got error

File "<REDACTED>/trying-lookatme/.venv/lib/python3.11/site-packages/mistune/block_parser.py", line 435, in parse
    while state.cursor < state.cursor_max:
          ^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'cursor'

Here what worked for me:

# Install all requirements overwriting only PyYAML
$> cat <<OVERWRITE | pip install -r /dev/stdin
marshmallow>=3.17.0,<4
Click>=7,<9
PyYAML==6.0.1
mistune>=0.8,<1
urwid>=2,<3
Pygments>=2,<3
OVERWRITE

$> pip install --no-deps lookatme==2.5.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants