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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file poetry_plugin_tweak_dependencies_version-1.5.6.tar.gz.

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.6.tar.gz
Algorithm Hash digest
SHA256 1b29c8ae56951b2bb5df3752884a9c8b563bf2657d5b67052fd4e444a2f49e46
MD5 0299fc8a34706cb1daf465753816f5a4
BLAKE2b-256 5f19768f85798ce1d2b7686691e46a5f0eed468de5a131986fbd9444d4c97f4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b0bb812b6d47e6ddf0673e9d0cdd24f4fdf5bd75ca7b00dd21e73164e45706c1
MD5 5f2b6cc78c2f6e6b46927c05e9dbe456
BLAKE2b-256 13803db34fac666eca04b838de306c29ad56c3b472caf8ad5c95887966162984

See more details on using hashes here.

Supported by

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