Skip to content

Comments

sage: 9.3rc4 -> 9.3#122592

Merged
AndersonTorres merged 4 commits intoNixOS:masterfrom
collares:sage-9.3
May 12, 2021
Merged

sage: 9.3rc4 -> 9.3#122592
AndersonTorres merged 4 commits intoNixOS:masterfrom
collares:sage-9.3

Conversation

@collares
Copy link
Member

@collares collares commented May 11, 2021

Motivation for this change

Also updated gap and pari while at it. Pari required an unmerged patch from Sage Trac, but the patch hasn't changed in two weeks so that should be fine. Let me know if I should remove it, though.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@collares
Copy link
Member Author

collares commented May 11, 2021

Related: The eclib update patch has stabilized too, even if it hasn't been merged yet. Should we pull that in as well? My main motivation for doing pari first is that I believe there are many standalone PARI/GP users so it's a bit unfair to them to ship NixOS 21.05 with an outdated version.

@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels May 11, 2021
@collares collares force-pushed the sage-9.3 branch 3 times, most recently from 5541c06 to c4cc5a4 Compare May 11, 2021 15:41
@r-rmcgibbo
Copy link

r-rmcgibbo commented May 11, 2021

Result of nixpkgs-review pr 122592 at ee7c058d run on aarch64-linux 1

1 package marked as broken and skipped:
  • polymake
3 packages skipped due to time constraints:
  • giac
  • giac-with-xcas
  • python39Packages.fpylll
16 packages built successfully:
  • eclib
  • gap
  • gap-full
  • gap-minimal
  • lcalc
  • pari
  • pynac
  • python38Packages.cypari2
  • python38Packages.cysignals
  • python38Packages.fpylll
  • python38Packages.pplpy
  • python39Packages.cypari2
  • python39Packages.cysignals
  • python39Packages.pplpy
  • singular
  • sympow

Result of nixpkgs-review pr 122592 at ee7c058d run on x86_64-linux 1

6 packages skipped due to time constraints:
  • giac
  • giac-with-xcas
  • polymake
  • python38Packages.pplpy
  • sage
  • sageWithDoc
17 packages built successfully:
  • eclib
  • gap
  • gap-full
  • gap-minimal
  • gp2c
  • lcalc
  • pari
  • pynac
  • python38Packages.cypari2
  • python38Packages.cysignals
  • python38Packages.fpylll
  • python39Packages.cypari2
  • python39Packages.cysignals
  • python39Packages.fpylll
  • python39Packages.pplpy
  • singular
  • sympow
7 suggestions:
  • warning: unused-argument

    Unused argument: fetchpatch.
    Near pkgs/applications/science/math/pari/default.nix:3:3:

      |
    3 | , fetchpatch
      |   ^
    
  • warning: unclear-gpl

    gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.

    Near pkgs/applications/science/math/gap/default.nix:157:5:

        |
    157 |     license = licenses.gpl2;
        |     ^
    
  • warning: missing-phase-hooks

    installPhase should probably contain runHook preInstall and runHook postInstall.

    Near pkgs/applications/science/math/singular/default.nix:146:3:

        |
    146 |   installPhase = ''
        |   ^
    
  • warning: unclear-gpl

    gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.

    Near pkgs/applications/science/math/pynac/default.nix:87:5:

       |
    87 |     license = licenses.gpl3;
       |     ^
    
  • warning: unused-argument

    Unused argument: fetchpatch.
    Near pkgs/applications/science/math/gap/default.nix:4:3:

      |
    4 | , fetchpatch
      |   ^
    
  • warning: missing-phase-hooks

    buildPhase should probably contain runHook preBuild and runHook postBuild.

    Near pkgs/applications/science/math/singular/default.nix:140:3:

        |
    140 |   buildPhase = ''
        |   ^
    
  • warning: unclear-gpl

    gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.

    Near pkgs/applications/science/math/singular/default.nix:210:5:

        |
    210 |     license = licenses.gpl3; # Or GPLv2 at your option - but not GPLv4
        |     ^
    

@collares
Copy link
Member Author

Result of nixpkgs-review pr 122592 run on x86_64-linux 1

23 packages built:
  • eclib
  • gap
  • gap-full
  • gap-minimal
  • giac
  • giac-with-xcas
  • gp2c
  • lcalc
  • pari
  • polymake
  • pynac
  • python38Packages.cypari2
  • python38Packages.cysignals
  • python38Packages.fpylll
  • python38Packages.pplpy
  • python39Packages.cypari2
  • python39Packages.cysignals
  • python39Packages.fpylll
  • python39Packages.pplpy
  • sage (sagemath)
  • sageWithDoc
  • singular
  • sympow

Copy link
Member

@timokau timokau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for following up on this. I would prefer to delay the pari update until the sage ticket has been reviewed. It looks like this update is likely to cause trouble.

The other changes look good.

@timokau
Copy link
Member

timokau commented May 11, 2021

Related: The eclib update patch has stabilized too, even if it hasn't been merged yet. Should we pull that in as well? My main motivation for doing pari first is that I believe there are many standalone PARI/GP users so it's a bit unfair to them to ship NixOS 21.05 with an outdated version.

Which ticket is that?

In general I think it would be better to merge this PR first. The eclib update could still be done as a followup.

@collares
Copy link
Member Author

collares commented May 11, 2021

That's https://trac.sagemath.org/ticket/31443. I have split the pari update to #122624.

@timokau
Copy link
Member

timokau commented May 11, 2021

That's https://trac.sagemath.org/ticket/31443.

Ah, I forgot about this conversation. That update sounds less risky than the pari update. I think there also isn't much urgency to it though, so I would probably wait a few days for updates on the sage ticket. Whichever way you prefer.

I have split the pari update to #122624.

Thank you. Should be good to go now.

Copy link
Member

@timokau timokau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, pending ofBorg's approval.

@ofborg ofborg bot requested a review from timokau May 11, 2021 21:16
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. and removed 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels May 11, 2021
@collares
Copy link
Member Author

collares commented May 11, 2021

@timokau Thank you for the review! I will have an eclib PR soon.

Edit: That's #123692.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/brainstorming-for-rfc-pname-and-version/12873/23

Copy link
Member

@AndersonTorres AndersonTorres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTBorg

@AndersonTorres AndersonTorres merged commit 363d7c6 into NixOS:master May 12, 2021
@collares collares deleted the sage-9.3 branch December 20, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants