Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed
2021-01-25 18:31:47 +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
Vladimír Čunát
95f685da60
python3Packages.mypy: don't use mypyc on 32-bit platforms
...
Almost all i686-linux tests got blocked because of this problem:
https://hydra.nixos.org/eval/1638038#tabs-now-fail
It regressed in PR #105462 (commit ad26cb9ee8
).
Now I tested that at least some test got fixed:
nix build -f nixos/release-combined.nix nixos.tests.knot.i686-linux
This change won't even cause any rebuild on 64-bit platforms,
and using nix booleans seems nicer anyway.
2020-12-30 11:29:09 +01:00
Ruud van Asseldonk
ad26cb9ee8
python3Packages.mypy: compile with mypyc
...
Mypy includes mypyc, a compiler that translates annotated Python to C,
which can be compiled into a Python module. When mypy is compiled with
mypyc, it is about 4 times faster than the interpreted mypy, so using
the compiled version is especially useful on large codebases where
typechecking may take a long time.
The wheels distributed on Pypi have included a mypyc-compiled mypy by
default since version 0.700 [1].
[1]: http://mypy-lang.blogspot.com/2019/04/mypy-0700-released-up-to-4x-faster.html
2020-11-30 14:38:55 +01:00
Sebastian Jordan
4e81c65d72
mypy: 0.782 -> 0.790
2020-11-07 11:14:29 -08:00
R. RyanTM
c073d5077f
mypy: 0.780 -> 0.782
2020-07-05 17:57:17 +00:00
Frederik Rietdijk
37619385b8
python: mypy: 0.770 -> 0.780
2020-06-11 10:00:02 +02:00
Rouven Czerwinski
16cf493533
Revert "Revert "mypy: 0.761 -> 0.770""
...
This reverts commit 776b55518a
.
2020-03-27 01:57:48 -07:00
Samuel Dionne-Riel
776b55518a
Revert "mypy: 0.761 -> 0.770"
...
This reverts commit e7c3e277b6
.
See https://github.com/NixOS/nixpkgs/issues/83458
This currently blocks the channel.
2020-03-26 20:50:32 -04:00
Daiderd Jordan
e7c3e277b6
mypy: 0.761 -> 0.770
2020-03-26 19:45:18 +01:00
Jonathan Ringer
4873d8dbd3
python3Packages.mypy: 0.750 -> 0.761
2020-01-06 02:36:26 -08:00
Jonathan Ringer
0c3cfd5c07
python3Packages.mypy: 0.740 -> 0.750
...
Also refactored expression to follow ordering of most other python packages
2019-12-18 09:04:55 -08:00
Frederik Rietdijk
5e8be2fb84
mypy: add missing dep, rename mypy_extensions to mypy-extensions
2019-10-27 16:26:55 +01:00
Frederik Rietdijk
e70f0a4cc2
python: mypy_extensions: 0.4.2 -> 0.4.3
2019-10-27 16:26:47 +01:00
Frederik Rietdijk
bfc5a542fb
python: mypy: 0.711 -> 0.740
2019-10-27 16:26:47 +01:00
Frederik Rietdijk
03f3b6d1f1
python: mypy_extensions: 0.4.1 -> 0.4.2
2019-10-18 09:53:59 +02:00
Uri Baghin
2b36da8991
pythonPackages.mypy: 0.701 -> 0.711
2019-09-20 20:07:21 +10:00
Jonathan Ringer
45ca123f02
pythonPackages.mypy: 0.700 -> 0.701
2019-05-21 12:09:20 -07:00
R. RyanTM
1b81f3f947
python37Packages.mypy: 0.670 -> 0.700
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-mypy/versions
2019-04-15 04:36:45 -07:00
Frederik Rietdijk
ccb99258aa
python: mypy: 0.650 -> 0.670
2019-02-17 14:40:28 +01:00
R. RyanTM
49b967c7dd
python37Packages.mypy: 0.641 -> 0.650
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-mypy/versions
2018-12-15 00:00:38 -08:00
R. RyanTM
5e4541df7a
python36Packages.mypy: 0.630 -> 0.641
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-mypy/versions
2018-10-24 20:46:40 +02:00
Spencer Baugh
fd9d45c7c1
pythonPackages.mypy_extensions: use typing from stdlib on >=3.5
...
It's not necessary to depend on the "typing" backport since it's in
the standard library; I also observed serious breakage in anything
using the typing module (including) when the backport was in the
closure on >=3.5.
2018-10-13 10:13:03 +02:00
Jörg Thalheim
080b3ef0b5
python2.pkgs.mypy_extensions: also enable python2
2018-09-18 08:05:02 +01:00
Matthieu Coudron
676ceb81b7
python3Packages.mypy: 0.620 -> 0.630
...
Now requires mypy_extensions so added it as well.
2018-09-18 00:31:41 +09:00
Frederik Rietdijk
7fd77f535f
python: mypy: 0.610 -> 0.620
2018-07-22 16:52:45 +02:00
Jörg Thalheim
bf794aaffc
mypy: 0.600 -> 0.610
2018-06-09 18:26:27 +01:00
Jörg Thalheim
b76177a625
mypy: make it usuable as a library
2018-05-25 10:59:47 +01:00