Closed loichuder closed 1 month ago
Reproduce:
from email.message import Message
from pathlib import Path
txt = Path('/users/denolf/dev/fabio/README.rst').read_text()
message = Message()
message.set_payload(txt)
_ = bytes(message)
Funny. If it is a README parsing issue, why does it show only when using --pre
:thinking: ?
Btw, the culprit character is ø
from the citation section: https://github.com/silx-kit/fabio?tab=readme-ov-file#citation
When using --pre
the message class is pyproject_metadata.RFC822Message
and without --pre
the message class is email.message.Message
.
I guess
pip install --pre fabio
Would be equivalent to
pip install -U --pre meson-python meson ninja cython
cython-3.0.11 meson-1.5.1 meson-python-0.16.0 ninja-1.11.1.1 packaging-24.0 pyproject-metadata-0.9.0b1 tomli-2.0.1
pip install --no-cache --pre fabio --no-build-isolation
pyproject-metadata-0.9.0b1
seems to be the problem (released today). With pyproject-metadata-0.8.0
it works fine and this is the one use when just doing pip install fabio
.
Reproduce for python>3.7
pip install --pre fabio --no-cache --no-binary fabio
Why can't I just say we don't support python 3.7 anymore ?
You can of course but it won't fix the bug in pyproject-metadata. You can close this issue in fact. It has nothing to do with fabio.
Fixed upstream (pyproject-metadata 0.9.0b3)
Could be reproduced on Python 3.7
Full error