Skip to content

Update default attributes to latest version available #40015

Closed as not planned
Closed as not planned

Description

@matthewbauer

This is a tracking issue for old top-level attributes when the newest version is not being used. The usual policy is to make the generic attribute point to the latest version available & specify the older versions as arguments to callPackage where needed. There are legitimate exceptions but always good to try to get the latest software. Most of the exceptions have to do with `core' attributes like gcc or llvm where we need to be very careful when updating to avoid mass rebuilds & potential breakage.

This is not a complete list. Additions are welcome!

I am looking into making a script to finding these using nix-env -qaP but it is still a work in progress. All of the above were generated manually.

Activity

  1. FRidh commented on May 9, 2018

    @FRidh
    Member

    Mapping python to python3 was discussed in #18185 and on the mailing list. On the list there was a lot of opposition. But, at one point there was a working branch that did not break any builds and I was using that branch for some time.

  2. Mic92 commented on May 10, 2018

    @Mic92
    Member
  3. rnhmjoj commented on May 12, 2018

    @rnhmjoj
    Contributor

    If I understand correctly people are against it because PEP 394 recommends to symlink python to python2 with the rationale being to preserve compatibility with existing python2 script.
    But don't we patch shebang to point to a very specific python interpreter already? Also this document is from 2011: python2 EOL now is only 1.5 years away. What do people expect it will happen after this date?

  4. FRidh commented on May 12, 2018

    @FRidh
    Member

    @rnhmjoj please discuss Python in #18185

  5. rnhmjoj commented on May 12, 2018

    @rnhmjoj
    Contributor

    @FRidh Ah, sorry.

  6. added this to the 19.03 milestone on Nov 5, 2018
  7. dtzWill commented on Jan 31, 2019

    @dtzWill
    Member

    boost is another one for the list :).

  8. modified the milestones: 19.03, 19.09 on Apr 3, 2019
  9. lilyball commented on May 15, 2019

    @lilyball
    Member

    OCaml should probably be on this list. nixpkgs.ocaml is 4.06, as is nixpkgs.ocamlPackages (which is really nixpkgs.ocaml-ng.ocamlPackages). Maybe there's a reason for holding it back, I don't know, I'm not an OCaml programmer, but the OCaml releases page doesn't indicate that 4.06 is any kind of LTS version, and the install page recommends 4.07.

  10. modified the milestones: 19.09, 20.03 on Aug 16, 2019
  11. jonringer commented on Jan 9, 2020

    @jonringer
    Contributor

    feel like this needs to be updated, ansible is at 2.8 for example

  12. lilyball commented on Jan 10, 2020

    @lilyball
    Member

    nodejs should be updated. It's currently at 10.x but the recommended LTS is 12.x, and 10.x goes to maintenance mode in a few months.

  13. pbogdan commented on Jan 13, 2020

    @pbogdan
    Member

    I believe ffmpeg is another one for this list with latest upstream on 4.x and nixpkgs defaulting to 3.x.

  14. 18 remaining items

  15. removed
    2.status: stale
    on Mar 30, 2022
  16. added
    2.status: stale
    on Oct 1, 2022
  17. modified the milestones: 21.05, 23.05 on Dec 31, 2022
  18. removed
    2.status: stale
    on Dec 31, 2022
  19. modified the milestones: 23.05, 23.11 on May 31, 2023
  20. luzpaz commented on Sep 23, 2023

    @luzpaz
    Contributor
  21. added
    5.scope: tracking
    on Apr 23, 2024
  22. emilazy commented on Jul 29, 2024

    @emilazy
    Member

    A lot of the bullet points in the original post have already been completed or are themselves outdated; does anyone want to update this? If not we should probably just close it and maybe split out issues for the ones that are still relevant?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    5.scope: tracking

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions