git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "flake8: 2.5.4 -> 3.0.4"

This reverts commit 7026cdf9e9d0d221534238023b7efbf1f04547a5. This reverts commit 0675eb1b5d82e986589e3fc6ed5ebf1b798c0e7e. This reverts commit 3c88d3a9c4224801ba4ae34abac0a8d342640795. --- flake8 versions 2 and 3 are api incompatible and this update breaks stuff. Version 3 should be added as a seperate expression and compatible packages should use it explicitly.

commit14510fdc73f7a54a4da9d45c48ab36cc6c1128fe authorAlexander Ried <ried@mytum.de> dateSat 1 Oct 2016, 18:04 (10 years ago) parente493c84
2 files changed+4−35
pkgs/development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch−22 pkgs/top-level/python-packages.nix+4−13
pkgs/development/python-modules/flake8/move-pytest-config-to-pytest-ini.patchdeleted−22
@@ -1,22 +0,0 @@
1−diff -r ad8325924f04 pytest.ini
2−--- /dev/null Thu Jan 01 00:00:00 1970 +0000
3−+++ b/pytest.ini Fri Sep 30 12:28:39 2016 +0200
4−@@ -0,0 +1,4 @@
5−+[pytest]
6−+-norecursedirs = .git .* *.egg* old docs dist build
7−+-addopts = -rwv
8−+
9−diff -r ad8325924f04 setup.cfg
10−--- a/setup.cfg Fri Sep 30 09:22:39 2016 +0200
11−+++ b/setup.cfg Fri Sep 30 12:28:39 2016 +0200
12−@@ -12,10 +12,6 @@
13− pycodestyle >= 2.0.0, < 2.1.0
14− mccabe >= 0.5.0, < 0.6.0
15−
16−-[pytest]
17−-norecursedirs = .git .* *.egg* old docs dist build
18−-addopts = -rw
19−-
20− [egg_info]
21− tag_build =
22− tag_date = 0
pkgs/top-level/python-packages.nix+4−13
@@ -10539,24 +10539,15 @@ in modules // {
1053910539
1054010540 flake8 = buildPythonPackage rec {
1054110541 name = "flake8-${version}";
10542− version = "3.0.4";
10542+ version = "2.5.4";
1054310543
1054410544 src = pkgs.fetchurl {
1054510545 url = "mirror://pypi/f/flake8/${name}.tar.gz";
10546− sha256 = "03cpdrjxh0fyi2qpdxbbrmxw7whiq3xr3p958gr6yzghk34i1hml";
10546+ sha256 = "0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc";
1054710547 };
1054810548
10549− buildInputs = with self; [ nose mock pytestrunner pytest ];
10550− propagatedBuildInputs = with self; [ pyflakes pep8 mccabe enum34 configparser pycodestyle ];
10551−
10552− patches = [
10553− ../development/python-modules/flake8/move-pytest-config-to-pytest-ini.patch
10554− ];
10555−
10556− # Tests fail due to missing ini file.
10557− preCheck = ''
10558− touch tox.ini
10559− '';
10549+ buildInputs = with self; [ nose mock ];
10550+ propagatedBuildInputs = with self; [ pyflakes pep8 mccabe ];
1056010551
1056110552 meta = {
1056210553 description = "Code checking using pep8 and pyflakes";