[MacPorts] #63442: py39-black @21.8b0_0: No matching distribution found for setuptools_scm~=6.0.1 (was: py39-black @21.8b0_0: cannot be installed or upgraded)
MacPorts
noreply at macports.org
Fri Sep 3 22:50:55 UTC 2021
#63442: py39-black @21.8b0_0: No matching distribution found for
setuptools_scm~=6.0.1
-----------------------+----------------------
Reporter: JD-Veiga | Owner: danchr
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: py-black |
-----------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* cc: danchr@… (removed)
* owner: (none) => danchr
* port: py39-black => py-black
Old description:
> Hi,
>
> When trying to install (or upgrade) py39-black, it fails:
>
> {{{
> Executing: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> black/py39-black/work/black-21.8b0" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
> setup.py --no-user-cfg build -j4
> WARNING: The index url "''" seems invalid, please provide a scheme.
> WARNING: Location '''/setuptools-scm/' is ignored: it is either a non-
> existing path or lacks a specific scheme.
> WARNING: Location '''' is ignored: it is either a non-existing path or
> lacks a specific scheme.
> ERROR: Could not find a version that satisfies the requirement
> setuptools_scm~=6.0.1 (from versions: none)
> ERROR: No matching distribution found for setuptools_scm~=6.0.1
> Traceback (most recent call last):
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/installer.py", line 75, in fetch_build_egg
> subprocess.check_call(cmd)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py",
> line 373, in check_call
> raise CalledProcessError(retcode, cmd)
> subprocess.CalledProcessError: Command
> '['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9',
> '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> black/py39-black/work/.tmp/tmp_i6xcbz0', '--quiet', '--index-url', "''",
> '--find-links', "''", 'setuptools_scm~=6.0.1']' returned non-zero exit
> status 1.
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> black/py39-black/work/black-21.8b0/setup.py", line 48, in <module>
> setup(
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/__init__.py", line 152, in setup
> _install_setup_requires(attrs)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/__init__.py", line 147, in
> _install_setup_requires
> dist.fetch_build_eggs(dist.setup_requires)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
> resolved_dists = pkg_resources.working_set.resolve(
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/pkg_resources/__init__.py", line 766, in resolve
> dist = best[req.key] = env.best_match(
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/pkg_resources/__init__.py", line 1051, in best_match
> return self.obtain(req, installer)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/pkg_resources/__init__.py", line 1063, in obtain
> return installer(requirement)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/dist.py", line 844, in fetch_build_egg
> return fetch_build_egg(self, req)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
> /site-packages/setuptools/installer.py", line 77, in fetch_build_egg
> raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: Command
> '['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9',
> '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
> '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> black/py39-black/work/.tmp/tmp_i6xcbz0', '--quiet', '--index-url', "''",
> '--find-links', "''", 'setuptools_scm~=6.0.1']' returned non-zero exit
> status 1.
> Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> black/py39-black/work/black-21.8b0" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
> setup.py --no-user-cfg build -j4
> Exit code: 1
> Error: Failed to build py39-black: command execution failed
> }}}
>
> Running on:
>
> macports 2.7.1
> py39-setuptools_scm @6.0.1_0 (active)
> Python 3.9.7
> macOS 10.14.6 (Mojave)
>
> Thank you.
New description:
Hi,
When trying to install (or upgrade) py39-black, it fails:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
black/py39-black/work/black-21.8b0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
setup.py --no-user-cfg build -j4
WARNING: The index url "''" seems invalid, please provide a scheme.
WARNING: Location '''/setuptools-scm/' is ignored: it is either a non-
existing path or lacks a specific scheme.
WARNING: Location '''' is ignored: it is either a non-existing path or
lacks a specific scheme.
ERROR: Could not find a version that satisfies the requirement
setuptools_scm~=6.0.1 (from versions: none)
ERROR: No matching distribution found for setuptools_scm~=6.0.1
Traceback (most recent call last):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py",
line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command
'['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9',
'-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
black/py39-black/work/.tmp/tmp_i6xcbz0', '--quiet', '--index-url', "''",
'--find-links', "''", 'setuptools_scm~=6.0.1']' returned non-zero exit
status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
black/py39-black/work/black-21.8b0/setup.py", line 48, in <module>
setup(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/__init__.py", line 147, in
_install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 766, in resolve
dist = best[req.key] = env.best_match(
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 1051, in best_match
return self.obtain(req, installer)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/pkg_resources/__init__.py", line 1063, in obtain
return installer(requirement)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
return fetch_build_egg(self, req)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command
'['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9',
'-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
black/py39-black/work/.tmp/tmp_i6xcbz0', '--quiet', '--index-url', "''",
'--find-links', "''", 'setuptools_scm~=6.0.1']' returned non-zero exit
status 1.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
black/py39-black/work/black-21.8b0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
setup.py --no-user-cfg build -j4
Exit code: 1
Error: Failed to build py39-black: command execution failed
}}}
Running on:
macports 2.7.1\\
py39-setuptools_scm @6.0.1_0 (active)\\
Python 3.9.7\\
macOS 10.14.6 (Mojave)
Thank you.
--
--
Ticket URL: <https://trac.macports.org/ticket/63442#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list