Opened 2 years ago

Closed 2 years ago

#65437 closed defect (fixed)

py-setuptools_scm @7.0.4_0 missing dependencies

Reported by: cqexbesd (Andrew Stevenson) Owned by: stromnov (Andrey Stromnov)
Priority: Low Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: larryv (Lawrence Velázquez), reneeotten (Renee Otten), Schamschula (Marius Schamschula), jmroot (Joshua Root)
Port: py-setuptools_scm

Description

When I try to upgrade or install py38-virtualenv It fails due to a missing pip module.

/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8: No module named pip
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-virtualenv/py38-virtualenv/work/.tmp/tmp9jdg64k2', '--quiet', '--index-url', "''", '--find-links', "''", 'typing-extensions']' returned non-zero exit status 1.

Presumably it should declare a dependency on py-pip.

Change History (4)

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

It's only running pip to try to install typing-extensions, so that's the actual missing dependency.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Doesn't seem to be a direct dependency of virtualenv though, maybe via another dependency.

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

Cc: reneeotten Schamschula jmroot added
Owner: changed from reneeotten to stromnov
Port: py-setuptools_scm added; py-virtualenv removed
Summary: py-virtualenv 20.15.1: missing dependency on pippy-setuptools_scm @7.0.4_0 missing dependencies

comment:4 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 236c97a31b9a7b57ae193dc50533017eb21272cb/macports-ports (master):

py-setuptools_scm: add missing deps

Fixes: #65437

Note: See TracTickets for help on using tickets.