sagemath/sage

Add packages flit and dependencies flit_core, pytoml

Closed this issue · 16 comments

... as a basis for a PEP 517 build system (#29845).

flit_core installs itself using PEP 517, so this depends on the pip update in #29803; and we also have to fix sage-pip-install, which assumes a setuptools/distutils package.

tarballs: see checksums.ini

Depends on #31118

Component: build

Author: Matthias Koeppe

Branch/Commit: u/mkoeppe/add_packages_flit_and_dependencies_flit_core__pytoml @ 2326a6a

Issue created by migration from https://trac.sagemath.org/ticket/29846

Description changed:

--- 
+++ 
@@ -1,2 +1,5 @@
 ... as a basis for a PEP 517 build system (#29845).
 
+pytoml is not actively maintained, but replacing it with something else is being discussed at https://github.com/takluyver/flit/issues/255
+
+

Description changed:

--- 
+++ 
@@ -1,5 +1,10 @@
 ... as a basis for a PEP 517 build system (#29845).
 
-pytoml is not actively maintained, but replacing it with something else is being discussed at https://github.com/takluyver/flit/issues/255
+   - https://pypi.org/project/pytoml/ is not actively maintained, but replacing it with something else is being discussed at https://github.com/takluyver/flit/issues/255
 
+   - https://pypi.org/project/flit-core/
 
+   - https://pypi.org/project/flit/
+
+tarballs: see checksums.ini
+

Author: Matthias Koeppe

Description changed:

--- 
+++ 
@@ -6,5 +6,9 @@
 
    - https://pypi.org/project/flit/
 
+`flit_core` installs itself using PEP 517, so this depends on the pip update in #29803.
+
 tarballs: see checksums.ini
 
+
+

Dependencies: #29803

Description changed:

--- 
+++ 
@@ -6,7 +6,7 @@
 
    - https://pypi.org/project/flit/
 
-`flit_core` installs itself using PEP 517, so this depends on the pip update in #29803.
+`flit_core` installs itself using PEP 517, so this depends on the pip update in #29803; and we also have to fix `sage-pip-install`, which assumes a setuptools/distutils package.
 
 tarballs: see checksums.ini
 

Commit: 721e8fd

Last 10 new commits:

6755adbbuild/pkgs/pkgconfig/spkg-install.in: Remove pyproject.toml so that pip installs using setup.py
29327d3build/pkgs/entrypoints: Do not provide setup.py, not needed for entrypoints 0.3
bcc79a5build/pkgs/entrypoints/spkg-install.in: Remove pyproject.toml so that setup.py is used
361b98bbuild/pkgs/terminado/spkg-install.in: Remove pyproject.toml so that setup.py is used
5040d7ebuild/pkgs/testpath/spkg-install.in: Remove pyproject.toml so that setup.py is used
371ede6build/pkgs/zope_interface: Change to a dummy script package
dfb4400build/pkgs/pytoml: New
11b6003build/pkgs/flit, flit_core: New
20e2d59Add dependencies
721e8fdbuild/bin/sage-pip-install: For PEP 517 packages, do not try to uninstall first

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

5e7155ebuild/pkgs/pytoml/spkg-install.in: New

Changed commit from 721e8fd to 5e7155e

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

6cede58build/pkgs/pytoml: New
45df84abuild/pkgs/flit, flit_core: New
b191ae9Add dependencies
3a3bf16build/bin/sage-pip-install: For PEP 517 packages, do not try to uninstall first
b6c10bfbuild/pkgs/pytoml/spkg-install.in: New
9d747fcsage --package update-latest: Distinguish pypi package name and spkg name
f74f66csage --package update-latest: Accept package classes :standard:, :optional: etc., restrict to normal Python packages
5f75c6fMerge branch 't/31118/sage___package_update_latest__fix_for_package_names_containing_dashes' into t/29846/add_packages_flit_and_dependencies_flit_core__pytoml
2326a6abuild/pkgs/{flit,flit_core}: Update to 3.0.0

Changed commit from 5e7155e to 2326a6a

Changed dependencies from #29803 to #31118

comment:11

need to rebase on #31280, which cherry-picked from here

outdated