Opened 3 years ago
Closed 3 years ago
#63442 closed defect (fixed)
py39-black @21.8b0_0: No matching distribution found for setuptools_scm~=6.0.1
Reported by: | JD-Veiga | Owned by: | danchr (Dan Villiom Podlaski Christiansen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | ||
Port: | py-black |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Change History (5)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | danchr@… removed |
---|---|
Description: | modified (diff) |
Owner: | set to danchr |
Port: | py-black added; py39-black removed |
Status: | new → assigned |
Summary: | py39-black @21.8b0_0: cannot be installed or upgraded → py39-black @21.8b0_0: No matching distribution found for setuptools_scm~=6.0.1 |
comment:2 Changed 3 years ago by JD-Veiga
comment:3 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
comment:4 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:5 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
Hi,
I have updated to last version of
setuptools-scm
(6.3.1, released just yesterday) andpy39-black
has been upgraded without any inconvenience. So I suppose that it was a bug insetuptools-scm
.