-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add build/pkgs/SPKG/requirements.txt for all Python SPKG #30024
Comments
comment:2
I would strongly suggest to have a look at pipenv, which manages python dependencies via pipfile and pipfile.lock (replacing requirements.txt and checksums.ini (?)). |
This comment has been minimized.
This comment has been minimized.
comment:3
Not sure if we can use pipenv as a drop in solution. For various Python packages, we currently have to use patches or special build steps. I have sketched a way forward in #29500 -- use our custom build scripts to build wheels (and store them in a wheelhouse / private package index), which can then be installed by all standard tools (and also by users into separate venvs). We can certainly generate a |
comment:4
Let's discuss two separate concerns on two separate tickets:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dependencies: #30719 |
This comment has been minimized.
This comment has been minimized.
Closing as not planned. |
These files were added in #29287 (SPKG type: Make "normal/script/pip" orthogonal to "base/standard/optional/experimental") for all pip packages.
We record "abstract" version requirements in files
build/pkgs/SPKG/install-requires.txt
- this is #30719.In this ticket, we additionally record "concrete" versions for all Python packages in
build/pkgs/SPKG/requirements.txt
.(cf. https://packaging.python.org/discussions/install-requires-vs-requirements/)
Some scripts need updating to make sure that
checksums.ini
wins overrequirements.txt
- to keep normal packages normal.Depends on #30719
CC: @slel @jhpalmieri @orlitzky
Component: build
Issue created by migration from https://trac.sagemath.org/ticket/30024
The text was updated successfully, but these errors were encountered: