PEP 508

E426702

PEP 508 is a Python Enhancement Proposal that defines the standard syntax for specifying package dependencies and environment markers in Python packaging.

All labels observed (3)

How this entity was disambiguated

Statements (52)

Predicate Object
instanceOf Python Enhancement Proposal
appliesTo Python package metadata
Python packaging tools
pip
setuptools
author Donald Stufft
Marcus Smith
Nick Coghlan
created 2015-09-07
defines standard syntax for direct URL references
standard syntax for environment markers
standard syntax for extras
standard syntax for specifying package dependencies
standard syntax for version specifiers
definesConcept direct reference
environment marker
extra
normalized requirement string
version specifier
directReferenceExample package @ https://example.com/package-1.0.tar.gz
discussionsTo [email protected]
documentationURL https://peps.python.org/pep-0508/
environmentMarkerExample extra == "security"
python_version == "3.8"
sys_platform == "win32"
extraExample requests[security]
field Python packaging
governs syntax of direct URL references in requirement strings
syntax of environment markers in requirement strings
syntax of extras in requirement strings
syntax of requirement strings
hostProject Python
influences Python packaging interoperability standards
pip dependency resolution behavior
language Python
maintainedBy Python Packaging Authority
markerSyntaxBasedOn PEP 345
partOf Python packaging specifications ecosystem
relatedTo PEP 440
PEP 517
PEP 518
replaces PEP 426
shortTitle Dependency specification for Python Software Packages
linked to: PEP 508
status Final
supersedes earlier informal dependency specification conventions
title PEP 508 – Dependency specification for Python Software Packages
linked to: PEP 508
type Standards Track
usedIn install_requires in setup.py
metadata fields like Requires-Dist
pyproject.toml dependency tables
requirements.txt files
versionSpecifierExample >=1.0,<2.0

How these facts were elicited

Referenced by (8)

Full triples — surface form annotated when it differs from this entity's canonical label.

pip implements PEP 508
Pipenv integratesWith PEP 508
Pipenv followsStandard PEP 508
packaging supportsStandard PEP 508
subject linked to: packaging (Python library)
PEP 508 title PEP 508 – Dependency specification for Python Software Packages
linked to: PEP 508
PEP 508 shortTitle Dependency specification for Python Software Packages
linked to: PEP 508
PEP 440 relatedTo PEP 508