Opened 3 years ago

Closed 3 years ago

#64684 closed defect (fixed)

py39-nose @1.3.7_2 does not install working nosetests-3.9 binary / symlink

Reported by: hmeine (Hans Meine) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-nose

Description

I have installed py39-nose @1.3.7_2, but the nosetests-3.9 command is not working. The package installed the following symlink:

lrwxr-xr-x  1 root  admin  77 15 Jan 23:58 /opt/local/bin/nosetests-3.9@ -> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/nosetests-3.9

but the real binary does not have the version suffix, therefore the symlink is dangling:

-rwxr-xr-x  1 root  wheel  138 15 Jan 23:58 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/nosetests

One consequence is that port select won't work:

# sudo port select nosetests nosetests39
Selecting 'nosetests39' for 'nosetests' failed: could not create new link "/opt/local/bin/nosetests": target "/opt/local/bin/nosetests-3.9" doesn't exist

Change History (2)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to MarcusCalhoun-Lopez
Port: py-nose added
Status: newassigned

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In f3eb6db45decd328decb66ebf70ed326a72f23f4/macports-ports (master):

py-nose: fix install of unversioned console_script

  • use setuptools.setup instaed of upstream's patched file setup3lib.py

Closes: #64684

Note: See TracTickets for help on using tickets.