Choosing Between sdist and Wheels for PyPI Distribution
Learn when to use Source Distributions (sdist) versus Wheels (.whl) for PyPI packages to balance installation speed and cross-platform compatibility.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn when to use Source Distributions (sdist) versus Wheels (.whl) for PyPI packages to balance installation speed and cross-platform compatibility.
Learn how to choose between Source Distributions (sdist) and Binary Wheels for PyPI. This guide compares installation speed, compatibility, and the manylinux standard to help you implement a hybrid publishing strategy.
Decide where each non-core dependency lives in a Poetry project: groups for internal tooling, extras for user-facing optional features, markers for platform conditions — with a concrete pyproject.toml layout, install commands per environment, and validation steps.
Since mid 2022 it is now possible to get rid of setup.py , setup.cfg in favor of pyproject.toml . Editable installs work with recent versions of setuptools and pip and even the official packaging tutorial switched away from setup.py to pyproject.toml . However, documentation regarding requirements.txt seems to be have been also removed, and I wonder where to
Resolver Performance and Constraint Conflict Poetry uses a deterministic resolver and a backtracking algorithm to generate the poetry.lock file based on the constraints defined in pyproject.toml . While this ensures environment consistency, the resolution process can encounter performance bottlenecks when managing deeply nested dependency trees or restrictiv