Version 2.1 was apparently time-sensitive and started failing like this:
======================================================================
FAIL: testFloat (tests.TestDelta.test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 64, in testFloat
self.cal.parse('1.4 months ago', self.source), months=-1.4)
File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 37, in assertDelta
self.assertTrue(diff < 0.05, '%s is not less than 0.05' % diff)
AssertionError: 0.0666666666667 is not less than 0.05
----------------------------------------------------------------------
* gnu/packages/python.scm (python-parsedatetime): Update to 2.3.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-RUNNER.
[propagated-inputs]: New field.
* gnu/packages/patches/python-2.7-getentropy-on-old-kernels.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-2.7)[source]: Use it.
* gnu/packages/patches/python-3.5-getentropy-on-old-kernels.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-3.5, python-minimal, python-minimal-wrapper,
python-wrapper)[source]: Use it.
* gnu/packages/python.scm (python-numpy-documentation,
python2-numpy-documentation)[native-inputs]: Update hash of
SCIPY-SPHINX-THEME. Fix indentation of a line.
* gnu/packages/patches/python-pandas-skip-failing-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pandas, python2-pandas): Use it.
* gnu/packages/python.scm (python-matplotlib-documentation)[native-inputs]:
Add python-mock and graphviz.
[arguments]: Use separate build and install phases; correctly set latex paper size.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* gnu/packages/python.scm (python2-subprocess32): New variable.
* gnu/packages/patches/python2-subprocess32-disable-input-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-numpy): Update to 1.12.0.
[source]: Use github instead of sourceforge.
[native-inputs]: Add python-cython.
To simplify the handling of dependency cycles (numpy documentation depends
on matplotlib, which depends on numpy), we split out the documentation into
a separate package:
(python-numpy-bootstrap, python2-numpy-bootstrap): Remove variables.
(python-numpy-documentation, python2-numpy-documentation): New variables.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* gnu/packages/python.scm (python-scipy): Update to 0.18.1.
[source]: Use github instead of sourceforge.
[native-inputs]: Add python-cython.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* gnu/packages/python.scm (python-testpath)[arguments]: Install module in the proper
"lib/pythonx.y" location for all Python versions.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
* gnu/packages/patches/python-fake-factory-fix-build-32bit.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-fake-factory, python2-fake-factory)[source]:
Use it.
* gnu/packages/python.scm (python-scikit-learn,
python2-scikit-learn)[arguments]: Use 'modify-phases'. Move 'check' phase
after 'install' and incorporate 'set-HOME' phase.