Conversation
|
Hi @adamjstewart! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers = ["adamjstewart"]If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame py-modinThank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
|
I was unable to get npm and a couple of other packages to install, so I can't vouch for |
|
@spackbot help |
|
You can interact with me in many ways!
I'll also help to label your pull request and assign reviewers! |
|
@spackbot maintainers |
|
Hi @adamjstewart! I noticed that the following package(s) don't yet have maintainers:
Are you interested in adopting any of these package(s)? If so, simply add the following to the package class: maintainers = ["adamjstewart"]If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with $ spack blame npmThank you for your help! Please don't add maintainers without their consent. You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer. |
| version("3.10.5", sha256="ff019769e186152098841c1fa6325e5a79f7903a45f13bd0046a4dc8e63f845f") | ||
|
|
||
| depends_on("node-js", type=("build", "run")) | ||
| depends_on("libvips") |
There was a problem hiding this comment.
Without this I see:
../src/common.cc:25:10: fatal error: 'vips/vips8' file not found
#include <vips/vips8>
^~~~~~~~~~~~
With this, I get a bit further in the build, but it still fails:
FATAL ERROR: wasm code commit Allocation failed - process out of memory
...
bash: line 1: 83387 Abort trap: 6 node ../bin/npm-cli.js run build:static echo 1>&2
Not sure what's wrong, but this version is also super old. Would love to update npm, but newer versions don't have a configure script.
| depends_on("[email protected]:2021.8.0", type=("build", "run"), when="@0.18.0: +distributed") | ||
| depends_on("[email protected]:2021.8.0", type=("build", "run"), when="@2.0.0: +distributed") | ||
| depends_on("[email protected]:2021.8.0", type=("build", "run"), when="@2020.12.0: +distributed") | ||
| depends_on("[email protected]", type=("build", "run"), when="@2021.6.2 +distributed") |
There was a problem hiding this comment.
Dask and distributed have a weird circular dependency between them. Starting with dask 2021.?.?, the devs now pin to a specific version of distributed. If you try to use newer distributed with older dask, you get an error like below:
Traceback (most recent call last):
File "/Users/ajstewart/urbanair/data/purpleair/speed.py", line 11, in <module>
x = pd.read_csv(fpath)
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/logging/logger_decorator.py", line 128, in run_and_log
return obj(*args, **kwargs)
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/_compat/pandas_api/latest/io.py", line 156, in read_csv
return _read(**kwargs)
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/_compat/pandas_api/common/io.py", line 35, in _read
Engine.subscribe(_update_engine)
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/config/pubsub.py", line 217, in subscribe
callback(cls)
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/pandas/__init__.py", line 159, in _update_engine
from modin.core.execution.dask.common import initialize_dask
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/core/execution/dask/common/__init__.py", line 16, in <module>
from .engine_wrapper import DaskWrapper
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-modin-0.16.2-qsxgepq2k5b5vrqnhryljjxuedz6k2dm/lib/python3.9/site-packages/modin/core/execution/dask/common/engine_wrapper.py", line 16, in <module>
from distributed.client import default_client
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-distributed-2022.2.1-z7tfusun4h66nzcxybmk2jpmmn4xumt4/lib/python3.9/site-packages/distributed/__init__.py", line 2, in <module>
from . import widgets # isort:skip; load distributed widgets second
File "/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-14.0.0/py-distributed-2022.2.1-z7tfusun4h66nzcxybmk2jpmmn4xumt4/lib/python3.9/site-packages/distributed/widgets/__init__.py", line 3, in <module>
from dask.widgets import FILTERS, TEMPLATE_PATHS
ModuleNotFoundError: No module named 'dask.widgets'
This dask.widgets import was added in distributed 2021.8.1, so 2021.8.0 is prob the newest version that works for older dask. Honestly, we could think about pinning older versions of dask to specific versions of distributed since that's what newer versions of dask do.
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fix==> Running style checks on spack
selected: isort, mypy, black, flake8
==> Modified files
var/spack/repos/builtin/packages/npm/package.py
var/spack/repos/builtin/packages/py-dask/package.py
var/spack/repos/builtin/packages/py-modin/package.py
var/spack/repos/builtin/packages/py-ray/package.py
==> Running isort checks
isort checks were clean
==> Running mypy checks
Success: no issues found in 569 source files
mypy checks were clean
==> Running black checks
reformatted var/spack/repos/builtin/packages/py-dask/package.py
All done! ✨ 🍰 ✨
1 file reformatted, 3 files left unchanged.
black checks were clean
==> Running flake8 checks
flake8 checks were clean
==> spack style checks were clean
I've updated the branch with style fixes. |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
Co-authored-by: adamjstewart <[email protected]>
Co-authored-by: adamjstewart <[email protected]>
Successfully builds on macOS 12.6.1 (arm64) with Python 3.9.13 and Apple Clang 14.0.0.