Poetry plugin used to tweak dependency versions
Project description
Poetry plugin tweak dependencies version
Plugin use to tweak the dependencies of the project.
Will be used when we have different constraints for the dependencies, like publish and dependency upgrader like Renovate.
This plugin will let us tweak the dependencies of the published packages.
Config:
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-plugin-tweak-dependencies-version"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-plugin-tweak-dependencies-version]
default = "(present|major|minor|patch|full)" # Default to `full`
"<package>" = "(present|major|minor|patch|full|<alternate>)"
present
=> *
, major
=> x.*
, minor
=> x.y.*
, patch
=> x.y.z
, full
=> keep the original version.
Or just specify an alternate version constraint.
Contributing
Install the pre-commit hooks:
pip install pre-commit
pre-commit install --allow-missing-config
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file poetry_plugin_tweak_dependencies_version-1.5.2.tar.gz
.
File metadata
- Download URL: poetry_plugin_tweak_dependencies_version-1.5.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da98453734308a6e6bbfad106d4ecce31377abba88d1731c43904a5a97f28df3 |
|
MD5 | 3a83fcb1b62237d0dda26e5c126c158b |
|
BLAKE2b-256 | 79bd421a42f0dbb9e967aed4b26e0cd72485e6732f23e03612a6dac3dd70b0d8 |
Provenance
File details
Details for the file poetry_plugin_tweak_dependencies_version-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: poetry_plugin_tweak_dependencies_version-1.5.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1daad5cf7e1e382c29316c512319b7da7264bffa1dd871fa9b9b2547a91f9441 |
|
MD5 | cdc7f25f95f4f9199094955904f986db |
|
BLAKE2b-256 | 4e568ed7d6becf16624df55ced12e7eb23ed5c75439db83a0d04af1289d9760c |