Bug#1137406: pytorch-geometric: FTBFS: E DeprecationWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.
Santiago Vila
sanvila at debian.org
Sat May 23 14:46:31 BST 2026
Package: src:pytorch-geometric
Version: 2.7.0-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pytorch-geometric, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_torch-geometric
* Building wheel...
Successfully built torch_geometric-2.7.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_torch-geometric/build; python3.13 -m pytest -k 'not test_citeseer and not test_enzymes and not test_mutag and not _on_cora and not test_asap and not test_feature_store and not test_two_hop and not test_graph_unet and not test_spspmm and not test_add_metapaths and not test_type_repr and not test_protein_mpnn_dataset and not neighbor_sampler'
ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_torch-geometric/build/test/conftest.py'.
test/conftest.py:9: in <module>
import torch_geometric.typing
torch_geometric/__init__.py:22: in <module>
import torch_geometric.datasets
torch_geometric/datasets/__init__.py:80: in <module>
from .web_qsp_dataset import WebQSPDataset, CWQDataset
torch_geometric/datasets/web_qsp_dataset.py:11: in <module>
from torch_geometric.llm.large_graph_indexer import (
torch_geometric/llm/__init__.py:2: in <module>
from .rag_loader import RAGQueryLoader
torch_geometric/llm/rag_loader.py:5: in <module>
from torch_geometric.llm.utils.vectorrag import VectorRetriever
torch_geometric/llm/utils/__init__.py:1: in <module>
from .backend_utils import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
torch_geometric/llm/utils/backend_utils.py:36: in <module>
from torch_geometric.llm.models import SentenceTransformer
torch_geometric/llm/models/__init__.py:7: in <module>
from .molecule_gpt import MoleculeGPT
torch_geometric/llm/models/molecule_gpt.py:7: in <module>
from torch_geometric.nn.attention import QFormer
torch_geometric/nn/__init__.py:13: in <module>
from .pool import * # noqa
^^^^^^^^^^^^^^^^^^^
torch_geometric/nn/pool/__init__.py:16: in <module>
from .topk_pool import TopKPooling
torch_geometric/nn/pool/topk_pool.py:6: in <module>
from torch_geometric.nn.pool.connect import FilterEdges
torch_geometric/nn/pool/connect/__init__.py:7: in <module>
from .base import Connect, ConnectOutput
torch_geometric/nn/pool/connect/base.py:7: in <module>
from torch_geometric.nn.pool.select import SelectOutput
torch_geometric/nn/pool/select/__init__.py:7: in <module>
from .base import Select, SelectOutput
torch_geometric/nn/pool/select/base.py:65: in <module>
SelectOutput = torch.jit.script(SelectOutput)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/torch/jit/_script.py:1488: in script
warnings.warn(
E DeprecationWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_torch-geometric/build; python3.13 -m pytest -k 'not test_citeseer and not test_enzymes and not test_mutag and not _on_cora and not test_asap and not test_feature_store and not test_two_hop and not test_graph_unet and not test_spspmm and not test_add_metapaths and not test_type_repr and not test_protein_mpnn_dataset and not neighbor_sampler'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 --parallel=2 returned exit code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list