Commit graph

58 commits

Author SHA1 Message Date
Martin Weinelt 9f340b5bf1 treewide: remove redundant numprocesses pytest-xdist parameter
Including the pytest-xdist package automatically configures numprocesses
to $NIX_BUILD_CORES, so specifying these on a package level has become
redundant.
2022-04-15 01:39:54 +02:00
Martin Weinelt 0cee23629e python3Packages.dask: 2022.02.0 -> 2022.02.1 2022-03-14 00:29:09 +01:00
Frederik Rietdijk 51ef95e6fa python3.pkgs.dask: don't offer an option for extras-require
Using such an option within the package set this way will result in
different packages depending on different versions of dask and thereby
collisions.

Instead, we can simply declare in the package offering the extras the
packages the extra needs.
2022-02-25 14:04:07 +01:00
Fabian Affolter 6148760cc2 python3Packages.dask: 2022.01.0 -> 2022.02.0 2022-02-23 10:16:29 +01:00
Jonathan Ringer 22879afd3c python3Packages.dask: 2021.10.0 -> 2022.01.0 2022-01-23 01:09:35 +01:00
Robert Scott e3003d541f python3Packages.dask: 2021.09.1 -> 2021.10.0 2021-11-11 14:58:10 +01:00
Fabian Affolter 240e2d76aa python3Packages.dask: 2021.09.0 -> 2021.09.1 2021-10-06 16:13:58 +02:00
Fabian Affolter 5f18927d84 python3Packages.dask: 2021.08.1 -> 2021.09.0 2021-09-19 11:52:26 +02:00
Martin Weinelt b68026b52b python3Packages.dask: 2021.06.2 -> 2021.08.1 2021-09-05 15:01:20 +02:00
Fabian Affolter 6ae86bd0f6 python3Packages.dask: 2021.06.1 -> 2021.06.2 2021-07-02 23:38:03 +02:00
Thiago Franco de Moraes bd4130d693
python3Packages.dask: 2021.03.0 -> 2021.06.1 2021-06-21 15:33:35 -03:00
Robert Schütz acffa671a9 python3Packages.dask: remove superfluous disabledTests 2021-04-27 21:09:27 +02:00
Noah D. Brenowitz fc98e85759 python3Packages.dask: disable network tests
There were hydra failures (https://hydra.nixos.org/build/141870744/nixlog/1) for some tests requiring data on github (failing on mac and linux), and tests requiring local network access on mac.
Disable the former and enable the latter.
2021-04-27 10:50:56 +02:00
Noah D. Brenowitz ceeaf2d066 python3Packages.dask: fix sandboxed builds
Importing dask.dataframe in a sandboxed build results in a TypeError like
this:

  File "/nix/store/nv60iri29bia4szhhcvsdxgsci4wxvp6-python3.8-dask-2021.03.0/lib/python3.8/site-packages/dask/dataframe/io/csv.py", line 392, in <module>
    AUTO_BLOCKSIZE = auto_blocksize(TOTAL_MEM, CPU_COUNT)
  File "/nix/store/nv60iri29bia4szhhcvsdxgsci4wxvp6-python3.8-dask-2021.03.0/lib/python3.8/site-packages/dask/dataframe/io/csv.py", line 382, in auto_blocksize
    blocksize = int(total_memory // cpu_count / memory_factor)
  TypeError: unsupported operand type(s) for //: 'int' and 'NoneType'

This occurs because dask.dataframe has a non-deterministic component which
generates an automatic chunk-size based on system information.

This went unnoticed because the dask tests were disabled.

Changes:
- add a patch making the chunk-size inference more robust
- re-enable the tests

Resolves #120307
2021-04-23 17:57:01 -07:00
Sandro Jäckel 83f2ece678
pythonPackages.dask: add optional extra "complete" 2021-03-07 21:43:09 +01:00
Sandro Jäckel c34a2136cf
pythonPackages.dask: format 2021-03-07 21:43:09 +01:00
Frederik Rietdijk f43ae887d1 python3Packages.dask: 2021.01.0 -> 2021.03.0 2021-03-06 16:51:22 +01:00
Frederik Rietdijk e986624620 python3.pkgs.dask: 2.25.0 -> 2021.01.0 2021-01-22 13:28:04 +01:00
Robert T. McGibbon 5c5d3d6fee python3Packages.dask: unbreak by removing flaky test 2021-01-03 11:23:11 +01:00
Jonathan Ringer c68fdc1fbe python3Packages.dask: fix tests
Tests cannot be ran concurrently
2020-12-01 14:44:26 +01:00
Drew Risinger 43200b172a python3Packages.dask: 2.22.0 -> 2.25.0
Update meta homepage & changelog links.
https://github.com/dask/dask/releases/tag/2.25.0
Changelog: https://docs.dask.org/en/latest/changelog.html
2020-10-25 10:42:56 +01:00
Jonathan Ringer 2c5d3313e2 python3Packages.dask: limit processes on tests 2020-10-04 14:08:17 -07:00
Jonathan Ringer 8a9f58a375 python3Packages.dask: ignore flaky test 2020-08-18 00:41:41 -07:00
Jonathan Ringer a3b66fa656 python3Packages.dask: 2.14.0 -> 2.22.0 2020-08-08 17:07:52 -07:00
Frederik Rietdijk 4ffb40bc78 python3Packages.dask: 2.10.1 -> 2.14.0 2020-04-27 19:37:36 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk 419bc0a4cd Revert "Revert "Merge master into staging-next""
In 87a19e9048 I merged staging-next into master using the GitHub gui as intended.
In ac241fb7a5 I merged master into staging-next for the next staging cycle, however, I accidentally pushed it to master.
Thinking this may cause trouble, I reverted it in 0be87c7979. This was however wrong, as it "removed" master.

This reverts commit 0be87c7979.
2020-02-05 19:41:25 +01:00
Frederik Rietdijk 0be87c7979 Revert "Merge master into staging-next"
I merged master into staging-next but accidentally pushed it to master.
This should get us back to 87a19e9048.

This reverts commit ac241fb7a5, reversing
changes made to 76a439239e.
2020-02-05 19:18:35 +01:00
Frederik Rietdijk f720f14137 python3Packages.dask: 2.9.1 -> 2.10.1 2020-02-05 19:07:43 +01:00
Chris Ostrouchov 92da996e62 python3Packages.dask: 2.9.0 -> 2.9.1 enable tests, use github src 2019-12-31 18:12:37 +01:00
Frederik Rietdijk f40e896b32 python: dask: 2.9.0 -> 2.9.1 2019-12-30 16:46:53 +01:00
Jonathan Ringer ea96d2a139 python3Packages.dask: 2.6.0 -> 2.9.0 2019-12-18 22:41:52 -08:00
Frederik Rietdijk be8939dbd7 python: dask: 2.2.0 -> 2.6.0 2019-10-18 09:54:02 +02:00
Piero Cinquegrana c9d4a6963a
pythonPackages.dask: 1.2.2 -> 2.2.0 2019-08-08 17:46:59 -07:00
Wael M. Nasreddine ed898bf0f4
dask: disable the package for Python older than 3.5 2019-08-08 17:46:56 -07:00
Frederik Rietdijk 4cf6020ae0 python: dask: 1.1.5 -> 1.2.2 2019-06-15 08:44:03 +02:00
Frederik Rietdijk 8ec42d2824 python: dask: 1.1.1 -> 1.1.5 2019-04-18 12:42:39 +02:00
Frederik Rietdijk 6733ec9e1c python: dask: 0.20.2 -> 1.1.1 2019-02-17 14:40:18 +01:00
Frederik Rietdijk 5b85111947 python: dask: 0.20.1 -> 0.20.2 2018-12-03 16:50:39 +01:00
Frederik Rietdijk 57a1aaab1c python: dask: 0.20.0 -> 0.20.1 2018-12-03 16:50:38 +01:00
Frederik Rietdijk 0ba38d37a8 python: dask: 0.18.2 -> 0.20.0 2018-12-03 16:50:29 +01:00
Frederik Rietdijk d3abeb9b29 python: dask: 0.18.1 -> 0.18.2 2018-07-26 13:09:10 +02:00
Frederik Rietdijk 37ac63d899 python: dask: 0.18.0 -> 0.18.1 2018-07-22 16:52:38 +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
Frederik Rietdijk 1e86af4b0a python: dask: 0.17.5 -> 0.18.0 2018-06-22 13:09:39 +02:00
Frederik Rietdijk 1163b5bce2 python: dask: 0.17.4 -> 0.17.5 2018-06-02 13:44:38 +02:00
Frederik Rietdijk 3ffc398d20 python: dask: 0.17.2 -> 0.17.4 2018-05-10 10:09:13 +02:00
Frederik Rietdijk 94ee86539d python: dask: 0.17.1 -> 0.17.2 2018-04-08 11:34:53 +02:00
Frederik Rietdijk 5c6d4687cf python: dask: 0.17.0 -> 0.17.1 2018-02-26 18:42:48 +01:00
Frederik Rietdijk bb7f78de3c python: dask: 0.16.1 -> 0.17.0 2018-02-18 20:07:42 +01:00