Skip to main content

unsupported-python

This package can be used as a conditional dependency to indicate lack of support for particular versions of Python.

[project]
name = "my-test-package"
version = "1.0.0"
dependencies = [
    # package does not work on Python 3.11 and beyond
    "unsupported-python; python_version>='3.11'",
]

Installing a package which depends on unsupported-python will fail with an error message, without breaking the installation further by going back to earlier versions of said package.

To allow installation of the unsupported-python dependency, and hence any package that conditionally depends on it, set the ALLOW_UNSUPPORTED_PYTHON environment variable to any value.

Metadata

Release files for unsupported-python 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unsupported-python 1.0.0
File Size Uploaded
unsupported-python-1.0.0.tar.gz 2.4 kB Details

Release files / unsupported-python-1.0.0.tar.gz

Download URL unsupported-python-1.0.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
64e4eb0c4d99b9ad17247dc2c34e0a9b8be2b21dc1c28079ab625457a74a5abe
BLAKE2b-256 checksum
How to use checksums
e1efe6f8232d0f7f3c402b05b186aacdfc632bca5ad33d114375cf9eefd749ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page