Build python pyproject package #1146
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#1146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem to solve
nixpkgshave functions that handle the construction of python packages and python environments i.e.buildPythonPackage,buildEnv. All the python packages fromnixpkgsare built from these helper functions.The core problems by using
makePythonPypiEnvironmentare:pypiandpoetrythey relay on packaged binaries bundled on the wheels (that can be a problem since binary dependencies are not handled entirely by nix)It is true that all of this problems can be overtaken and "fixed" by modifying PATH and other env setup but this makes that:
nixpkgsversion of the packagenixpkgspython packages results in posible package version collisions. WithnixpkgsbuildEnv this can be detected usingignoreCollisions = false;.Intended users
Python developers
Permissions and Security
Proposal
nixpkgsstandard functions.makePythonPypiEnvironmentto be usable by this new python builderTest plan
What does success look like, and how can we measure that?
Links / references
/label ~"type::feature"
Some thoughts regarding this:
makePythonPypiEnvironmentshould be fetched from PyPi instead of relying on the ones built on nixpkgs in order to avoid compilations and having to deal with several nixpkgs versions.integration support for pypi will be handled on this issue: https://github.com/fluidattacks/makes/issues/1161