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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fecf4195f88fe049e78ea31ef3ed8624d6051378f865c37cacc7fcd9e93a6628
MD5 e7d6d2573b0b79a58a7a07581dfb17ed
BLAKE2b-256 5fe97c705ddda0d9f1cd2220c13c7a55ed9cb4cd01123d3a33566e151d4bd7d8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91c771a550cac11ca46891ee06838fbea835fbcf93a1fe95ba7a25f9a30af68b
MD5 73b0d48787bf40e807c60a7bec07cedb
BLAKE2b-256 9867282f3aa8137684503a61d09e2020e5503bf657fe510b19dda7e657b60f27

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