Commit Graph

46 Commits

Author SHA1 Message Date
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
Frederik Rietdijk
402417b669 python: dask: 0.16.0 -> 0.16.1 2018-01-20 12:05:24 +01:00
Frederik Rietdijk
6521f19a43 python: dask: 0.15.4 -> 0.16.0 2017-12-30 17:06:32 +01: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
67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Frederik Rietdijk
0c9667efa0 python.pkgs.dask: 0.14.3 -> 0.15.1 2017-07-17 13:54:04 +02:00
Frederik Rietdijk
c7867b8b34 python.pkgs.dask: 0.14.1 -> 0.14.3 2017-06-02 17:10:22 +02:00