-
Notifications
You must be signed in to change notification settings - Fork 71
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
all dataclasses in markdown_it throw errors when a different dependency tries to import it #257
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
@DougStoker I've edited your issue for legibility. I can't reproduce this. I know that python -m pip list -vv
python --version
python -c "from markdown_it import MarkdownIt" |
thanks @agoose77, I note it says the version is "3.10.0a7", perhaps it wasn't added by then, but indeed a very niche case to be using this particular Python alpha release 😅 |
Good spot, I didn't look at the venv path! |
(base) Douglass-MacBook-Pro:~ doug$ python -m pip list -vv absl-py 1.3.0 /Users/doug/.pyenv/versions/3.10.0a7/lib/python3.10/site-packages pip I didn't even realize I was using an alpha version |
@DougStoker thanks! The short answer is that this is a bug, though it's odd that you are you using an alpha version of an older Python release. I'd suggest upgrading as the easiest solution. The fix for this would be this PR: #258 |
Describe the bug
Importing a library that depends upon
markdown_it
leads to traceback.Reproduce the bug
List your environment
The text was updated successfully, but these errors were encountered: