Skip to main content

Authentication

echo "machine pkg.root.io login token password YOUR_ROOT_TOKEN" >> ~/.netrc
chmod 600 ~/.netrc

Configure the Registry

poetry source add --priority=primary root https://pkg.root.io/pypi/simple/ &&
poetry source add --priority=supplemental pypi

Install

poetry add requests==2.31.0
poetry update

Troubleshooting

IssueSolution
401 UnauthorizedCheck ~/.netrc token and chmod 600
Packages resolving from PyPIConfirm root source has --priority=primary