Skip to main content

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


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.0.tar.gz.

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.0.tar.gz
Algorithm Hash digest
SHA256 54f30b39ac666b0568c1d54ccc23975824cc79a59c00c6a21ef7374515a60b15
MD5 3169505615731523762d992cd7a8b248
BLAKE2b-256 9b122137ec49dc68043026284dcd4af28cc60f09d8591588dbda85938b49c8e0

See more details on using hashes here.

Provenance

File details

Details for the file poetry_plugin_tweak_dependencies_version-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c7d3bf2716e835e5493a532af05d88dac6aece8b6178da74d46db0e974d0dcc
MD5 643135c5601c690aad1bad5b4bf5da52
BLAKE2b-256 17108465e693951e789048d60d0e6650b310637c1c9b96e8452fd35c279a3eee

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page