Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version
https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sbrunner/poetry-plugin-tweak-dependencies-version
- Owner: sbrunner
- License: bsd-2-clause
- Created: 2022-04-19T11:15:13.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T13:41:19.000Z (3 months ago)
- Last Synced: 2024-10-14T19:52:09.379Z (2 months ago)
- Language: Python
- Size: 747 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
"" = "(present|major|minor|patch|full|)"```
`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
```