Closed frenck closed 11 months ago
Can we reopen this issue @BenjiU?
The issue has been marked solved, but is actually not correctly resolved. The current dependency states PyYAML 6.0.0 is working, but it is not.
If you rather have a new issue created, please let me know.
../Frenck
Yes, of course. What does not work?
In #325, you've pinned PyYAML to ^6.0
, meaning 6.0.0
would be a valid version to use.
See: https://github.com/flyte/mqtt-io/blob/0317539150e15e6ed5fd4c11e0b9d88294e7970a/pyproject.toml#L12
However, 6.0.0
has the exact same problem as I have reported in this GitHub issue. As pointed out in the possible solutions section in the issue report, you need to pin 6.0.1
as a minimum to resolve the issue, or, pin Cython (which is more of a workaround).
The recommendation in this case, would be setting 6.0.1
for the lower bound.
See also the linked releases and changes upstream in PyYAML, as linked in the issue description.
../Frenck
Yeah, okay. But ist this a practical problem? Because IT pulls the 6.0.1 version:
#42 260.3 Created wheel for pyyaml: filename=PyYAML-6.0.1-cp38-cp38-linux_armv7l.whl size=542410
Yes, that is a practical problem, the pinned version is simply not correct.
If one already has 6.0.0 in cache as a pip download it may cause issues. There are also other depencies in a users environment that are now not locked and assumptions have been made.
Thanks, @BenjiU 👍
../Frenck
Describe the bug
pip install
with everything latest greatest in a clean environment will pull in cython 3.0.0, which will not work with the PyYAML version pinned by this project.Expected behavior
To be able to install.
Error messages and traceback
Config
Hardware
System:
Additional context
This issue has been solved in PyYAML 6.0.1
Changelog: https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES#L7 Ref: https://github.com/yaml/pyyaml/compare/6.0...6.0.1
Possible solutions