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

File details

Details for the file poetry_plugin_drop_python_upper_constraint-0.1.0.tar.gz.

File metadata

File hashes

Hashes for poetry_plugin_drop_python_upper_constraint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 186c4240ad6fa322c49aa95bd9602dee72dc2af11b74f686ff5ae710d7f725c1
MD5 861bb47873fd7818a0124cc55c7c0a4e
BLAKE2b-256 bbef59bcb9efc889d8ed93abe30c7a9f19c845c897ad136cb31b08c51a9db009

See more details on using hashes here.

File details

Details for the file poetry_plugin_drop_python_upper_constraint-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_plugin_drop_python_upper_constraint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b1ba6a6e585f48806311bc6d8c0acebe40cf934985352ade4cb7f86aa705afe
MD5 5ffbd61659467ae05a9f636b9220268d
BLAKE2b-256 5785d736ba2f2cb3c4ed80a7eb78a7aabc085eb055b8fe42352824ac30dca43d

See more details on using hashes here.

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