-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
SPKG type: Make "normal/script/pip" orthogonal to "base/standard/optional/experimental" #29287
Comments
Commit: |
Author: Matthias Koeppe |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
This needs documentation. |
comment:6
Indeed, as noted already in #21033. |
comment:7
Just putting the list in the description somewhere in the docs would help. What is a "script" package, anyway? |
Dependencies: #21033 |
comment:8
Yes, I'll work on it |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:11
Rebased on 9.1.beta7, merged #29096 to avoid conflicts in documentation |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:29
I don't know m4 syntax. Is the indentation remaining after you delete |
comment:30
No, it is not meaningful, I was just keeping the diff small. |
comment:31
What do you think about this proposed change: diff --git a/src/doc/en/developer/packaging.rst b/src/doc/en/developer/packaging.rst
index 6934f4ebbf..34f5651bc1 100644
--- a/src/doc/en/developer/packaging.rst
+++ b/src/doc/en/developer/packaging.rst
@@ -87,8 +87,9 @@ the following source types:
- is obtained directly from https://pypi.org/;
- the version to be installed is determined using the required file
- ``requirements.txt`` (see
- https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format);
+ ``requirements.txt`` -- in its simplest form, this file just
+ contains the name of the package (more details at
+ https://pip.pypa.io/en/stable/user_guide/#requirements-files);
- Sage installs the package using the ``pip`` package manager;
Note: different link, in addition to the changed text. |
comment:32
Excellent, please push it to the ticket |
comment:34
Not necessarily for this ticket, but should New commits:
|
comment:35
Good idea. I'll make this change. |
comment:37
Replying to @jhpalmieri:
Ha, this doctest is funny. I'll fix it. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:40
Can you explain the doctest failure? For some reason, there was no output before, but now there is output? |
comment:41
The doctest was actually "broken" by #29038 in the situation when the The present ticket makes sure that |
comment:42
Why do we need to give a longer path in the |
comment:43
Replying to @jhpalmieri:
This is an incidental bugfix for something that was broken by some earlier ticket. Seems nobody has tried |
Reviewer: John Palmieri |
comment:45
A few small changes. If you're happy with these, positive review from me. New commits:
|
comment:46
Great, thanks very much. |
This ticket, inspired by a proposal by embray in #24586, removes the misuse of "package type" for the undocumented "script package" category (introduced in #19427). Likewise, it removes the same misuse of "package type" for the undocumented (as noted in #21033) "pip package" category (introduced in #19187).
With this ticket,
type
has to be one ofbase
/standard
/optional
/experimental
.All
type=pip
packages are changed tooptional
.All
type=script
packages are changed tooptional
; with the exception ofsage_conf
, which is a dependency ofsagelib
and is changed tostandard
.Orthogonal to
type
is the new notion of a package "source", which is defined as follows:normal
packages have achecksum.ini
filepip
packages have arequirements.txt
file instead (which is used forpip install
). (This allows us to change thepyopenssl
package fromscript
topip
.)script
packages have neither of the twoThe ticket also makes
script
packages more similar tonormal
packages: They can now optionally have apackage-version.txt
file; and their installation status is recorded.Finally, this ticket adds documentation to the developer manual.
CC: @embray @dimpase @jhpalmieri @sagetrac-tmonteil @vbraun
Component: build
Author: Matthias Koeppe
Branch/Commit:
0919086
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/29287
The text was updated successfully, but these errors were encountered: