You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue when trying to install the DGL package a custom source using Poetry. In my pyproject.toml file, I specified the following custom source:
[[tool.poetry.source]]
name = "dgl-cu"
url = "https://data.dgl.ai/wheels/cu121/repo.html"
priority = "explicit"
This URL includes the repo.html part, which leads to a 403 Forbidden error when trying to download the wheel file.
In contrast, when I use the pip command to install DGL directly from the custom source, the actual triggered URL does not include the repo.html part, and the installation proceeds successfully:
Description
I encountered an issue when trying to install the DGL package a custom source using Poetry. In my
pyproject.toml
file, I specified the following custom source:However, when I run the command
poetry add dgl --source dgl-cu
, Poetry attempts to download the DGL wheel file from the following URL:https://data.dgl.ai/wheels/cu121/repo.html/dgl-2.1.0%2Bcu121-cp310-cp310-manylinux1_x86_64.whl
This URL includes the
repo.html
part, which leads to a 403 Forbidden error when trying to download the wheel file.In contrast, when I use the
pip
command to install DGL directly from the custom source, the actual triggered URL does not include therepo.html
part, and the installation proceeds successfully:I have tried to specify a URL without the
repo.html
part in thepyproject.toml
file, however the problem persistsWorkarounds
I don't know
Poetry Installation Method
install.python-poetry.org
Operating System
Ubuntu 22.04.3
Poetry Version
Poetry (version 1.8.2)
Poetry Configuration
Python Sysconfig
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: