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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.2.tar.gz
Algorithm Hash digest
SHA256 da98453734308a6e6bbfad106d4ecce31377abba88d1731c43904a5a97f28df3
MD5 3a83fcb1b62237d0dda26e5c126c158b
BLAKE2b-256 79bd421a42f0dbb9e967aed4b26e0cd72485e6732f23e03612a6dac3dd70b0d8

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1daad5cf7e1e382c29316c512319b7da7264bffa1dd871fa9b9b2547a91f9441
MD5 cdc7f25f95f4f9199094955904f986db
BLAKE2b-256 4e568ed7d6becf16624df55ced12e7eb23ed5c75439db83a0d04af1289d9760c

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