-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Error] Emoji in markdown #7
Comments
Strange that it works with Python 3.10 on Linux but fails on Mac in your tests. Maybe it's a bug in how we open/read the test files on Mac, or maybe it's a bug in |
Yes, I think it's bug in |
@guedesfelipe, since you're comparing 3.10 with Python 3.8 and 3.9, did you download and install all three from the same place? Are all three using lxml 4.9.1, installed from the official wheels? If you're unsure, maybe you can retry this with clean venvs and check during the package installation that that's the case. It's CPython doing the decoding here, so I would like to rule out distribution specific differences. |
Yes, he's using the actions/setup-python GitHub action with the python version matrix here:
Yes, lxml is installed with pip so it's using the official wheel since pip prefers wheel over source installs when selecting install candidates. |
Ok, this is because of https://bugs.launchpad.net/lxml/+bug/1980575. I removed the Py3.10 macOS wheel from PyPI because it was built incorrectly, so pip now does a source build for Py3.10. This apparently leads to issues like this on GHA/macOS. The macOS build of lxml is generally unmaintained and therefore the wheels provided as they are, without support. PRs are welcome to improve the situation, specifically to provide correct wheels on Py3.10 again. |
> Are all three using lxml 4.9.1, installed from the official wheels?
Yes, lxml is installed with pip so it's using the official wheel since
pip prefers wheel over source installs when selecting install candidates.
Ah, that's the difference then. The macOS binary wheel for 3.10 has been found to be built incorrectly and removed from PyPI. Pip therefore builds its own local version, using suboptimal libraries (or whatever makes the difference here).
It's currently unclear when a replacement can be provided for Py3.10 since no affected macOS user has stepped up yet to fix the build. So the situation may remain as it is for a while.
|
Config:
Error in
tag.text
:readtime/readtime/utils.py
Line 105 in 7efe13b
I don't know why, but only with this configuration the error appears. I with python 3.8 and 3.9 works perfectly.
More infos you can see here
The text was updated successfully, but these errors were encountered: