Opened 5 months ago

Last modified 4 months ago

#73699 new defect

py313-lxml is missing dependency on py313-cython

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-lxml

Description

--->  Building py313-lxml
Executing:  cd "/opt/local/var/macports/build/py313-lxml-e599cd95/work/lxml-6.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/py313-lxml-e599cd95/work
* Getting build dependencies for wheel...
Building lxml version 6.0.2.
Building without Cython.
Building against libxml2 2.15.2 and libxslt 1.1.45
Building against libxml2/libxslt in the following directory: /opt/local/lib
running egg_info
writing src/lxml.egg-info/PKG-INFO
writing dependency_links to src/lxml.egg-info/dependency_links.txt
writing requirements to src/lxml.egg-info/requires.txt
writing top-level names to src/lxml.egg-info/top_level.txt
reading manifest file 'src/lxml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'LICENSES.txt'
writing manifest file 'src/lxml.egg-info/SOURCES.txt'

ERROR Missing dependencies:
	Cython>=3.1.4
Command failed:  cd "/opt/local/var/macports/build/py313-lxml-e599cd95/work/lxml-6.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/python3.13 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/py313-lxml-e599cd95/work
Exit code: 1
Error: Failed to build py313-lxml: command execution failed
Error: See /opt/local/var/macports/logs/_Users_jeremy_src_macports_macports-ports_python_py-lxml/py313-lxml/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port meld failed

Change History (3)

comment:1 Changed 5 months ago by reneeotten (Renee Otten)

Hhm... it builds fine for me locally (in trace-mode and without) and also the buildbots do not appear to have an issue with it.

The Cython dependency is specified:

❯ port info py313-lxml | grep Build
Build Dependencies:   py313-cython, py313-build, py313-installer, py313-setuptools, py313-wheel

and

❯ port info --version py313-cython
version: 3.2.4

are you sure it's not picking up another, earlier Cython versions that wasn't installed through MacPorts?

comment:2 in reply to:  1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to reneeotten:

it builds fine for me locally (in trace-mode and without)

However, there is a bug where trace mode doesn't fully hide python modules, so don't rely on trace mode to be accurate where python modules are involved.

comment:3 Changed 4 months ago by reneeotten (Renee Otten)

the py-lxml version is now 6.0.4; it builds correctly on all the buildbots and also locally. As I showed above the py-Cython dependency is declared, and added correctly. You didn't respond to whether this could be a local issue, so I am inclined to close this as "worksforme". Are you still seeing the same error with the current version?

Note: See TracTickets for help on using tickets.