#67011 closed defect (fixed)

py-pipdeptree: build fails – no setup.py

Reported by: wltb Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: py-pipdeptree

Description

Trying to upgrade to latest version fails. In the log file I find

:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pipdeptree/py310-pipdeptree/work/pipdeptree-2.5.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j2 
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10: can't open file '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pipdeptree/py310-pipdeptree/work/pipdeptree-2.5.0/setup.py': [Errno 2] No such file or directory

And indeed, setup.py was removed by upstream. They noted that with 2.3.0, pipdeptree Moved to a package layout, which hopefully helps to fix the port.

Change History (3)

comment:1 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to herbygillot
Status: newassigned
Summary: build fails – no setup.pypy-pipdeptree: build fails – no setup.py
Version: 2.8.1

comment:2 Changed 21 months ago by jmroot (Joshua Root)

The more relevant changelog entry is:

Now packaged via hatchling instead of setuptools

comment:3 Changed 21 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 2f7ae4309fe54c4b3b3c5aa39dcd605da209a026/macports-ports (master):

py-pipdeptree: fix build of py <= 310 subports

Closes: #67011

Note: See TracTickets for help on using tickets.