-
-
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
Fix sagelib sdist (src/setup.py sdist) #21516
Comments
Branch: u/mkoeppe/sagelib_sdist |
Dependencies: #21480 |
Commit: |
Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
comment:3
Obviously you are missing an include that would point where to find |
comment:4
So this fails after you built and you try to run If that's the case that may recoup with some concerns I expressed in one of the earlier tickets. sage's internal should be fixed before you do something like that to the build system. Off course I could be wrong :) |
comment:5
Replying to @kiwifb:
Yes.
I don't understand, could you explain more? |
comment:6
Is Have to prepare dinner for my family. Be back in about 2-3 hours. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
I added another debugging helper There are various differences (for example, all README files are missing); I won't have time to take a closer look before tomorrow. |
This comment has been minimized.
This comment has been minimized.
comment:12
This ticket needs some help from the distutils experts |
comment:13
What can I help with? |
comment:14
Replying to @embray:
I'd need help in figuring out why some files are missing in the |
comment:15
I think this calls for a cleaning up of the MANIFEST.in. I'll play around with it. |
comment:16
I think that #21682 might help with this issue as well. As I've repeatedly suggested, it's best to include Cythonized sources in the sdist (taking the onus off the user to create the files with the correct version of Cython--especially important since we currently use a patched Cython for Sage...). This would also ensure that generated modules like the pari interfaces are included (on possible problem with this is if we want to be able to target different versions of pari--that's a problem to be pushed down the line though...) |
comment:19
Can you tell me how did that error go from |
comment:20
Also I had obtained such an error after a direct installation of SageMath as an application, did you do it the same way? or was it through the tar file and unpacking? |
comment:22
Is this still relevant? Has the world converged onto distributing via pip? |
comment:23
Yes, still need to fix this. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:29
Development continues on #29950 (Build sagelib using the installed |
Reviewer: Dima Pasechnik |
Changed branch from u/mkoeppe/sagelib_sdist to none |
Changed author from Matthias Koeppe to none |
Changed commit from |
This ticket adds some targets to
src/Makefile.in
:sdist
andsdistcheck
.The latter, after building an
sdist
(usingdistutils
), unpacks it into a subdirectory, and builds and installs (into SAGE_LOCAL) from there.(cd src && make sdist)
gives the following warnings. They need fixing.(this one is #21565)
There is something more seriously wrong with the sdist. The sage that is built from there (using
(cd src && make sdistcheck)
) crashes as follows.This needs fixing.
The branch is on top of #21480.
References:
Other technologies:
See also: #29845 - PEP 517 buildapi for sage_setup
Depends on #13190
CC: @jdemeyer @vbraun @embray @nexttime @kiwifb @dimpase @orlitzky @fchapoton
Component: build
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/21516
The text was updated successfully, but these errors were encountered: