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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.1.tar.gz
Algorithm Hash digest
SHA256 4e0be2b8e23a04e542c5090deb5b6e191750ec45bace98ea8b55150844c6026b
MD5 d1df852c4c8599c3fe91b27179a56dbb
BLAKE2b-256 cd145565d447307574c4ff492da7ed5c7b7acba6dc1ba7bf81964995d94e0408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_plugin_tweak_dependencies_version-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50fe77909d61947572cf9d83916d5e87eb64f7a4744b4606b940b78d9ec53b83
MD5 0691ddfc20ea66c7dda273357f9585ae
BLAKE2b-256 0b584b821ef2eeaff4c3c7e4f5122d746fc074261ab06e4b630cb20cb1b8e120

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