Skip to content
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

sage --package: Multiple tarballs, binary wheels; build/pkgs/jsonschema: Update; clarabel: Change to binary wheel #38219

Open
wants to merge 54 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4412e67
WIP
mkoeppe Jun 3, 2024
4a9de7c
sage_bootstrap: Prefer using Package.tarball_pattern to .tarball_file…
mkoeppe Jun 14, 2024
2f0b139
sage_bootstrap.tarball.Tarball: Store upstream_url, sha1, sha256
mkoeppe Jun 14, 2024
ac37d4a
sage_bootstrap: Prefer using Package.tarball_upstream_url_pattern to …
mkoeppe Jun 14, 2024
159b0f5
sage_bootstrap.package: Store checksums.ini in self.__checksums, supp…
mkoeppe Jun 14, 2024
0f87186
sage_bootstrap.package: Add Package.tarballs()
mkoeppe Jun 14, 2024
ec1efea
sage_bootstrap: Remove uses of Package.tarball_filename
mkoeppe Jun 14, 2024
b94e84e
sage --package {download,upload}: Handle multiple tarballs
mkoeppe Jun 14, 2024
b5e90f4
sage_bootstrap.tarball: Do not fail if there is sha256 but not sha1
mkoeppe Jun 14, 2024
57b4f73
sage_bootstrap.package: Fixup
mkoeppe Jun 14, 2024
73b2fab
sage --package create --pypi --source wheel: Handle platform wheels
mkoeppe Jun 14, 2024
d5d9f47
sage_bootstrap.package: Fixup
mkoeppe Jun 14, 2024
e21a376
build/sage_bootstrap/package.py: Fixup
mkoeppe Jun 14, 2024
76ff616
sage --package download: New option --tags
mkoeppe Jun 14, 2024
1c8648c
build/sage_bootstrap/package.py: Fixup
mkoeppe Jun 14, 2024
bdb7ad2
WIP
mkoeppe Jun 14, 2024
6a72b8f
build/sage_bootstrap/app.py: Fix up
mkoeppe Jun 15, 2024
7a9e62f
build/bin/sage-spkg: Pass platform tags to 'sage-package download'
mkoeppe Jun 15, 2024
ae66f6b
build/pkgs/rpds_py: New
mkoeppe Jun 15, 2024
4ed7669
sage_bootstrap.package: Remove unused methods
mkoeppe Jun 15, 2024
1367b09
build/pkgs/jsonschema: Update to 4.22.0
mkoeppe Jun 15, 2024
55d97b2
sage -package: Normalize PURLs like pypi/MarkupSafe before looking th…
mkoeppe May 27, 2024
d778163
build/pkgs/jsonschema: Update to 4.22.0, change to wheel package
mkoeppe Jun 15, 2024
91cdac8
build/pkgs/jsonschema_specifications: Update to 2023.12.1
mkoeppe Jun 15, 2024
62e7935
build/pkgs/referencing: Update to 0.35.1
mkoeppe Jun 15, 2024
41351ff
build/pkgs/pyrsistent: Remove
mkoeppe Jun 15, 2024
98897db
build/pkgs/rpds_py/spkg-configure.m4: New
mkoeppe Jun 15, 2024
3ca735f
src/doc/en/developer/packaging.rst: Document use of platform-dependen…
mkoeppe Jun 15, 2024
879008f
configure --disable-notebook: Also disable rpds_py
mkoeppe Jun 15, 2024
1599f44
build/pkgs/sagemath_doc_html: Make jupyter_sphinx an optional depende…
mkoeppe Jun 15, 2024
58c1018
src/sage_docbuild/conf.py: Conditionalize using tag 'jupyter_sphinx'
mkoeppe Jun 16, 2024
20f0d2a
src/sage_docbuild/conf.py [!SAGE_LIVE_DOC]: define a fake JUPYTER-EXE…
mkoeppe Jun 17, 2024
0893f41
src/sage/features/sphinx.py: Add jupyter_sphinx
mkoeppe Jun 17, 2024
235bce6
src/sage_docbuild/conf.py: Make jupyter_sphinx optional via Feature
mkoeppe Jun 17, 2024
37ca743
Merge branch 'jupyter_sphinx_optional' into binary_wheels
mkoeppe Jun 18, 2024
7edebb4
sage --package create --pypi: Also handle --version
mkoeppe Jun 18, 2024
e044d1c
Merge remote-tracking branch 'upstream/develop' into binary_wheels
mkoeppe Jun 23, 2024
406446f
build/pkgs/clarabel: Change to a normal binary wheel package
mkoeppe Jun 23, 2024
bce80f9
sage_bootstrap.package: Fix Package.source for binary wheels
mkoeppe Jun 23, 2024
405c8c3
build/pkgs/sagemath_doc_html: Make jupyter_sphinx an optional depende…
mkoeppe Jun 15, 2024
e435287
src/sage_docbuild/conf.py: Conditionalize using tag 'jupyter_sphinx'
mkoeppe Jun 16, 2024
c37ffe8
src/sage_docbuild/conf.py [!SAGE_LIVE_DOC]: define a fake JUPYTER-EXE…
mkoeppe Jun 17, 2024
bb454f1
src/sage/features/sphinx.py: Add jupyter_sphinx
mkoeppe Jun 17, 2024
b2cff7a
src/sage_docbuild/conf.py: Make jupyter_sphinx optional via Feature
mkoeppe Jun 17, 2024
7a1a204
src/sage_docbuild/conf.py: Fix handling of tags
mkoeppe Aug 4, 2024
19981af
src/doc/**/conf.py: Fix handling of tags
mkoeppe Aug 4, 2024
93a2b83
.github/workflows/doc-build.yml: Ignore error in 'git stash pop'
mkoeppe Aug 4, 2024
fdc5453
Merge branch 'jupyter_sphinx_optional' into binary_wheels
mkoeppe Aug 4, 2024
72621a6
Merge branch 'jupyter_sphinx_optional' into binary_wheels
mkoeppe Aug 14, 2024
a81012e
sage --package create: Increase verbosity
mkoeppe Aug 23, 2024
acca5a7
sage --package create: Say 'none' if no Requires-Python
mkoeppe Aug 23, 2024
d890746
build/pkgs/rpds_py/SPKG.rst: Explain how it is used in Sage
mkoeppe Aug 23, 2024
43c3caf
Merge branch 'develop' into binary_wheels
mkoeppe Sep 5, 2024
621a6d5
Merge remote-tracking branch 'upstream/develop' into binary_wheels
mkoeppe Oct 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sage -package: Normalize PURLs like pypi/MarkupSafe before looking th…
…em up
  • Loading branch information
Matthias Koeppe committed Jun 15, 2024
commit 55d97b253d433dbc6fb314a688fadaffe7944bf1
2 changes: 1 addition & 1 deletion build/sage_bootstrap/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __new__(cls, package_name):
if package_name.startswith("pypi/") or package_name.startswith("generic/"):
package_name = "pkg:" + package_name
if package_name.startswith("pkg:"):
package_name = package_name.replace('_', '-')
package_name = package_name.replace('_', '-').lower()
if package_name.startswith("pkg:generic/"): # fast path
try:
pkg = cls(package_name[len("pkg:generic/"):].replace('-', '_'))
Expand Down