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

Downgrade rubiks to optional #28022

Closed
isuruf opened this issue Jun 20, 2019 · 37 comments
Closed

Downgrade rubiks to optional #28022

isuruf opened this issue Jun 20, 2019 · 37 comments

Comments

@isuruf
Copy link
Member

isuruf commented Jun 20, 2019

See discussion in https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/sage-devel/lc-HqYCFrDw/r4TlV6qCBAAJ

CC: @timokau @jhpalmieri

Component: packages: standard

Author: Frédéric Chapoton, John Palmieri

Branch/Commit: a8ea381

Reviewer: Dima Pasechnik, Matthias Koeppe

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

@isuruf isuruf added this to the sage-8.9 milestone Jun 20, 2019
@fchapoton
Copy link
Contributor

Branch: public/ticket/28022

@fchapoton
Copy link
Contributor

Commit: 0da2479

@fchapoton
Copy link
Contributor

comment:1

here is first tentative


New commits:

0da2479trac 28022 downgrade rubiks to optional

@dimpase
Copy link
Member

dimpase commented Jun 20, 2019

comment:3

this also needs an update of http://wrongway.org/?rubiksource in rubiks.py, as it's not working any more (domain is up for sale).

e.g. we can link to https://web.archive.org/web/20121212175710/http://www.wrongway.org/?rubiksource

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 20, 2019

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

9a9087atrac 28022 change dead url to web archive version

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 20, 2019

Changed commit from 0da2479 to 9a9087a

@fchapoton
Copy link
Contributor

comment:5

done

@embray
Copy link
Contributor

embray commented Jun 20, 2019

comment:6

+1 Would it make sense to use sage.features for this?

@jdemeyer
Copy link

comment:7

If we're not changing the package, there is no need to edit build/pkgs/rubiks/package-version.txt

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 21, 2019

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

fbc54a1trac 28022 downgrade rubiks to optional

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 21, 2019

Changed commit from 9a9087a to fbc54a1

@fchapoton
Copy link
Contributor

comment:9

version bump was undone, and then the branch squashed

@dimpase
Copy link
Member

dimpase commented Jun 21, 2019

comment:10

OK, don't forget the author's name.

@dimpase
Copy link
Member

dimpase commented Jun 21, 2019

Reviewer: Dima Pasechnik

@fchapoton
Copy link
Contributor

Author: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:11

thx

@dimpase
Copy link
Member

dimpase commented Jun 26, 2019

comment:12

We forgot src/sage/groups/perm_gps/cubegroup.py, where rubiks is used unconditionally.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 26, 2019

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

5f27079trac 28022 downgrade rubiks to optional
1ecfad6trac 28022 adding more optional rubiks tags

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 26, 2019

Changed commit from fbc54a1 to 1ecfad6

@fchapoton
Copy link
Contributor

comment:14

indeed. Here is a fix.

@fchapoton
Copy link
Contributor

comment:16

ok.. Then I have no idea what to do. If you know how to fix that, please do..

@dimpase
Copy link
Member

dimpase commented Jun 26, 2019

comment:17

How about simply calling is_package_installed('rubiks') ?

sage: is_package_installed('rubiks')
False

@timokau
Copy link
Contributor

timokau commented Jun 26, 2019

comment:18

Note that is_package_installed is supposed to be deprecated: #20382, mostly (I think) because it is a pain for packagers.

@dimpase
Copy link
Member

dimpase commented Jun 26, 2019

comment:19

Features entails creating sage/features/rubiks.py with some runtime tests... looks a bit insane, but OK...

@jhpalmieri
Copy link
Member

comment:20

According to the file manifest, the rubiks package only installs six binaries, and it shouldn't be too bad to check that they exist and work, for the Features test. You could model it on sage/features/graphviz.py, for example.

@embray
Copy link
Contributor

embray commented Jul 1, 2019

comment:21

+1 to adding it to sage.features. This is what I suggested in the first place :)

@fchapoton
Copy link
Contributor

comment:22

I will not be the one that does that.

@embray
Copy link
Contributor

embray commented Dec 30, 2019

comment:23

Ticket retargeted after milestone closed

@embray embray modified the milestones: sage-8.9, sage-9.1 Dec 30, 2019
@mkoeppe
Copy link
Member

mkoeppe commented Apr 14, 2020

comment:24

Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date.

@mkoeppe mkoeppe modified the milestones: sage-9.1, sage-9.2 Apr 14, 2020
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 2, 2020

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

a8ea381trac 28022: rebased Frédéric Chapoton's branch, added Features support

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Sep 2, 2020

Changed commit from 1ecfad6 to a8ea381

@jhpalmieri
Copy link
Member

comment:28

I rebased Frédéric's work, and I added a file features/rubiks.py. Please test with and without installing the rubiks package.

@jhpalmieri
Copy link
Member

Changed author from Frédéric Chapoton to Frédéric Chapoton, John Palmieri

@mkoeppe
Copy link
Member

mkoeppe commented Sep 3, 2020

Changed reviewer from Dima Pasechnik to Dima Pasechnik, Matthias Koeppe

@mkoeppe
Copy link
Member

mkoeppe commented Sep 3, 2020

comment:29

This works well.

@vbraun
Copy link
Member

vbraun commented Sep 15, 2020

Changed branch from public/ticket/28022 to a8ea381

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

9 participants