Commit Graph

35 Commits

Author SHA1 Message Date
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Robert Schütz b3590bf498 python310Packages.flake8: 5.0.4 -> 6.0.0
https://github.com/PyCQA/flake8/blob/main/docs/source/release-notes/6.0.0.rst
2022-12-10 13:56:00 -08:00
Robert Schütz b52e388cb3 python310Packages.flake8: 4.0.1 -> 5.0.4 2022-08-17 10:53:20 +00:00
Martin Weinelt d9ab8e2a4b python3Packages.flake8: relax mccabe constraint 2022-04-15 01:39:43 +02:00
Enno Richter 138c3b5816 python2Packages.flake8: disable since flake8 v4 dropped Python 2 support 2021-12-05 09:59:47 +01:00
Markus S. Wamser e10ad44614 pythonPackages.flake8: 3.9.2 -> 4.0.1 2021-11-09 22:22:39 +01:00
Ryan Burns 3220fbe696 Merge branch 'master' into staging-next 2021-10-16 16:07:38 -07:00
Florian Klink 37771f6fe0 python37Packages.flake8: don't run tests if older than python3.8
Tests fail on Python 3.7 due to importlib using a deprecated interface.

Context: https://github.com/python/importlib_metadata/issues/298
2021-10-15 14:35:06 +02:00
Martin Weinelt c634cfdbe9 python3Packages.flake8: relax pyflakes constraint
Also refactor, update meta and migrate to pytestCheckHook.
2021-10-11 01:22:09 +02:00
Sandro Jäckel 9bfdf57e13 pythonPackages: deprecate pytestrunner alias 2021-07-21 13:32:49 +02:00
Martin Weinelt ff0e42d22e python3Packages.flake8: 3.9.0 -> 3.9.2 2021-06-22 13:42:27 +02:00
Frederik Rietdijk 3904d4d477 python2Packages.typing: we no longer need it for Python 3 2021-04-03 17:49:55 +02:00
Frederik Rietdijk 6a910abeed python3Packages.flake8: 3.8.4 -> 3.9.0 2021-04-03 17:48:31 +02:00
Pavol Rusnak a6ce00c50c treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Pavol Rusnak a4bbfba80d pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Frederik Rietdijk 78e9fd52b1 python3Packages.flake8: 3.8.3 -> 3.8.4 2020-11-05 15:46:58 -08:00
Jonathan Ringer 43fe98358c python3Packages.flake8: fix tests 2020-08-16 13:11:58 -07:00
Konstantin Alekseev 621ef1c238 pythonPackages.flake8: fix dependencies 2020-06-14 18:51:51 +03:00
Frederik Rietdijk 8bbc4b0361 python: flake8: 3.8.2 -> 3.8.3 2020-06-14 08:32:58 +02:00
Frederik Rietdijk a00ba777e4 python: flake8: 3.7.9 -> 3.8.2 2020-06-11 09:59:57 +02:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk 4a85534d58 python: flake8: 3.7.8 -> 3.7.9 2019-11-22 08:37:21 +01:00
Frederik Rietdijk df015bc3e6 python: flake8: 3.7.7 -> 3.7.8 2019-10-18 09:53:57 +02:00
Rok Garbas 65781e204d Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk 5f27341835 python: flake8: 3.7.6 -> 3.7.7 2019-04-18 12:42:40 +02:00
Frederik Rietdijk 15d9442440 python: flake8: 3.7.5 -> 3.7.6 2019-02-23 20:05:18 +01:00
Frederik Rietdijk f896d3b3ff python.pkgs.flake8: 3.5.0 -> 3.7.5 2019-02-17 14:40:48 +01:00
Robert Schütz ab7dc046ff python.pkgs.flake8: allow newer versions of pycodestyle and pyflakes
This applies appropriate upstream patches from
https://gitlab.com/pycqa/flake8/commits/master/setup.py.
2018-07-26 12:43:14 +02:00
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Pascal Wittmann 24e87b49b6 Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
Frederik Rietdijk 7ce848309e python.pkgs: updates 2017-10-27 21:34:42 +02:00
Frederik Rietdijk d58e1f1c7b python.pkgs: many updates 2017-08-25 19:36:14 +02:00
Daiderd Jordan 4005d8a26d python-flake8: 3.2.1 -> 3.3.0 2017-05-11 23:07:46 +02:00