Poetry: install alpha builds
All notes in this series:
- Poetry: Fixing dubious ownership error
- Poetry: build.py example
- Poetry: Automatically generate package version from git commit
- Poetry: Fix warning about sources
- Poetry: Running Black and isort with pre-commit hooks
- Poetry: Fixing permission error when upgrading dulwich
- NiceGUI with Click, Poetry, auto-reload and classes
- Poetry: Offline installation of packages
- Run Poetry command as systemd service
- GitLab CI and poetry-dynamic-versioning
- Poetry: install alpha builds
- Upgrade version of pkginfo used by Poetry
Tl;DR: Use allow-prereleases = true
to tell Poetry to consider alpha/beta/dev builds.
By default, Python package installation tools (e.g. pip, Poetry) will prefer “stable” releases over alpha
, beta
, dev
.
For Poetry specifically, if you have a release 0.4.2a0
and are trying to install it just using ==0.4.2
, Poetry will not be able to find it.
Use allow-prereleases = true
to explicitly tell Poetry you want to use pre-releases.
For example: