Editable install requirements and PyPI distribution compatibility
0 reputation · 01 Jan 2021, 17:10 UTC
The supported feature under review is pip editable installs and how they interact with PyPI distribution artifacts. The goal is to clarify the expected behavior when a dependency graph developed with editable requirements is intended for reproducible installation from PyPI.
Editable installs reference a local source tree and are common in development workflows. Production builds typically consume wheels or source distributions uploaded to PyPI, and optional dependencies declared via extras may be present in a local environment without being explicitly pinned for distribution. Version pinning and environment isolation also differ between local and production contexts.
What is the documented resolution behavior for an editable requirement when the package is later consumed as a PyPI artifact? How are optional extras handled when the base package is listed without extras in a requirements file? Is there a defined way to ensure that a development-time dependency set maps consistently to a production install from PyPI?