Datasets:

Modalities:
Tabular
Text
Formats:
json
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
Dask
File size: 6,109 Bytes
643999a
1
{"language": "Python", "id": 0, "repo_owner": "pyg-team", "repo_name": "pytorch_geometric", "head_branch": "master", "workflow_name": "Testing PyTorch nightly", "workflow_filename": "latest_testing.yml", "workflow_path": ".github/workflows/latest_testing.yml", "contributor": "pmpalang", "sha_fail": "2a104bfbc6cad12e95d941244955382e96f21c51", "sha_success": "060fc6a2edb9775331645512c1e6eb5ed4f0afbd", "workflow": "name: Testing PyTorch nightly\n\non:  # yamllint disable-line rule:truthy\n  push:\n    branches:\n      - master\n  pull_request:\n\njobs:\n\n  latest_pytest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v4\n        with:\n          fetch-depth: 40\n\n      # Skip workflow if only certain files have been changed.\n      - name: Get changed files\n        id: changed-files-specific\n        uses: tj-actions/changed-files@v34\n        with:\n          files: |\n            benchmark/**\n            conda/**\n            docker/**\n            docs/**\n            examples/**\n            graphgym/**\n            README.md\n            CHANGELOG.md\n\n      - name: Setup packages\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        uses: ./.github/actions/setup\n        with:\n          torch-version: nightly\n\n      - name: Install main package\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        run: |\n          pip install -e .[test]\n\n      - name: Run tests\n        if: steps.changed-files-specific.outputs.only_changed != 'true'\n        timeout-minutes: 10\n        run: |\n          pytest\n", "logs": [{"step_name": "latest_pytest/6_Run tests.txt", "log": "##[group]Run pytest\n\u001b[36;1mpytest\u001b[0m\nshell: /usr/bin/bash -e {0}\nenv:\n  pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64\n  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig\n  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64\n  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib\n##[endgroup]\n\u001b[1m============================= test session starts ==============================\u001b[0m\nplatform linux -- Python 3.8.18, pytest-7.4.3, pluggy-1.3.0 -- /opt/hostedtoolcache/Python/3.8.18/x64/bin/python\ncachedir: .pytest_cache\nrootdir: /home/runner/work/pytorch_geometric/pytorch_geometric\nconfigfile: pyproject.toml\nplugins: cov-4.1.0\n\u001b[1mcollecting ... \u001b[0mcollected 5718 items / 1 error\n\n==================================== ERRORS ====================================\n\u001b[31m\u001b[1m_____________ ERROR collecting test/loader/test_neighbor_loader.py _____________\u001b[0m\n\u001b[31mImportError while importing test module '/home/runner/work/pytorch_geometric/pytorch_geometric/test/loader/test_neighbor_loader.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:617: in _importtestmodule\n    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/pathlib.py:567: in import_path\n    importlib.import_module(module_name)\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1014: in _gcd_import\n    ???\n<frozen importlib._bootstrap>:991: in _find_and_load\n    ???\n<frozen importlib._bootstrap>:975: in _find_and_load_unlocked\n    ???\n<frozen importlib._bootstrap>:671: in _load_unlocked\n    ???\n/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:186: in exec_module\n    exec(co, module.__dict__)\ntest/loader/test_neighbor_loader.py:24: in <module>\n    from torch_geometric.typing import (\nE   ImportError: cannot import name 'WITH_EDGE_TIME_NEIGHBOR_SAMPLE' from 'torch_geometric.typing' (/home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/typing.py)\u001b[0m\n\u001b[33m=============================== warnings summary ===============================\u001b[0m\ntorch_geometric/graphgym/config.py:19\n  /home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/graphgym/config.py:19: UserWarning: Could not define global config object. Please install 'yacs' via 'pip install yacs' in order to use GraphGym\n    warnings.warn(\"Could not define global config object. Please install \"\n\ntorch_geometric/graphgym/imports.py:14\n  /home/runner/work/pytorch_geometric/pytorch_geometric/torch_geometric/graphgym/imports.py:14: UserWarning: Please install 'pytorch_lightning' via  'pip install pytorch_lightning' in order to use GraphGym\n    warnings.warn(\"Please install 'pytorch_lightning' via  \"\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n\u001b[36m\u001b[1m=========================== short test summary info ============================\u001b[0m\n\u001b[31mERROR\u001b[0m test/loader/test_neighbor_loader.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n\u001b[31m========================= \u001b[33m2 warnings\u001b[0m, \u001b[31m\u001b[1m1 error\u001b[0m\u001b[31m in 7.62s\u001b[0m\u001b[31m =========================\u001b[0m\n##[error]Process completed with exit code 2.\n"}], "diff": "diff --git a/torch_geometric/typing.py b/torch_geometric/typing.py\nindex d9e687601..085ecc613 100644\n--- a/torch_geometric/typing.py\n+++ b/torch_geometric/typing.py\n@@ -57,6 +57,7 @@ except Exception as e:\n     WITH_SAMPLED_OP = False\n     WITH_INDEX_SORT = False\n     WITH_METIS = False\n+    WITH_EDGE_TIME_NEIGHBOR_SAMPLE = False\n     WITH_WEIGHTED_NEIGHBOR_SAMPLE = False\n \n try:\n", "difficulty": 1, "changed_files": ["torch_geometric/typing.py"], "commit_link": "https://github.com/pyg-team/pytorch_geometric/tree/2a104bfbc6cad12e95d941244955382e96f21c51"}