Opened 4 years ago
Closed 3 years ago
#61816 closed defect (fixed)
py-dask @2020.12.0_0: needs build dependency py-setuptools_scm
Reported by: | dgarnier (reinrag1a) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | dgarnier (reinrag1a) | |
Port: | py-dask |
Description
Updating to py-dask 2020.12.0_0 is missing the build dependency of py-setuptools_scm. Of course, this is easily worked around by installing the dependency first, but it should be added to the Portfile.
info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-dask/py37-dask/work/dask-2020.12.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j16 :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-dask/py37-dask/work/dask-2020.12.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j16 :info:build Traceback (most recent call last): :info:build File "setup.py", line 76, in <module> :info:build zip_safe=False, :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup :info:build return distutils.core.setup(**attrs) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/core.py", line 108, in setup :info:build _setup_distribution = dist = klass(attrs) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/dist.py", line 424, in __init__ :info:build k: v for k, v in attrs.items() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/distutils/dist.py", line 292, in __init__ :info:build self.finalize_options() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/dist.py", line 694, in finalize_options :info:build for ep in sorted(eps, key=by_order): :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/dist.py", line 693, in <lambda> :info:build eps = map(lambda e: e.load(), pkg_resources.iter_entry_points(group)) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2447, in load :info:build return self.resolve() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2453, in resolve :info:build module = __import__(self.module_name, fromlist=['__name__'], level=0) :info:build ModuleNotFoundError: No module named 'setuptools_scm' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-dask/py37-dask/work/dask-2020.12.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j16 :info:build Exit code: 1 :error:build Failed to build py37-dask: command execution failed
Change History (4)
comment:1 Changed 4 years ago by dgarnier (reinrag1a)
Cc: | dgarnier added |
---|
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Cc: | stromnov@… removed |
---|---|
Owner: | set to stromnov |
Status: | new → assigned |
comment:3 Changed 4 years ago by stromnov (Andrey Stromnov)
comment:4 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
the current version is py-dask @2021.5.0
and builds for all systems on the buildbots, without the py-setuptools_scm
dependency. Assuming that this issue is resolved; if it still does not work for you please respond/reopen this ticket.
Note: See
TracTickets for help on using
tickets.
This is very strange. The dask source files do not contain any references to the setuptools_scm package.