Skip to main content

Poetry plugin used to drop upper constraints for Python

Project description

Poetry plugin drop Python upper constraint

With this plugin you can set a python constraints like:

[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:

[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:

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

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