This directory is to test against locally built wheels for 3rd party packages under development within our pantsbuild-based build toolchain.
- Build a 3rd-party local wheel.
- Copy the wheel file here.
- Update the root's
requirements.txt
to use the exact version of the copied wheel. - Run
pants generate-lockfiles --resolve=python-default && pants export --resolve=python-default
. - Run any pants commands, like
pants check
andpants test
. You may also run./backend.ai ...
as well.
Caution
You SHOULD NOT add the locally modified requirements.txt
and python-default.lock
file in your commits and PRs.
Use this directory only for local testing.
Tip
To pin the official release dependency to a custom-built 3rd-party wheel, use our "oven" repository to publicly store and serve them. See https://github.com/lablup/backend.ai-oven for more details.