sage --package: Add commands "list :standard:", "update-latest" (for packages from PyPI), "upload"
For pip-type packages we can get version information automatically from PyPI. This new subcommand downloads the latest tarball and updates package-version.txt
and checksums.ini
in one go:
$ sage --package update-latest matplotlib
Updating matplotlib: 1.5.0 -> 1.5.1
Downloading tarball to /home/vbraun/Code/sage.git/upstream/matplotlib-1.5.1.tar.bz2
[......................................................................]
Change History (14)
Branch: |
→ u/vbraun/automatic_updates_of_pip_type_packages
|
Authors: |
→ Volker Braun
|
Commit: |
→ 55e6e027c9a77349634d94005e8dcab94e0893c3
|
Component: |
PLEASE CHANGE →
packages: optional
|
Description: |
modified (diff)
|
Status: |
new →
needs_review
|
Type: |
PLEASE CHANGE →
enhancement
|
Milestone: |
sage-7.1 →
sage-7.3
|
Status: |
needs_review →
needs_work
|
Branch: |
u/vbraun/automatic_updates_of_pip_type_packages →
u/mkoeppe/automatic_updates_of_pip_type_packages
|
Commit: |
55e6e027c9a77349634d94005e8dcab94e0893c3 →
94ec3c934e855a92b698f58ab169f0f29b8c9808
|
Milestone: |
sage-7.3 →
sage-9.2
|
Summary: |
Automatic updates of pip-type packages →
Automatic updates of packages from PyPI (sage --package update-latest), add command sage --package upload
|
Summary: |
Automatic updates of packages from PyPI (sage --package update-latest), add command sage --package upload →
sage --package: Add commands "list :standard:", "update-latest" (for packages from PyPI), "upload"
|
Dependencies: |
#19984 →
#19984, #29890
|
Commit: |
94ec3c934e855a92b698f58ab169f0f29b8c9808 →
a91ecab65c741c5305d4e4061e89e4da04a30aeb
|
Dependencies: |
#19984, #29890 →
#29890
|
Reviewers: |
→ Matthias Koeppe
|
Status: |
needs_work →
positive_review
|
Resolution: |
→ fixed
|
Status: |
positive_review →
closed
|
New commits:
Use argparse in sage_bootstrap
Add sage --package download and fix-checksum
Fix and deprecate sage-fix-pkg-checksums
Correct helpstring
Also test sage --package update
Merge #19984 into #20104
Add sage --package update-latest command