Nixpkgs: buildbot broken by pylint upgrade

Created on 30 Aug 2018  路  9Comments  路  Source: NixOS/nixpkgs

Issue description

Following this commit to upgrade pylint, buildbot no longer builds -- it uses Python 2.7, depends on pylint, and the latest pylint has disabled = pythonOlder "3.4".

Steps to reproduce

Try to install the buildbot package.

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.18.5-arch1-1-ARCH, Arch Linux, noversion
  • multi-user?: no
  • sandbox: no
  • version: nix-env (Nix) 2.0.4
  • channels(iross): "nixpkgs-18.09pre149415.8395f9aa85e"
  • nixpkgs: /home/iross/.nix-defexpr/channels/nixpkgs
regression python

Most helpful comment

It seems like it's time to move buildbot to python3: https://github.com/NixOS/nixpkgs/pull/45789.

All 9 comments

/cc @dotlambda, @FRidh.

It seems like it's time to move buildbot to python3: https://github.com/NixOS/nixpkgs/pull/45789.

Wow. That was an awesomely quick response. Thanks, @dotlambda!

Pylint 1.8/1.9 is still maintained until 2020, so that is an alternative to maintain Python 2 support.

Regardless, I wouldn't delay migration to python3 as the default without a good reason, even if the official un-supporting is still a bit over a year away.

Moving exclusively to Python 3 has the potential to break configurations, because they are written in Python. This might be fine, but we should be aware of it. See #45789 for more of this discussion.

I think we should provide indeed provide pylint 1.9 as python2Packages.pylint until support ends. I also think we should move buildbot to pythonPackages as @FRidh suggested.
@lopsided98 Do you want to continue my work?

Please discuss ideas/plans and such on the issue (#45789), not the PR.

45890 was merged a while ago, so this issue is resolved

Was this page helpful?
0 / 5 - 0 ratings