-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
sagelib: Update metadata for PyPI deployment as package sagemath-standard #30912
Comments
comment:1
Currently,
I was planning to change it to |
New commits:
|
Author: Matthias Koeppe |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
should we also claim https://pypi.org/project/sagemath/ ? |
comment:7
The dummy package on pypi.org/project/sagemath was created so that other projects could be made to depend on it, and thus allow a user to install a custom package without having to recompile Sage. This has worked well to this day, you can install the darmonpoints package with a one-liner and alongside it checks that the installed version of Sage is the correct one. At the time (2016 maybe?) we thought that this was a good idea, since it seemed like it was a long time until modularization would be a reality. The dummy package only has one function ( I don't mind giving away this package if modularity is happening, since then there would a proper way to check for each of the required packages (there should be a way to check for the "whole sage" being installed, since it may be hard to decide on all the dependencies). How should we go about it? I would rather have this kind of functionality (and I am assuming that the other two package maintainers that use the dummy package would be with me) available during the transition, specially if it takes more than a week or two... |
comment:8
I certainly don't need the |
This comment has been minimized.
This comment has been minimized.
comment:13
What's the reason that this new metadata is only in build/.../sagelib and not (also?) under Moreover, FYI, PEP 621 for Storing project metadata in pyproject.toml has been provisionally accepted (and will be fully accepted latest on 2021-03-01). Once setuptools supports this, I would propose to follow it and put the metadata in pyproject.toml. |
comment:15
Replying to @tobiasdiez:
I guess I had wanted to avoid merge conflicts with #30371, but here you go. |
comment:16
Replying to @tobiasdiez:
Yes, it's good to see the progress in this direction. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed keywords from none to sd111 |
This comment has been minimized.
This comment has been minimized.
comment:23
Replying to @mmasdeu:
Maybe there could be a package with a more Maybe one of the following names, or something similar?
Some users assume from the name that it actually installs Sage, Not an emergency, but something to consider. |
Work Issues: add license file |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:29
Still hoping for someone with recent Python packaging experience to review this ticket. |
This comment has been minimized.
This comment has been minimized.
comment:34
Needs review. |
comment:35
Can we please get this into 9.3? |
comment:36
I'm seeing a doctest failure:
Is it spurious or could it be caused by this ticket? |
comment:37
If the docbuild fails with an error, then |
comment:38
That's too bad. I thought, but maybe I'm wrong about this, that starting Sage used to create the started_file, and I made sure to run Sage before rerunning this doctest. You're right, in any case: |
comment:39
I don't think starting sage creates the started file. It's only happening as part of the build in |
comment:40
since #13988 |
Reviewer: John Palmieri |
comment:41
I am far from an expert in |
comment:42
Thanks! |
comment:43
This is fun. Volker is in the process of merging the ticket, which means I get to test it in sage-on-gentoo
You can read the PEP in question here https://www.python.org/dev/peps/pep-0440/. I am currently using the Gentoo stable setuptools which is 50.3.0. sage is shipping 51.1.1 so I am guessing someone had a change of heart about strict enforcement between those two. I'll check by updating my own to the latest in Gentoo's tree (53.0.0). But if the PEP get enforced the days of naming release .betaN and .rcN are numbered. |
comment:44
Reading more closely |
comment:45
Still broken for me with setuptools-53.0.0. |
comment:46
This does not affect the Sage distribution (it uses the other copy of |
comment:47
I see. Switching to that copy is possible but that messes up how I currently do the documentation. I am not quite sure how much effort yet but it probably should be done. |
comment:48
Replying to @kiwifb:
Lesson of the day, patch doesn't like symbolic links which means that I am better off waiting for #31357. |
Changed branch from u/mkoeppe/sagelib__update_metadata_for_pypi_deployment to |
We update the following items in
build/pkgs/sagelib/src/
:README.rst
LICENSE.txt
(for sagelib and documentation only - see discussion in Install COPYING.txt #21571)setup.py
metadata (author, license, compatibility, ....)We switch from distutils to setuptools so we can put the new metadata in the
setup.cfg
format.sage-devel post regarding naming:
Naming was discussed during https://wiki.sagemath.org/days111 and a decision made to use the
sagemath-...
format and in particularsagemath-standard
.CC: @dimpase @jhpalmieri @mmasdeu @videlec @malb @kiwifb @embray @NathanDunfield @slel @orlitzky @fchapoton @vbraun @seblabbe @williamstein @mwageringel @saraedum
Component: build
Keywords: sd111
Author: Matthias Koeppe
Branch/Commit:
7ad4c0e
Reviewer: John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/30912
The text was updated successfully, but these errors were encountered: