# 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:
```toml
[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:
```bash
pip install pre-commit
pre-commit install --allow-missing-config
```
Raw data
{
"_id": null,
"home_page": "https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version",
"name": "poetry-plugin-tweak-dependencies-version",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<3.12",
"maintainer_email": "",
"keywords": "poetry,plugin,version,versioning,dynamic",
"author": "St\u00e9phane Brunner",
"author_email": "stephane.brunner@camptocamp.com",
"download_url": "https://files.pythonhosted.org/packages/cd/14/5565d447307574c4ff492da7ed5c7b7acba6dc1ba7bf81964995d94e0408/poetry_plugin_tweak_dependencies_version-1.5.1.tar.gz",
"platform": null,
"description": "# Poetry plugin tweak dependencies version\n\nPlugin use to tweak the dependencies of the project.\n\nWill be used when we have different constraints for the dependencies, like publish and dependency upgrader like Renovate.\n\nThis plugin will let us tweak the dependencies of the published packages.\n\nConfig:\n\n```toml\n[build-system]\nrequires = [\"poetry-core>=1.0.0\", \"poetry-plugin-tweak-dependencies-version\"]\nbuild-backend = \"poetry.core.masonry.api\"\n\n[tool.poetry-plugin-tweak-dependencies-version]\ndefault = \"(present|major|minor|patch|full)\" # Default to `full`\n\"<package>\" = \"(present|major|minor|patch|full|<alternate>)\"\n\n```\n\n`present` => `*`, `major` => `x.*`, `minor` => `x.y.*`, `patch` => `x.y.z`, `full` => keep the original version.\nOr just specify an alternate version constraint.\n\n## Contributing\n\nInstall the pre-commit hooks:\n\n```bash\npip install pre-commit\npre-commit install --allow-missing-config\n```\n\n",
"bugtrack_url": null,
"license": "BSD-2-Clause",
"summary": "Poetry plugin used to tweak dependency versions",
"version": "1.5.1",
"project_urls": {
"Homepage": "https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version",
"Repository": "https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version"
},
"split_keywords": [
"poetry",
"plugin",
"version",
"versioning",
"dynamic"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0b584b821ef2eeaff4c3c7e4f5122d746fc074261ab06e4b630cb20cb1b8e120",
"md5": "0691ddfc20ea66c7dda273357f9585ae",
"sha256": "50fe77909d61947572cf9d83916d5e87eb64f7a4744b4606b940b78d9ec53b83"
},
"downloads": -1,
"filename": "poetry_plugin_tweak_dependencies_version-1.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0691ddfc20ea66c7dda273357f9585ae",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<3.12",
"size": 5008,
"upload_time": "2023-09-04T10:10:55",
"upload_time_iso_8601": "2023-09-04T10:10:55.004857Z",
"url": "https://files.pythonhosted.org/packages/0b/58/4b821ef2eeaff4c3c7e4f5122d746fc074261ab06e4b630cb20cb1b8e120/poetry_plugin_tweak_dependencies_version-1.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cd145565d447307574c4ff492da7ed5c7b7acba6dc1ba7bf81964995d94e0408",
"md5": "d1df852c4c8599c3fe91b27179a56dbb",
"sha256": "4e0be2b8e23a04e542c5090deb5b6e191750ec45bace98ea8b55150844c6026b"
},
"downloads": -1,
"filename": "poetry_plugin_tweak_dependencies_version-1.5.1.tar.gz",
"has_sig": false,
"md5_digest": "d1df852c4c8599c3fe91b27179a56dbb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<3.12",
"size": 4114,
"upload_time": "2023-09-04T10:10:56",
"upload_time_iso_8601": "2023-09-04T10:10:56.445247Z",
"url": "https://files.pythonhosted.org/packages/cd/14/5565d447307574c4ff492da7ed5c7b7acba6dc1ba7bf81964995d94e0408/poetry_plugin_tweak_dependencies_version-1.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-04 10:10:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sbrunner",
"github_project": "poetry-plugin-tweak-dependencies-version",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "poetry-plugin-tweak-dependencies-version"
}