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

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for poetry_plugin_drop_python_upper_constraint-1.0.1.tar.gz
Algorithm Hash digest
SHA256 35031c76a88cea3e876d9d47c1abb4d88002340ed12241955ec63e57fdace844
MD5 b368a05be639658a1b2022b5f9ef0e47
BLAKE2b-256 50e577053808dd98b871f51ce0a53b3194637d42ac89f385413e3866adc511dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for poetry_plugin_drop_python_upper_constraint-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4a295849803f45187e4ae9c5ba74127358e369423f3bf3c9cbddc8ce3d42e66
MD5 dc34ec4662934df37a7625f6979e3e2d
BLAKE2b-256 a842195a031d40a06f7452cc837ec024912009fe07cefe61c546fe209118d827

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page