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

Old-style packages no longer install #20828

Closed
jdemeyer opened this issue Jun 14, 2016 · 11 comments
Closed

Old-style packages no longer install #20828

jdemeyer opened this issue Jun 14, 2016 · 11 comments

Comments

@jdemeyer
Copy link

$ ./sage -p chomp
Found package chomp in /usr/local/src/sage-git/upstream/chomp-20130518.p1.spkg
chomp-20130518.p1
====================================================
Extracting package /usr/local/src/sage-git/upstream/chomp-20130518.p1.spkg
-rw-r--r-- 1 jdemeyer jdemeyer 676322 Jun 14 17:17 /usr/local/src/sage-git/upstream/chomp-20130518.p1.spkg
Finished extraction
/usr/local/src/sage-git/build/bin/sage-spkg: line 542: cd: chomp-20130518.p1: No such file or directory
Error: after extracting, the directory chomp-20130518.p1 does not exist

CC: @embray

Component: build

Author: Jeroen Demeyer

Branch/Commit: 43061c8

Reviewer: Volker Braun

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

@jdemeyer jdemeyer added this to the sage-7.3 milestone Jun 14, 2016
@jdemeyer
Copy link
Author

@jdemeyer
Copy link
Author

New commits:

43061c8Fix installing old-style packages

@jdemeyer
Copy link
Author

Commit: 43061c8

@embray
Copy link
Contributor

embray commented Jun 15, 2016

comment:3

Looks fine to me, though I don't really know how "old style packages" are supposed to work. Are none of them tested?

@jdemeyer
Copy link
Author

comment:4

Replying to @embray:

Looks fine to me, though I don't really know how "old style packages" are supposed to work.

Doesn't really matter. The only thing this patch does is to keep whatever behaviour was there before.

Are none of them tested?

Old-style packages are never tested, they are never automatically installed anyway.

@videlec
Copy link
Contributor

videlec commented Jun 20, 2016

comment:5

You wrote

    # Old-style package (deprecated)

Why old-style package should be deprecated? I thought that we wanted to support people own spkgs using this format...

@videlec
Copy link
Contributor

videlec commented Jun 20, 2016

comment:6

More precisely: we should not have the list of packages hardcoded into Sage source (is it imposed by the "new-style"?)... there should be an alternative way to install things.

@vbraun
Copy link
Member

vbraun commented Jun 20, 2016

comment:7

Old style is deprecated. There is sage -pip for an alternative way.

@vbraun
Copy link
Member

vbraun commented Jun 20, 2016

Reviewer: Volker Braun

@videlec
Copy link
Contributor

videlec commented Jun 20, 2016

comment:8

Replying to @vbraun:

Old style is deprecated. There is sage -pip for an alternative way.

What about a package including C-libraries, databases or executables? As far as I understand, sage -pip is the alternative for python (possibly cython) libraries.

@vbraun
Copy link
Member

vbraun commented Jun 21, 2016

Changed branch from u/jdemeyer/old_style_packages_no_longer_install to 43061c8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants