Commit fbaec79
Release Manager
gh-37391: Make installation of "wheel" packages less noisy
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes #1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
Some care for `build/bin/sage-spkg`, reducing unhelpful verbosity. In
particular, for "wheel" packages (https://deploy-livedoc--
sagemath.netlify.app/html/en/developer/packaging#package-source-types),
there is no build step, so there is no point in talking about what C
compiler is in use.
Also saving a few lines of output (and making it clearer who does what)
by prefixing the output from the various `spkg-...` scripts.
Example:
```
$ make packaging-no-deps
[packaging-23.2] Using cached file /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/upstream/packaging-23.2-py3-none-any.whl
[packaging-23.2] Setting up build directory /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/local/var/lib/sage/venv-
python3.11/var/tmp/sage/build/packaging-23.2
[packaging-23.2] [spkg-piprm] Found existing installation: packaging
23.2
[packaging-23.2] [spkg-piprm] Uninstalling packaging-23.2:
[packaging-23.2] [spkg-piprm] Successfully uninstalled packaging-23.2
[packaging-23.2] Removing stamp file /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/local/var/lib/sage/venv-
python3.11/var/lib/sage/installed/packaging-23.2
[packaging-23.2] [spkg-install] Staged wheel file, staged
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-
python3.11/var/lib/sage/scripts/packaging/spkg-requirements.txt
[packaging-23.2] Moving package files from temporary location
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-
python3.11/var/tmp/sage/build/packaging-23.2/inst to
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-python3.11
[packaging-23.2] [spkg-pipinst] Using pip 23.3.1 from
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-python3.11/lib/python3.11/site-
packages/pip (python 3.11)
[packaging-23.2] [spkg-pipinst] Looking in links:
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-python3.11/var/lib/sage/wheels
[packaging-23.2] [spkg-pipinst] Processing /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/local/var/lib/sage/venv-
python3.11/var/lib/sage/wheels/packaging-23.2-py3-none-any.whl (from -r
/Users/mkoeppe/s/sage/sage-rebasing/worktree-
pristine/local/var/lib/sage/venv-
python3.11/var/lib/sage/scripts/packaging/spkg-requirements.txt (line
1))
[packaging-23.2] [spkg-pipinst] Installing collected packages: packaging
[packaging-23.2] [spkg-pipinst] ERROR: pip's dependency resolver does
not currently take into account all the packages that are installed.
This behaviour is the source of the following dependency conflicts.
[packaging-23.2] [spkg-pipinst] meson-python 0.15.0 requires
meson>=0.63.3; python_version < "3.12", which is not installed.
[packaging-23.2] [spkg-pipinst] tox 4.11.1 requires cachetools>=5.3.1,
which is not installed.
[packaging-23.2] [spkg-pipinst] tox 4.11.1 requires chardet>=5.2, which
is not installed.
[packaging-23.2] [spkg-pipinst] Successfully installed packaging-23.2
[packaging-23.2] Deleting build directory /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/local/var/lib/sage/venv-
python3.11/var/tmp/sage/build/packaging-23.2
[packaging-23.2] Finished installing packaging-23.2
```
Also displaying build times for each package, even when using `make
V=0`, but suppressing very short build times:
```
$ make V=0
...
[setuptools_scm-8.0.4] installing. Log file: /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/logs/pkgs/setuptools_scm-8.0.4.log
[hatchling-1.20.0] installing. Log file: /Users/mkoeppe/s/sage/sage-
rebasing/worktree-pristine/logs/pkgs/hatchling-1.20.0.log
[setuptools_scm-8.0.4] successfully installed.
[hatchling-1.20.0] successfully installed.
...
[sage_conf-10.3.beta8] successfully installed (real 11.36 user 8.32
sys 2.67).
[pyproject_metadata-0.7.1] successfully installed (real 16.57 user
10.70 sys 2.97).
[ipykernel-6.27.1] successfully installed (real 19.31 user 11.35 sys
3.71).
```
<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes #12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->
- [x] The title is concise, informative, and self-explanatory.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on
- #12345: short description why this is a dependency
- #34567: ...
-->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
URL: #37391
Reported by: Matthias Köppe
Reviewer(s): Kwankyu Lee
File tree
7 files changed
+111
-77
lines changed- build
- bin
- make
- pkgs/sagelib
- sage_bootstrap
- src/doc/en/developer
7 files changed
+111
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
326 | 331 | | |
327 | | - | |
| 332 | + | |
328 | 333 | | |
329 | 334 | | |
330 | 335 | | |
| |||
392 | 397 | | |
393 | 398 | | |
394 | 399 | | |
395 | | - | |
| 400 | + | |
396 | 401 | | |
397 | 402 | | |
398 | 403 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
64 | 83 | | |
65 | 84 | | |
66 | 85 | | |
| |||
75 | 94 | | |
76 | 95 | | |
77 | 96 | | |
78 | | - | |
| 97 | + | |
| 98 | + | |
79 | 99 | | |
80 | 100 | | |
81 | 101 | | |
82 | 102 | | |
83 | 103 | | |
84 | 104 | | |
85 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
86 | 111 | | |
87 | 112 | | |
88 | 113 | | |
89 | 114 | | |
90 | 115 | | |
91 | 116 | | |
92 | 117 | | |
93 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
94 | 121 | | |
95 | 122 | | |
96 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 454 | | |
458 | 455 | | |
459 | 456 | | |
| |||
483 | 480 | | |
484 | 481 | | |
485 | 482 | | |
486 | | - | |
| 483 | + | |
487 | 484 | | |
488 | 485 | | |
489 | 486 | | |
| |||
521 | 518 | | |
522 | 519 | | |
523 | 520 | | |
524 | | - | |
525 | 521 | | |
526 | 522 | | |
527 | 523 | | |
| |||
646 | 642 | | |
647 | 643 | | |
648 | 644 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
657 | 654 | | |
658 | 655 | | |
659 | 656 | | |
| |||
665 | 662 | | |
666 | 663 | | |
667 | 664 | | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | | - | |
| 671 | + | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
680 | | - | |
| 679 | + | |
681 | 680 | | |
682 | 681 | | |
683 | 682 | | |
| |||
686 | 685 | | |
687 | 686 | | |
688 | 687 | | |
689 | | - | |
| 688 | + | |
690 | 689 | | |
691 | 690 | | |
692 | 691 | | |
693 | 692 | | |
694 | | - | |
| 693 | + | |
695 | 694 | | |
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
699 | 698 | | |
700 | 699 | | |
701 | | - | |
| 700 | + | |
702 | 701 | | |
703 | 702 | | |
704 | 703 | | |
| |||
784 | 783 | | |
785 | 784 | | |
786 | 785 | | |
787 | | - | |
788 | | - | |
| 786 | + | |
789 | 787 | | |
790 | 788 | | |
791 | 789 | | |
792 | 790 | | |
793 | 791 | | |
794 | 792 | | |
795 | | - | |
796 | | - | |
| 793 | + | |
797 | 794 | | |
798 | 795 | | |
799 | 796 | | |
| |||
813 | 810 | | |
814 | 811 | | |
815 | 812 | | |
816 | | - | |
| 813 | + | |
817 | 814 | | |
818 | 815 | | |
819 | 816 | | |
| |||
869 | 866 | | |
870 | 867 | | |
871 | 868 | | |
872 | | - | |
873 | | - | |
| 869 | + | |
874 | 870 | | |
875 | 871 | | |
876 | 872 | | |
| |||
881 | 877 | | |
882 | 878 | | |
883 | 879 | | |
884 | | - | |
885 | | - | |
| 880 | + | |
886 | 881 | | |
887 | 882 | | |
888 | 883 | | |
| |||
929 | 924 | | |
930 | 925 | | |
931 | 926 | | |
932 | | - | |
933 | 927 | | |
934 | 928 | | |
935 | 929 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments