Poetry StickyWheel Plugin
A poetry plugin to pin version dependencies when building packages with local folder dependencies.
🛠 Installing
poetry self add poetry-stickywheel-plugin
📚 Help
This plugin will rewrite folder dependencies in your poetry projects dependencies with version dependencies.
The version will be extracted from the dependencies pyproject.toml and applied as a semver match.
Assuming a pyproject.toml such as:
[tool.poetry]
name = "a"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"
[tool.poetry.dependencies]
b = {path = "../b", develop = true}
and the dependency pyproject.toml
[tool.poetry]
name = "b"
version = "1.2.3"
description = ""
authors = []
readme = "README.md"
the dependency will be rewritten as if it had been defined as:
b = "^1.2.3"
Configuration
You can define a section in your pyproject.toml file named tool.stickywheel, to configure various options.
Dependency constraint strategy
The default strategy is semver (described in the "Help" section above), but there are other choices:
| strategy | version | result |
|---|---|---|
semver |
1.2.3 |
^1.2.3 |
minimum |
1.2.3 |
>=1.2.3 |
exact |
1.2.3 |
1.2.3 |
To override the default, add strategy to the configuration. For example:
[tool.stickywheel]
strategy = "exact"
⚖️ Licence
This project is licensed under the MIT licence.
All documentation and images are licenced under the Creative Commons Attribution-ShareAlike 4.0 International License.
📝 Meta
This project uses Semantic Versioning.
Metadata
Release files for poetry-stickywheel-plugin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetry_stickywheel_plugin-0.2.0.tar.gz | 2.7 kB | Without provenance | Details for poetry_stickywheel_plugin-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_stickywheel_plugin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_stickywheel_plugin-0.2.0-py3-none-any.whl |
Total release size: 6.1 kB
Release files / poetry_stickywheel_plugin-0.2.0.tar.gz
| Download URL | poetry_stickywheel_plugin-0.2.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
084b7e8b3148b27fa12b7bd13396e77553b76e200b736bf3e218dbc2c1386bd8
|
|
BLAKE2b-256 checksum How to use checksums |
3fdd0647280a0ed0b6a00c59c5b9466e62d5b99bad410d5c368c65caccdf00b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.8.18 Linux/6.2.0-1015-azure
|
Release files / poetry_stickywheel_plugin-0.2.0-py3-none-any.whl
| Download URL | poetry_stickywheel_plugin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1989e8308c50556ef129db7b37c929568483155e7091bc958d977b3772e1fdf7
|
|
BLAKE2b-256 checksum How to use checksums |
0b87a16512b9ec60f55f880a8ec99c953e895120ce27e6c927b38af529aad68f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.0 CPython/3.8.18 Linux/6.2.0-1015-azure
|
Security for poetry-stickywheel-plugin 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.