Opened 4 months ago
Last modified 4 months ago
#19068 new enhancement
lxml-5.0.0 (Python Module) (Wait for Cython-3 to be in the book)
Reported by: | Douglas R. Reno | Owned by: | blfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 99-Waiting |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
New major version
Change History (2)
comment:1 by , 4 months ago
Milestone: | 12.1 → 99-Waiting |
---|---|
Summary: | lxml-5.0.0 (Python Module) → lxml-5.0.0 (Python Module) (Wait for Cython-3 to be in the book) |
comment:2 by , 4 months ago
Unlike the book I don't need the things you are waiting for.
Adding Cython 3.0.7 and building lxml 5.0.0 does build successfully and the resulting lxml does appear to work on a spot check of two packages that use it. You do however need the --with-cython flag in the lxml build to avoid those undefineds.
The closest I am able to come to the standard workflow replaces the "pip3 wheel" with
python3 setup.py bdist_wheel --with-cython
as suggested by https://lxml.de/build.html
Note:
See TracTickets
for help on using tickets.
This package will require Cython-3.x. We can't upgrade to Cython-3.x at the moment though due to pyyaml. It looks like pyyaml needs some significant changes to get there, and it was pinned at a prior version of Cython at https://github.com/yaml/pyyaml/pull/702
If we try to build lxml right now, we'll get:
The members that it mentions were added in Cython-3. Looking over at requirements.txt confirms this:
Moving to 99-waiting...