Commit Graph

11 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Jörg Thalheim
1ac4c06c08
Merge pull request #108923 from ndl/master 2021-01-11 17:47:28 +00: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
Alexander Tsvyashchenko
69d1e62b36 python3Packages.tensorflow_2: 2.3.2 -> 2.4.0
Also the following related changes:
* Removed Python 2 support because it's not supported by TF and related packages for a long time.
* Upgraded tensorboard and estimator packages to the required versions.
* Added extra plugins for tensorboard to support profiling.
* In the previous derivation versions, TF_SYSTEM_LIBS didn't have any effect because it was reset at repo fetching stage, so TF always used its own dependencies. Made TF_SYSTEM_LIBS actually work and fixed the errors caused by enabling it.
* Enabled tensorboard by default (but still keeping an option to disable it if needed).
2021-01-11 00:30:43 +01:00
Jörg Thalheim
1976d79627
tensorflow: drop 1.x
it no longer works without our default python version and needs
many patches to compile.
2021-01-07 18:52:44 +01:00
Timo Kaufmann
a730888ce0 python.pkgs.tensorflow{,-bin,-estimator,-tensorboard}-2: Init at 2.1.0
Major breaking change from 1.x, so treating keeping both versions for now.

(adapted from 33f11be707)
(adapted from 9e8dea7986)
2020-03-30 13:58:28 +00:00
(cdep)illabout
9939bd67f0 python3Packages.tensorflow-estimator: 1.15.1 -> 2.1.0
(cherry picked from commit c186f5ec4d)
2020-03-28 03:05:54 +00:00
Timo Kaufmann
152d2fd22c python.pkgs.{tensorflow,tensorflow-estimator,tensorflow-tensorboard}: 1.14.0 -> 1.15.0 2019-11-12 23:42:47 +01:00
Timo Kaufmann
377a60f902 python: tensorflow: 1.13.1 -> 1.14.0, tensorflow-tensorboard: 1.13.0 -> 1.14.0, tensorflow-estimator: 1.13.0 -> 1.14.0
All in one commit because the packages are all interdependent and have
to be upgraded together.
2019-06-27 22:37:20 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Jean-Philippe Bernardy
1997ca354e pythonPackages.tensorflow-estimator: init 1.13.0 2019-03-02 09:05:38 +01:00