https://github.com/sbrunner/poetry-plugin-drop-python-upper-constraint
https://github.com/sbrunner/poetry-plugin-drop-python-upper-constraint
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sbrunner/poetry-plugin-drop-python-upper-constraint
- Owner: sbrunner
- License: bsd-2-clause
- Created: 2023-10-06T07:43:38.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-08T00:36:30.000Z (4 months ago)
- Last Synced: 2025-03-18T10:51:28.774Z (4 months ago)
- Language: Python
- Size: 613 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Poetry plugin drop Python upper constraint
With this plugin you can set a python constraints like:
```toml
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
```And in the exported wheel we will have only `python=">=3.9"`.
The goal is to have an upper constraint to do the lock but to don't have it in the exported wheel,
then to permit to use it with newer Python version.Config:
```toml
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-plugin-drop-python-upper-constraint>=0.1.0"]
build-backend = "poetry.core.masonry.api"
```## Contributing
Install the pre-commit hooks:
```bash
pip install pre-commit
pre-commit install --allow-missing-config
```