google-research / google-research/weatherbench2
Support Python versions 3.10 and 3.11.
- Dominant language
- Python
- Stars
- 635
- Forks
- 78
- Avg merge
- 20h 56m
- Merged PRs (30d)
- 1
Description
In our CI, we're facing a strange instance of this Beam error: https://github.com/apache/beam/issues/24685. The main difference is that the tuple error is happening in a Beam core library as opposed to our code.
full CI stack trace
```
Current runner version: '2.305.0'
Operating System
Runner Image
Runner Image Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'styfle/cancel-workflow-action@0.7.0' (SHA:d7e57e26a6f753933f8ef746a37097a61375236b)
Download action repository 'actions/checkout@v2' (SHA:ee0669bd1cc54295c223e0bb666b733df41de1c5)
Download action repository 'actions/setup-python@v2' (SHA:e9aba2c848f5ebd159c070c61ea2c4e2b122355e)
Download action repository 'actions/cache@v2' (SHA:8492260343ad570701412c2f464a5877dc76bace)
Complete job name: python 3.10
1s
Run styfle/cancel-workflow-action@0.7.0
{
eventName: 'pull_request',
sha: '3b1965eacb8b89a72c0032563b975235af8b8b51',
headSha: '00f399e9300b0ea0240b87775b710e8948e4a88a',
branch: 'fix-ci',
owner: 'google-research',
repo: 'weatherbench2',
GITHUB_RUN_ID: '5424426117'
}
Found token: yes
Found workflow_id: ["60289397"]
Found 9 runs for workflow 60289397 on branch fix-ci
- https://github.com/google-research/weatherbench2/actions/runs/5424426117
- https://github.com/google-research/weatherbench2/actions/runs/5424167753
- https://github.com/google-research/weatherbench2/actions/runs/5424101963
- https://github.com/google-research/weatherbench2/actions/runs/5423643747
- https://github.com/google-research/weatherbench2/actions/runs/5423620908
- https://github.com/google-research/weatherbench2/actions/runs/5423566572
- https://github.com/google-research/weatherbench2/actions/runs/5423536140
- https://github.com/google-research/weatherbench2/actions/runs/5417986316
- https://github.com/google-research/weatherbench2/actions/runs/5417974464
with 0 runs to cancel.
Cancel Complete.
0s
Run actions/checkout@v2
Syncing repository: google-research/weatherbench2
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/bd922b4a-e386-4ff7-b92a-76b2232f859b' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/weatherbench2/weatherbench2
Deleting the contents of '/home/runner/work/weatherbench2/weatherbench2'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
Checking out the ref
/usr/bin/git log -1 --format='%H'
'3b1965eacb8b89a72c0032563b975235af8b8b51'
0s
Run actions/setup-python@v2
Successfully setup CPython (3.10.12)
5s
Run python -m pip install --upgrade pip wheel
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages (23.0.1)
Collecting pip
Downloading pip-23.1.2-py3-none-any.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 30.0 MB/s eta 0:00:00
Collecting wheel
Downloading wheel-0.40.0-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 kB 15.0 MB/s eta 0:00:00
Installing collected packages: wheel, pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-23.1.2 wheel-0.40.0
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
5s
Run actions/cache@v2
Received 0 of 182212188 (0.0%), 0.0 MBs/sec
Received 71303168 of 182212188 (39.1%), 34.0 MBs/sec
Received 178017884 of 182212188 (97.7%), 56.6 MBs/sec
Received 182212188 of 182212188 (100.0%), 54.0 MBs/sec
Cache Size: ~174 MB (182212188 B)
/usr/bin/tar -z -xf /home/runner/work/_temp/a2769980-6ee8-4c39-82f1-af64f5788718/cache.tgz -P -C /home/runner/work/weatherbench2/weatherbench2
Cache restored successfully
Cache restored from key: Linux-pip-f504613d018b41047ccca1f8208e59f2a77e51c5c960d98d6378da6462cccbe9
51s
Run pip install -e .[tests]
Obtaining file:///home/runner/work/weatherbench2/weatherbench2
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting apache-beam>=2.31.0 (from weatherbench2==0.0.0)
Downloading apache_beam-2.48.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.3/14.3 MB 55.9 MB/s eta 0:00:00
Collecting numpy (from weatherbench2==0.0.0)
Downloading numpy-1.25.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.6/17.6 MB 80.0 MB/s eta 0:00:00
Collecting zarr (from weatherbench2==0.0.0)
Using cached zarr-2.15.0-py3-none-any.whl (206 kB)
Collecting xarray (from weatherbench2==0.0.0)
Using cached xarray-2023.6.0-py3-none-any.whl (999 kB)
Collecting pandas<1.4 (from weatherbench2==0.0.0)
Downloading pandas-1.3.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/11.5 MB 78.5 MB/s eta 0:00:00
Collecting xarray-beam (from weatherbench2==0.0.0)
Using cached xarray_beam-0.6.2-py3-none-any.whl (46 kB)
Collecting scipy (from weatherbench2==0.0.0)
Downloading scipy-1.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.3/36.3 MB 47.9 MB/s eta 0:00:00
Collecting absl-py (from weatherbench2==0.0.0)
Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Collecting pytest (from weatherbench2==0.0.0)
Using cached pytest-7.4.0-py3-none-any.whl (323 kB)
Collecting crcmod<2.0,>=1.7 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached crcmod-1.7.tar.gz (89 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting orjson<4.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading orjson-3.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (136 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.0/137.0 kB 21.4 MB/s eta 0:00:00
Collecting dill<0.3.2,>=0.3.1.1 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached dill-0.3.1.1.tar.gz (151 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cloudpickle~=2.2.1 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached cloudpickle-2.2.1-py3-none-any.whl (25 kB)
Collecting fastavro<2,>=0.23.6 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading fastavro-1.7.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 80.6 MB/s eta 0:00:00
Collecting fasteners<1.0,>=0.3 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached fasteners-0.18-py3-none-any.whl (18 kB)
Collecting grpcio!=1.48.0,<2,>=1.33.1 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading grpcio-1.56.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.2/5.2 MB 98.5 MB/s eta 0:00:00
Collecting hdfs<3.0.0,>=2.1.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached hdfs-2.7.0-py3-none-any.whl (34 kB)
Collecting httplib2<0.23.0,>=0.8 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached httplib2-0.22.0-py3-none-any.whl (96 kB)
Collecting numpy (from weatherbench2==0.0.0)
Downloading numpy-1.24.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 64.5 MB/s eta 0:00:00
Collecting objsize<0.7.0,>=0.6.1 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached objsize-0.6.1-py3-none-any.whl (9.3 kB)
Collecting pymongo<5.0.0,>=3.8.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading pymongo-4.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (648 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 648.9/648.9 kB 69.0 MB/s eta 0:00:00
Collecting proto-plus<2,>=1.7.1 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached proto_plus-1.22.3-py3-none-any.whl (48 kB)
Collecting protobuf<4.24.0,>=3.20.3 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached protobuf-4.23.3-cp37-abi3-manylinux2014_x86_64.whl (304 kB)
Collecting pydot<2,>=1.2.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached pydot-1.4.2-py2.py3-none-any.whl (21 kB)
Collecting python-dateutil<3,>=2.8.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2018.3 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting regex>=2020.6.8 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading regex-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (770 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.4/770.4 kB 83.7 MB/s eta 0:00:00
Collecting requests<3.0.0,>=2.24.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting typing-extensions>=3.7.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached typing_extensions-4.7.0-py3-none-any.whl (33 kB)
Collecting zstandard<1,>=0.18.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading zstandard-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 77.6 MB/s eta 0:00:00
Collecting pyarrow<12.0.0,>=3.0.0 (from apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading pyarrow-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.9/34.9 MB 46.1 MB/s eta 0:00:00
Collecting iniconfig (from pytest->weatherbench2==0.0.0)
Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging (from pytest->weatherbench2==0.0.0)
Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting pluggy<2.0,>=0.12 (from pytest->weatherbench2==0.0.0)
Using cached pluggy-1.2.0-py3-none-any.whl (17 kB)
Collecting exceptiongroup>=1.0.0rc8 (from pytest->weatherbench2==0.0.0)
Using cached exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Collecting tomli>=1.0.0 (from pytest->weatherbench2==0.0.0)
Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
INFO: pip is looking at multiple versions of xarray to determine which version is compatible with other requirements. This could take a while.
Collecting xarray (from weatherbench2==0.0.0)
Using cached xarray-2023.5.0-py3-none-any.whl (994 kB)
Using cached xarray-2023.4.2-py3-none-any.whl (979 kB)
Using cached xarray-2023.4.1-py3-none-any.whl (977 kB)
Using cached xarray-2023.4.0-py3-none-any.whl (977 kB)
Using cached xarray-2023.3.0-py3-none-any.whl (981 kB)
Using cached xarray-2023.2.0-py3-none-any.whl (975 kB)
Using cached xarray-2023.1.0-py3-none-any.whl (973 kB)
Collecting dask (from xarray-beam->weatherbench2==0.0.0)
Using cached dask-2023.6.1-py3-none-any.whl (1.2 MB)
Collecting immutabledict (from xarray-beam->weatherbench2==0.0.0)
Using cached immutabledict-2.2.4-py3-none-any.whl (4.1 kB)
Collecting rechunker>=0.5.1 (from xarray-beam->weatherbench2==0.0.0)
Using cached rechunker-0.5.1-py3-none-any.whl (21 kB)
Collecting asciitree (from zarr->weatherbench2==0.0.0)
Using cached asciitree-0.3.3.tar.gz (4.0 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting numcodecs>=0.10.0 (from zarr->weatherbench2==0.0.0)
Downloading numcodecs-0.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.7/6.7 MB 62.3 MB/s eta 0:00:00
Collecting docopt (from hdfs<3.0.0,>=2.1.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached docopt-0.6.2.tar.gz (25 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting six>=1.9.0 (from hdfs<3.0.0,>=2.1.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 (from httplib2<0.23.0,>=0.8->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached pyparsing-3.1.0-py3-none-any.whl (102 kB)
Collecting entrypoints (from numcodecs>=0.10.0->zarr->weatherbench2==0.0.0)
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting dnspython<3.0.0,>=1.16.0 (from pymongo<5.0.0,>=3.8.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached dnspython-2.3.0-py3-none-any.whl (283 kB)
Collecting mypy-extensions (from rechunker>=0.5.1->xarray-beam->weatherbench2==0.0.0)
Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Collecting charset-normalizer<4,>=2 (from requests<3.0.0,>=2.24.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 44.1 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests<3.0.0,>=2.24.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3.0.0,>=2.24.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached urllib3-2.0.3-py3-none-any.whl (123 kB)
Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.24.0->apache-beam>=2.31.0->weatherbench2==0.0.0)
Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
Collecting click>=8.0 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting fsspec>=2021.09.0 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached fsspec-2023.6.0-py3-none-any.whl (163 kB)
Collecting partd>=1.2.0 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached partd-1.4.0-py3-none-any.whl (18 kB)
Collecting pyyaml>=5.3.1 (from dask->xarray-beam->weatherbench2==0.0.0)
Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 70.7 MB/s eta 0:00:00
Collecting toolz>=0.10.0 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting importlib-metadata>=4.13.0 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
Collecting zipp>=0.5 (from importlib-metadata>=4.13.0->dask->xarray-beam->weatherbench2==0.0.0)
Using cached zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting locket (from partd>=1.2.0->dask->xarray-beam->weatherbench2==0.0.0)
Using cached locket-1.0.0-py2.py3-none-any.whl (4.4 kB)
Collecting bokeh>=2.4.2 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached bokeh-3.2.0-py3-none-any.whl (7.8 MB)
Collecting jinja2>=2.10.3 (from dask->xarray-beam->weatherbench2==0.0.0)
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting contourpy>=1 (from bokeh>=2.4.2->dask->xarray-beam->weatherbench2==0.0.0)
Downloading contourpy-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.7/300.7 kB 56.2 MB/s eta 0:00:00
Collecting pillow>=7.1.0 (from bokeh>=2.4.2->dask->xarray-beam->weatherbench2==0.0.0)
Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 66.8 MB/s eta 0:00:00
Collecting tornado>=5.1 (from bokeh>=2.4.2->dask->xarray-beam->weatherbench2==0.0.0)
Using cached tornado-6.3.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (426 kB)
Collecting xyzservices>=2021.09.1 (from bokeh>=2.4.2->dask->xarray-beam->weatherbench2==0.0.0)
Using cached xyzservices-2023.5.0-py3-none-any.whl (56 kB)
Collecting MarkupSafe>=2.0 (from jinja2>=2.10.3->dask->xarray-beam->weatherbench2==0.0.0)
Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Building wheels for collected packages: weatherbench2, crcmod, dill, asciitree, docopt
Building editable for weatherbench2 (pyproject.toml): started
Building editable for weatherbench2 (pyproject.toml): finished with status 'done'
Created wheel for weatherbench2: filename=weatherbench2-0.0.0-0.editable-py3-none-any.whl size=6773 sha256=164911e8befd36119b7e57a2021ceb4586512b9da9ccb4d20990f8465e5eb099
Stored in directory: /tmp/pip-ephem-wheel-cache-g5dqibvr/wheels/90/a1/a6/b9aa6c0c3e1aeb1058a43dbec03a7c4bf8521da3c166a1c07c
Building wheel for crcmod (setup.py): started
Building wheel for crcmod (setup.py): finished with status 'done'
Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-linux_x86_64.whl size=31459 sha256=f7b3db2c0770bc7eaeda3a1e5bc8f800bab194b76a37c936dba1977385fea68b
Stored in directory: /home/runner/.cache/pip/wheels/85/4c/07/72215c529bd59d67e3dac29711d7aba1b692f543c808ba9e86
Building wheel for dill (setup.py): started
Building wheel for dill (setup.py): finished with status 'done'
Created wheel for dill: filename=dill-0.3.1.1-py3-none-any.whl size=78545 sha256=063f795e4bd76039416ce7ed0acd48c66fb8fd3857424d1bd5012d6a5cd30507
Stored in directory: /home/runner/.cache/pip/wheels/ea/e2/86/64980d90e297e7bf2ce588c2b96e818f5399c515c4bb8a7e4f
Building wheel for asciitree (setup.py): started
Building wheel for asciitree (setup.py): finished with status 'done'
Created wheel for asciitree: filename=asciitree-0.3.3-py3-none-any.whl size=5034 sha256=84abc6df592b5473bbb1e7730bd0069cb898f28061504ab0a9680ec4023380c1
Stored in directory: /home/runner/.cache/pip/wheels/7f/4e/be/1171b40f43b918087657ec57cf3b81fa1a2e027d8755baa184
Building wheel for docopt (setup.py): started
Building wheel for docopt (setup.py): finished with status 'done'
Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13707 sha256=f249a12506db1b03b01a2647d08803a332aedd298a3c3fa7502fb72667e54787
Stored in directory: /home/runner/.cache/pip/wheels/fc/ab/d4/5da2067ac95b36618c629a5f93f809425700506f72c9732fac
Successfully built weatherbench2 crcmod dill asciitree docopt
Installing collected packages: pytz, docopt, crcmod, asciitree, zstandard, zipp, xyzservices, urllib3, typing-extensions, tornado, toolz, tomli, six, regex, pyyaml, pyparsing, protobuf, pluggy, pillow, packaging, orjson, objsize, numpy, mypy-extensions, MarkupSafe, locket, iniconfig, immutabledict, idna, grpcio, fsspec, fasteners, fastavro, exceptiongroup, entrypoints, dnspython, dill, cloudpickle, click, charset-normalizer, certifi, absl-py, scipy, requests, python-dateutil, pytest, pymongo, pydot, pyarrow, proto-plus, partd, numcodecs, jinja2, importlib-metadata, httplib2, contourpy, zarr, pandas, hdfs, dask, xarray, bokeh, apache-beam, rechunker, xarray-beam, weatherbench2
Successfully installed MarkupSafe-2.1.3 absl-py-1.4.0 apache-beam-2.48.0 asciitree-0.3.3 bokeh-3.2.0 certifi-2023.5.7 charset-normalizer-3.1.0 click-8.1.3 cloudpickle-2.2.1 contourpy-1.1.0 crcmod-1.7 dask-2023.6.1 dill-0.3.1.1 dnspython-2.3.0 docopt-0.6.2 entrypoints-0.4 exceptiongroup-1.1.1 fastavro-1.7.4 fasteners-0.18 fsspec-2023.6.0 grpcio-1.56.0 hdfs-2.7.0 httplib2-0.22.0 idna-3.4 immutabledict-2.2.4 importlib-metadata-6.7.0 iniconfig-2.0.0 jinja2-3.1.2 locket-1.0.0 mypy-extensions-1.0.0 numcodecs-0.11.0 numpy-1.24.4 objsize-0.6.1 orjson-3.9.1 packaging-23.1 pandas-1.3.5 partd-1.4.0 pillow-9.5.0 pluggy-1.2.0 proto-plus-1.22.3 protobuf-4.23.3 pyarrow-11.0.0 pydot-1.4.2 pymongo-4.4.0 pyparsing-3.1.0 pytest-7.4.0 python-dateutil-2.8.2 pytz-2023.3 pyyaml-6.0 rechunker-0.5.1 regex-2023.6.3 requests-2.31.0 scipy-1.11.1 six-1.16.0 tomli-2.0.1 toolz-0.12.0 tornado-6.3.2 typing-extensions-4.7.0 urllib3-2.0.3 weatherbench2-0.0.0 xarray-2023.1.0 xarray-beam-0.6.2 xyzservices-2023.5.0 zarr-2.15.0 zipp-3.15.0 zstandard-0.21.0
4s
Run pytest weatherbench2
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /home/runner/work/weatherbench2/weatherbench2
collected 39 items / 1 error
==================================== ERRORS ====================================
______________ ERROR collecting weatherbench2/evaluation_test.py _______________
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/runner.py:372: in
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:531: in collect
self._inject_setup_module_fixture()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:310: in obj
self._obj = obj = self._getobj()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:528: in _getobj
return self._importtestmodule()
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:178: in exec_module
exec(co, module.__dict__)
weatherbench2/evaluation_test.py:19: in
from weatherbench2 import evaluation
weatherbench2/evaluation.py:29: in
import apache_beam as beam
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/__init__.py:88: in
from apache_beam import io
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/io/__init__.py:21: in
from apache_beam.io.avroio import *
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/io/avroio.py:53: in
from apache_beam.io import filebasedsink
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/io/filebasedsink.py:29: in
from apache_beam.io import iobase
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/io/iobase.py:54: in
from apache_beam.transforms import Impulse
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/transforms/__init__.py:22: in
from apache_beam.transforms import combiners
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/transforms/combiners.py:39: in
from apache_beam.transforms import core
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/transforms/core.py:2945: in
@typehints.with_input_types(typing.Tuple[K, V])
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/typehints/decorators.py:772: in with_input_types
native_type_compatibility.convert_to_beam_types(positional_hints))
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/typehints/native_type_compatibility.py:370: in convert_to_beam_types
return [convert_to_beam_type(v) for v in args]
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/typehints/native_type_compatibility.py:370: in
return [convert_to_beam_type(v) for v in args]
/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/apache_beam/typehints/native_type_compatibility.py:342: in convert_to_beam_type
raise ValueError(
E ValueError: expecting type typing.Tuple[~K, ~V] to have arity 0, had arity 2 instead
=========================== short test summary info ============================
ERROR weatherbench2/evaluation_test.py - ValueError: expecting type typing.Tuple[~K, ~V] to have arity 0, had arity 2 instead
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.47s ===============================
Error: Process completed with exit code 2.
```
Once the tuple/arity bug is fixed, we'll upgrade our CI to support versions 3.10 and 3.11 of Python.
Contributor guide
Research direction
Start with the GitHub Actions workflow shown in the trace, especially the actions/setup-python step and the pip install -e .[tests] command. Check the package dependency metadata and run the test installation and suite on Python 3.10 and 3.11; done means both CI jobs complete without the reported Beam-related failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100