Opened 3 months ago

Last modified 4 weeks ago

#33881 new enhancement

New upstream for database_stein_watkins

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.7
Component: packages: optional Keywords:
Cc: was Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mkoeppe/new_upstream_for_database_stein_watkins (Commits, GitHub, GitLab) Commit: fb4359346b98832395b5b77713ae039e3461888c
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

We create Python packages at https://github.com/sagemath/database_stein_watkins that serve as the new upstream.

The actual files will be accessed via importlib.resources; actually the backport package importlib-resources, because Python 3.8 does not have files and as_file. Also we need the added support for package resources in namespace packages: the distributions database-stein-watkins-mini and database-stein-watkins-huge both share the namespace database_stein_watkins.

Currently database-stein-watkins-huge is only a placeholder. Whether we can publish the huge package to PyPI will depend on whether the size limit request at https://github.com/pypa/pypi-support/issues/1946 is successful.

We use hatchling as the build system. It supports PEP 660 editable wheels and namespace packages. (flit_core is not suitable - it does not have support for resources in namespace packages.)

Part of Meta-ticket #30914: Create upstream repositories, pip-installable packages for database packages

Change History (21)

comment:1 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:2 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:3 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:4 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:5 Changed 3 months ago by mkoeppe

  • Branch set to u/mkoeppe/new_upstream_for_database_stein_watkins

comment:6 Changed 3 months ago by mkoeppe

  • Commit set to 747a5785fd24785afc5a3e281da20f9413e1b5c7
  • Description modified (diff)

New commits:

747a578build/pkgs/database_stein_watkins_mini: New upstream

comment:7 Changed 3 months ago by git

  • Commit changed from 747a5785fd24785afc5a3e281da20f9413e1b5c7 to 7579cc40d1cbdfc4bbbfc5fb704e8c1201b37679

Branch pushed to git repo; I updated commit sha1. New commits:

b7e702ebuild/pkgs/database_stein_watkins_mini/package-version.txt: Bump patch level
9893d47src/sage/databases/stein_watkins.py: Change all # optional tags to database_stein_watkins_mini
7579cc4src/sage/databases/stein_watkins.py: Use importlib_resources instead of reading from SAGE_SHARE

comment:8 Changed 3 months ago by mkoeppe

  • Authors set to Matthias Koeppe

comment:9 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:10 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 3 months ago by git

  • Commit changed from 7579cc40d1cbdfc4bbbfc5fb704e8c1201b37679 to 0348bf87b6eeae09f7ab665a415580548a19393a

Branch pushed to git repo; I updated commit sha1. New commits:

0348bf8build/pkgs/database_stein_watkins: New upstream

comment:12 Changed 3 months ago by git

  • Commit changed from 0348bf87b6eeae09f7ab665a415580548a19393a to e9cba6c7f175cc29e46f5f76ac69b817e6e7997d

Branch pushed to git repo; I updated commit sha1. New commits:

e9cba6csrc/sage/databases/stein_watkins.py: Add a test that needs the huge package

comment:13 Changed 3 months ago by mkoeppe

  • Description modified (diff)

comment:14 Changed 3 months ago by mkoeppe

Editable installs do not work yet

comment:15 Changed 3 months ago by mkoeppe

Now they work.

comment:16 Changed 3 months ago by mkoeppe

  • Work issues set to Add spkgs for hatchling and its deps

comment:17 Changed 3 months ago by git

  • Commit changed from e9cba6c7f175cc29e46f5f76ac69b817e6e7997d to 89581089d44bf7c46eb4b640ca2da9dc85a73f6f

Branch pushed to git repo; I updated commit sha1. New commits:

8958108build/pkgs/hatchling: New

comment:18 Changed 3 months ago by mkoeppe

  • Work issues changed from Add spkgs for hatchling and its deps to Change spkg for hatchling to normal, add its deps

comment:19 Changed 4 weeks ago by git

  • Commit changed from 89581089d44bf7c46eb4b640ca2da9dc85a73f6f to fb4359346b98832395b5b77713ae039e3461888c

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

d8e55c9build/pkgs/database_stein_watkins_mini: New upstream
f16d624build/pkgs/database_stein_watkins_mini/package-version.txt: Bump patch level
19b503bsrc/sage/databases/stein_watkins.py: Change all # optional tags to database_stein_watkins_mini
773b85bsrc/sage/databases/stein_watkins.py: Use importlib_resources instead of reading from SAGE_SHARE
33c60d4build/pkgs/database_stein_watkins: New upstream
fb43593src/sage/databases/stein_watkins.py: Add a test that needs the huge package

comment:20 Changed 4 weeks ago by mkoeppe

  • Work issues Change spkg for hatchling to normal, add its deps deleted

comment:21 Changed 4 weeks ago by mkoeppe

  • Description modified (diff)
Note: See TracTickets for help on using tickets.