Commit Graph

2291 Commits

Author SHA1 Message Date
Christopher Baines
85e4579469
gnu: python-futures: Enable tests.
Re-enable the tests, as the python-2 package now has the support
directory. Also, switch to running the tests via the test_futures.py script to
avoid errors like:

  AttributeError: 'AsCompletedTests' object has no attribute 'executor'

* gnu/packages/python.scm (python2-futures)[arguments]: Run the
test_futures.py script to run the tests.
2019-01-21 19:51:52 +00:00
Christopher Baines
d453b0e11d
gnu: python-2.7: Include /lib/python.../test/support.
Don't remove the support directory from the /lib/python.../test/ directory, as
this is used from the test_support module.

  /gnu/store/...-python2-2.7.15/lib/python2.7/test/test_support.py:2: in <module>
      import test.support
  E   ImportError: No module named support

* gnu/packages/python.scm (python-2.7)[arguments]: Change the 'remove-tests
phase to not remove the support directory.
2019-01-21 19:51:41 +00:00
Ricardo Wurmus
255d1bbe77
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus
cd0322a3ef
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus
44d10b1f72
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:46:44 +01:00
Ricardo Wurmus
c4153008f7
gnu: python-numpy-documentation: Add missing packages to texlive-union.
* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Add
texlive-fonts-cm-super and texlive-latex-needspace to texlive-union.
2019-01-15 13:05:22 +01:00
Eric Bavier
974537fc4c
gnu: python-pycodestyle: Fix build with Python 3.7.
* gnu/packages/patches/python-pycodestyle-stdlib-tokenize-fix.patch: New
patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pycodestyle)[source]: Use it.
2019-01-14 15:34:54 -06:00
Christopher Baines
a988393997
gnu: python-2.7: Fix build.
The -j flag is passed in through #:make-flags and EXTRATESTOPTS. This is
combined with the TESTOPTS, and in Python 2, that includes the -l flag by
default.

The -l flag, is for finding memory leaks in tests, and is incompatible with
the -j flag, and the build previously failed at the start of the 'check
phase. Therefore, remove the -l flag from the Python 2 testsuite, as it
doesn't sound like a useful thing to do when building the package for Guix.

* gnu/packages/python.scm (python-2.7): Add 'remove-findleaks-from-testopts
phase.
2019-01-13 22:47:29 +00:00
Christopher Baines
24a23bea20
gnu: Add python-miniboa.
python2-miniboa is required for the linkchecker testsuite.

* gnu/packages/python.scm (python-miniboa, python2-miniboa): New variable.
2019-01-13 20:47:40 +00:00
Christopher Baines
c4aa1ebc81
gnu: python-pillow: Update to 5.4.1.
I'm looking at this, as this release fixes an issue with the Django testsuite:

https://github.com/python-pillow/Pillow/pull/3525

* gnu/packages/python.scm (python-pillow): Update to 5.4.1.
2019-01-13 17:09:52 +00:00
Ricardo Wurmus
9e7f55de45
gnu: Add python-doctest-ignore-unicode.
* gnu/packages/python.scm (python-doctest-ignore-unicode): New variable.
2019-01-13 10:07:06 +01:00
Kei Kebreau
ea600ff709
gnu: python-pillow: Update homepage.
* gnu/packages/python.scm (python-pillow)[homepage]: Update URL.
2019-01-12 16:39:26 -05:00
Kei Kebreau
acbf312573
gnu: python-pillow: Update to 5.4.0
* gnu/packages/python.scm (python-pillow): Update to 5.4.0.
[arguments]: Add 'patch-ldconfig' phase.
2019-01-12 16:38:36 -05:00
Efraim Flashner
ab7aa06cac
gnu: python-pygit2: Update to 0.27.3.
* gnu/packages/python.scm (python-pygit2): Update to 0.27.3.
[arguments]: Add custom phase to compile with cffi support. Add custom
phase to not require specific versions of python-cffi.
[native-inputs]: Add python-pytest.
2019-01-09 20:25:50 +02:00
Ricardo Wurmus
61f2587db9
gnu: python-rpy2: Move to (gnu packages statistics).
* gnu/packages/python.scm (python-rpy2): Move from here...
* gnu/packages/statistics.scm (python-rpy2): ...to here.
2019-01-07 15:55:06 +01:00
Ludovic Courtès
915c6bf60c
gnu: python2-fastlmm: Move to machine-learning.scm.
This is a step towards removing OCaml modules from the closure
of (gnu packages python).

* gnu/packages/python.scm (python2-fastlmm): Move to...
* gnu/packages/machine-learning.scm (python2-fastlmm): ... here.
2019-01-07 14:41:01 +01:00
Efraim Flashner
99e61f3022
gnu: python-pyicu: Update to 2.2.
* gnu/packages/python.scm (python-pyicu): Update to 2.2.
2019-01-06 11:09:59 +02:00
Efraim Flashner
a0bb4af215
gnu: python-pysocks: Update to 1.6.8.
* gnu/packages/python.scm (python-pysocks): Update to 1.6.8.
2019-01-06 11:09:58 +02:00
Efraim Flashner
1fb68eefa1
gnu: python-packaging: Update to 18.0.
* gnu/packages/python.scm (python-packaging): Update to 18.0.
2019-01-06 11:09:58 +02:00
Efraim Flashner
3cf324665d
gnu: python-astroid: Update to 2.1.0.
* gnu/packages/python.scm (python-astroid): Update to 2.1.0.
2019-01-06 11:09:58 +02:00
Efraim Flashner
36df69d6fe
gnu: python-imagesize: Update to 1.1.0.
* gnu/packages/python.scm (python-imagesize): Update to 1.1.0.
2019-01-06 11:09:57 +02:00
Efraim Flashner
46930b7ea9
gnu: python-sphinx-alabaster-theme: Update to 0.7.12.
* gnu/packages/python.scm (python-sphinx-alabaster-theme): Update to 0.7.12.
2019-01-06 11:09:57 +02:00
Ricardo Wurmus
9fb5771af7
gnu: jupyter: Add missing dependency.
* gnu/packages/python.scm (jupyter)[propagated-inputs]: Add python-qtconsole.
[home-page]: Use https URL.
[arguments]: Update comment on why tests are disabled.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
38306e1168
gnu: Add python-qtconsole.
* gnu/packages/python.scm (python-qtconsole): New variable.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
91dd8b3687
gnu: python-notebook: Update to 5.7.4.
* gnu/packages/python.scm (python-notebook): Update to 5.7.4.
[arguments]: Use INVOKE for tests.
[propagated-inputs]: Remove python-ipython; add python-prometheus-client,
python-send2trash, and python-terminado.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
493e5e6daa
gnu: python-jupyter-console: Fix inputs.
* gnu/packages/python.scm (python-jupyter-console)[propagated-inputs]: Remove
python-ipython; replace python-prompt-toolkit with python-prompt-toolkit-1.
[native-inputs]: Add python-nose.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
4fc112b452
gnu: python-ipython: Remove dependency on python-jupyter-core-minimal.
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-jupyter-core-minimal.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
88bf9be38e
gnu: python-ipywidgets: Enable tests.
* gnu/packages/python.scm (python-ipywidgets)[arguments]: Remove.
[native-inputs]: Add python-nose and python-pytest.
[propagated-inputs]: Remove python-ipykernel.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
fec14302d5
gnu: python-widgetsnbextension: Update to 3.4.2.
* gnu/packages/python.scm (python-widgetsnbextension): Update to 3.4.2.
[propagated-inputs]: Add python-ipykernel.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
b6fc288e57
gnu: Add python-send2trash.
* gnu/packages/python.scm (python-send2trash, python2-send2trash): New
variables.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
abe50aa369
gnu: Add python-prometheus-client.
* gnu/packages/python.scm (python-prometheus-client,
python2-prometheus-client): New variables.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
ffabccb22f
gnu: python-jupyter-client: Update to 5.2.4.
* gnu/packages/python.scm (python-jupyter-client): Update to 5.2.4.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
75246daff2
gnu: python-ipython: Break dependency on python-ipykernel.
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-ipykernel.
[arguments]: Delete more broken tests.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
f0eb442c20
gnu: python-ipykernel: Update to 5.1.0.
* gnu/packages/python.scm (python-ipykernel): Update to 5.1.0.
[arguments]: Enable tests.
[propagated-inputs]: Add python-ipython.
[native-inputs]: Add python-pytest and python-nose.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus
92a9f93615
gnu: python-ipython: Update to 5.8.0.
* gnu/packages/python.scm (python-ipython): Update to 5.8.0.
[propagated-inputs]: Replace python-prompt-toolkit with
python-prompt-toolkit-1.
[arguments]: Use INVOKE in the "check" phase; return #T from the "fix-tests"
phase.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
464cb5b55d
gnu: Add python-prompt-toolkit-1.
* gnu/packages/python.scm (python-prompt-toolkit-1, python2-prompt-toolkit-1):
New variables.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
80486d6673
gnu: python-prompt-toolkit: Update to 2.0.7.
* gnu/packages/python.scm (python-prompt-toolkit): Update to 2.0.7.
[arguments]: Enable tests; add phase "post-install-check" and delete "check"
phase.
[native-inputs]: Add python-pytest.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
eecaf17086
gnu: python-hy: Use INVOKE.
* gnu/packages/python.scm (python-hy)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
13e7c884c7
gnu: python-clint: Use INVOKE.
* gnu/packages/python.scm (python-clint)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
ec933e05a2
gnu: python-configargparse: Use INVOKE.
* gnu/packages/python.scm (python-configargparse)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus
cd70798a23
gnu: python-docopt: Use INVOKE.
* gnu/packages/python.scm (python-docopt)[arguments]: Use INVOKE.
2019-01-02 16:33:53 +01:00
Leo Famulari
eff366b469
gnu: python-lxml: Update to 4.2.5 [fixes CVE-2018-19787].
* gnu/packages/python.scm (python-lxml, python2-lxml): Update to 4.2.5.
2018-12-31 10:36:43 -05:00
Efraim Flashner
fb075e2fda
gnu: python-apache-libcloud: Update to 2.4.0.
* gnu/packages/python.scm (python-apache-libcloud): Update to 2.4.0.
2018-12-26 12:29:45 +02:00
Ludovic Courtès
86974d8a92
Merge branch 'master' into core-updates 2018-12-20 18:39:04 +01:00
Vagrant Cascadian
9f23f6bc2f
gnu: python-pyelftools: Fix tests with python 3.7.
* gnu/packages/python.scm (python-pyelftools)
  [native-inputs]: Remove python-setuptools.
  [arguments]: Add set-pythonpath phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2018-12-16 11:55:13 +02:00
Christopher Baines
95ae013092
gnu: python-celery: Update to 4.2.1.
This is an attempt to get the package building after the update to Python
3.7. I'm not sure this totally works, as the tests detect an incompatibility
with Python 3.7 due to use of "async". But with the tests disabled, you can at
least import the celery module, which is a start.

* gnu/packages/python.scm (python-celery): Update to 4.2.1.
[arguments]: Switch to py.test, from nose, disable the tests and loosen the
requirements on pytest.
[native-inputs]: Remove python-nose, add python-pytest and python-case.
[home-page]: Change from HTTP to HTTPS.
2018-12-12 09:03:28 +01:00
Christopher Baines
ae218b75f6
gnu: python-billiard: Update to 3.5.0.5.
This is to enable updating python-celery.

* gnu/packages/python.scm (python-billiard): Update to 3.5.0.5.
[native-inputs]: Remove python-nose, add python-case and python-pytest.
2018-12-12 09:03:27 +01:00
Christopher Baines
f6c19fe8ce
gnu: python-kombu: Update to 4.2.2.
This fixes the build, that probably broke with a Python update.

* gnu/packages/python.scm (python-kombu): Update to 4.2.2..
2018-12-12 09:03:27 +01:00
Christopher Baines
a65a33d070
gnu: python-amqp: Update to 2.3.2.
This is needed to update python-kombu to 4.2.2.

* gnu/packages/python.scm (python-amqp): Update to 2.3.2.
2018-12-12 09:03:27 +01:00
Christopher Baines
9253c42973
gnu: Add python-pyro4.
This is needed to update python-kombu to 4.2.2

* gnu/packages/python.scm (python-pyro4): New variable.
2018-12-12 09:03:27 +01:00
Christopher Baines
2cfcab3aef
gnu: Add python-vine.
This is needed to update python-amqp to 2.3.2.

* gnu/packages/python.scm (python-vine): New variable.
2018-12-12 09:03:27 +01:00
Christopher Baines
679c979f25
gnu: Add python-case.
This is required to update python-amqp and python-kombu, as well as adding
python-vine.

* gnu/packages/python.scm (python-case): New variable.
2018-12-12 09:03:27 +01:00
Christopher Baines
053f3d4857
gnu: Add python-serpent.
This is required for python-pyro4, which is needed to update python-amqp and
python-kombu.

* gnu/packages/python.scm (python-serpent): New variable.
2018-12-12 09:03:26 +01:00
Marius Bakke
b03e4fd526
Merge branch 'master' into core-updates 2018-12-11 22:18:05 +01:00
Rutger Helling
799f5d0df0
gnu: python-gevent: Remove unreliable test.
* gnu/packages/python.scm (python-gevent): Add 'skip-timer-test phase from
python2-gevent.
* gnu/packages/python.scm (python2-gevent): Remove 'skip-timer-test phase,
inherit from python-gevent instead.
2018-12-11 11:47:34 +01:00
Maxim Cournoyer
584d5556d4
gnu: python-jedi: Update to 0.13.1 and disable the tests.
Jedi test suite fails when run with Python 3.7.

* gnu/packages/python.scm (python-jedi): Update to 0.13.1
[tests?] Disable.
[phases] Add condition check for the tests? argument to run the tests.
2018-12-09 16:18:18 -05:00
Christopher Baines
e66c6eb2bc
gnu: python: Update to 3.7.1.
Remove the replacement, as version 3.7.1 includes the fix for this issue.

* gnu/packages/python.scm (python-3.7): Update to 3.7.1.
(python-3/fixed): Remove this.
2018-12-09 10:42:27 +00:00
Marius Bakke
08861d259b
gnu: python-pyaml: Update to 18.11.0.
* gnu/packages/python.scm (python-pyaml): Update to 18.11.0.
2018-12-08 19:37:47 +01:00
Leo Famulari
ca45e49404
gnu: python-unidecode: Update to 1.0.23.
* gnu/packages/python.scm (python-unidecode, python2-unidecode): Update to
1.0.23.
2018-12-03 18:54:50 -05:00
Marius Bakke
635d29c244
gnu: python-scikit-image: Propagate six and numpy.
* gnu/packages/python.scm (python-scikit-image)[native-inputs]: Move
PYTHON-NUMPY and PYTHON-SIX ...
[propagated-inputs]: ... here.
2018-12-03 17:44:14 +01:00
Marius Bakke
fcb5409438
gnu: python-scikit-image: Update to 0.14.1.
Also add explicit Python2 variants for its dependency closure.

* gnu/packages/python.scm (python-scikit-image): Update to 0.14.1.
[source](uri): Use PYPI-URI.
[propagated-inputs]: Add PYTHON-CLOUDPICKLE, PYTHON-DASK, PYTHON-MATPLOTLIB
and PYTHON-PYWAVELETS.
(python2-toolz, python2-cloudpickle, python2-locket, python2-blosc,
python2-partd, python2-dask): New public variables.
2018-12-03 17:44:14 +01:00
Marius Bakke
947ee67d4b
gnu: python-dask: Update to 1.0.0.
* gnu/packages/python.scm (python-dask): Update to 1.0.0.
[arguments]: Disable one test for Python2, and override 'check' phase.
2018-12-03 17:44:14 +01:00
Marius Bakke
03bfbe2f10
gnu: python-cloudpickle: Update to 0.6.1.
* gnu/packages/python.scm (python-cloudpickle): Update to 0.6.1.
2018-12-03 17:44:14 +01:00
Marius Bakke
36c90dda38
gnu: Add python-pywavelets.
* gnu/packages/python.scm (python-pywavelets, python2-pywavelets): New public
variables.
2018-12-03 17:44:14 +01:00
Marius Bakke
aefcdea199
gnu: python-greenlet: Update to 0.4.15.
* gnu/packages/python.scm (python-greenlet): Update to 0.4.15.
2018-12-03 17:44:13 +01:00
Ludovic Courtès
194451347d
Merge branch 'core-updates' 2018-12-03 08:52:17 +01:00
Nicolas Goaziou
b7ed32107b
gnu: python-pip: Update to 18.1.
* gnu/packages/python.scm (python-pip): Update to 18.1.
2018-12-02 09:47:16 +01:00
Nicolas Goaziou
5d7c66a519
gnu: Add python-attr.
* gnu/packages/python.scm (python-attr): New variable.
2018-12-02 01:18:08 +01:00
Nicolas Goaziou
b6aeae6e98
gnu: python-async-timeout: Update to 3.0.1.
* gnu/packages/python.scm (python-async-timeout): Update to 3.0.1.
2018-12-02 00:50:34 +01:00
Marius Bakke
25ca46985c
Merge branch 'master' into core-updates 2018-11-29 15:56:49 +01:00
Ludovic Courtès
312edcd0a1
gnu: python-kivy-next, python2-kivy-next: Deprecate.
As discussed at <https://bugs.gnu.org/33426>.

* gnu/packages/python.scm (python-kivy-next, python2-kivy-next): Mark as
deprecated.
2018-11-27 12:12:33 +01:00
Danny Milosavljevic
5a1ac6138d
gnu: python-tblib: Use invoke.
* gnu/packages/python.scm (python-tblib)[arguments]<#:phases>[check]: Use
invoke.
2018-11-26 20:09:14 +01:00
Ricardo Wurmus
176f1436c7
gnu: python-seaborn: Update to 0.9.0.
* gnu/packages/python.scm (python-seaborn): Update to 0.9.0.
[arguments]: Enable tests.
[propagated-inputs]: Add python-numpy.
[native-inputs]: Add python-pytest and xorg-server.
[properties]: Remove.
(python2-seaborn)[propagated-inputs]: Remove python2-pytz.
2018-11-26 16:53:29 +01:00
Ludovic Courtès
18142e23e8
gnu: python2-gevent: Fix compilation.
* gnu/packages/python.scm (python-gevent)[arguments]: Add (ice-9 match)
to #:modules.  In 'do-not-use-bundled-sources' phase, use 'scandir' to
avoid hard-coded include directory name.
[properties]: New field.
(python2-gevent): Add 'native-inputs' and 'arguments' fields.
2018-11-25 19:08:04 +01:00
Marius Bakke
9b3e11f6a8
gnu: python2-numpy@1.8: Provide "python2-nose".
Also remove other native-inputs since they appear unnecessary.

* gnu/packages/python.scm (python2-numpy-1.8)[native-inputs]: New field.
2018-11-25 16:56:26 +01:00
Marius Bakke
1261804985
gnu: python-pika: Update to 0.12.0.
* gnu/packages/python.scm (python-pika): Update to 0.12.0.
2018-11-24 19:43:18 +01:00
Marius Bakke
45bc4b7ecb
gnu: python2-fasteners: Propagate python2-futures.
* gnu/packages/python.scm (python-fasteners)[properties]: New field.
(python2-fasteners)[propagated-inputs]: Add PYTHON2-FUTURES.
2018-11-24 18:43:07 +01:00
Marius Bakke
366cd7fcba
gnu: python2-futures: Update to 3.2.0.
* gnu/packages/python.scm (python2-futures): Update to 3.2.0.
2018-11-24 18:43:07 +01:00
Marius Bakke
799d4bac62
gnu: python2-futures: Disable tests.
* gnu/packages/python.scm (python2-futures)[arguments]: Set #:test? #f.
2018-11-24 18:43:06 +01:00
Marius Bakke
15b5f9f718
gnu: python-cheetah: Update to 3.1.0.
* gnu/packages/python.scm (python2-cheetah): Rename to ...
(python-cheetah): ... this.  Update to 3.1.0.
[arguments]: Add custom 'check' phase.
[propagated-inputs]: Change PYTHON2-MARKDOWN to PYTHON-MARKDOWN.
(python2-cheetah): Rewrite in terms of PACKAGE-WITH-PYTHON2.
2018-11-24 15:57:56 +01:00
Marius Bakke
59a1aa595b
gnu: python2-cheetah: Update home page.
* gnu/packages/python.scm (python-cheetah)[home-page]: Update to current.
2018-11-24 15:57:56 +01:00
Marius Bakke
4d8f4a3f00
Merge branch 'master' into core-updates 2018-11-24 01:58:18 +01:00
Luther Thompson
dc240b6aa5
gnu: python-ilinkedlist: Update to 0.4.0.
* gnu/packages/python.scm (python-ilinkedlist): Update to 0.4.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-11-23 20:17:23 +01:00
Ricardo Wurmus
936ea3d664
gnu: python-gevent: Update to 1.3.7.
* gnu/packages/python.scm (python-gevent): Update to 1.3.7.
[arguments]: Find headers for greenlet in phase "do-not-use-bundled-sources".
[propagated-inputs]: Add python-objgraph.
2018-11-23 16:01:21 +01:00
Ricardo Wurmus
72ffb51231
gnu: Add python-objgraph.
* gnu/packages/python.scm (python-objgraph): New variable.
2018-11-23 16:01:07 +01:00
Marius Bakke
437c78bcfb
gnu: python-tblib: Fix test failure with Python 3.7.
* gnu/packages/python.scm (python-tblib)[arguments]: Add 'adjust-tests' phase.
2018-11-22 00:00:44 +01:00
Marius Bakke
148caae049
gnu: python-numpy: Update to 1.15.4.
* gnu/packages/python.scm (python-numpy): Update to 1.15.4.
2018-11-21 23:15:21 +01:00
Marius Bakke
b96386501f
gnu: python-numpy: Update to 1.14.6.
* gnu/packages/python.scm (python-numpy): Update to 1.14.6.
2018-11-21 22:42:25 +01:00
Efraim Flashner
9cf4ff199c
Merge remote-tracking branch 'origin/master' into core-updates 2018-11-21 19:41:43 +02:00
Efraim Flashner
24a2e19c43
gnu: python-waf: Use a proper directory structure.
Fixes <https://bugs.gnu.org/25634>.

* gnu/packages/python.scm (python-waf): Replace custom 'install phase to
install "waf" binary into the bin directory. Remove the 'wrap phase.
* gnu/packages/video.scm (mpv)[arguments]: Adjust the 'setup-waf phase
accordingly.
2018-11-21 15:43:23 +02:00
Efraim Flashner
a2aa746cfe
gnu: python-waf: Use a proper directory structure.
Fixes <https://bugs.gnu.org/25634>.

* gnu/packages/python.scm (python-waf): Replace custom 'install phase to
install "waf" binary into the bin directory. Remove the 'wrap phase.
* gnu/packages/video.scm (mpv)[arguments]: Adjust the 'setup-waf phase
accordingly.
2018-11-21 15:20:20 +02:00
swedebugia
ab5d91dd50
gnu: Add python-wikidata.
* gnu/packages/python.scm (python-wikidata): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-11-21 11:55:57 +01:00
Efraim Flashner
4e94cdb652
gnu: python-astroid: Update to 2.0.4.
* gnu/packages/python.scm (python-astroid): Update to 2.0.4.
[source]: Switch to pypi source.
[native-inputs]: Add python-dateutil, python-nose, python-pytest,
python-pytest-runner.
[arguments]: Add phase to remove spurious test failure. Update custom
'check phase.
(python2-astroid): Update to 1.6.5.
[source]: Use pypi source.
[arguments]: Add phase to remove spurious test failure.
2018-11-21 12:00:01 +02:00
Marius Bakke
4f70db97a0
Merge branch 'master' into core-updates 2018-11-20 01:14:12 +01:00
Marius Bakke
352401efb8
gnu: python-joblib: Update home page.
* gnu/packages/python.scm (python-joblib)[home-page]: Update to current.
2018-11-20 00:57:49 +01:00
Marius Bakke
ff43d95807
gnu: python-joblib: Update to 0.13.0.
* gnu/packages/python.scm (python-joblib): Update to 0.13.0.
[source](snippet): Remove.
[arguments]: Remove 'disable-failing-tests' phase.  Add custom check phase.
[native-inputs]: Remove PYTHON-NOSE, PYTHON-SPHINX, PYTHON-DOCUTILS and
PYTHON-NUMPYDOC.  Add PYTHON-PYTEST.
2018-11-20 00:57:49 +01:00
Marius Bakke
89d88b8530
gnu: python-natsort: Update to 5.4.1.
* gnu/packages/python.scm (python-natsort): Update to 5.4.1.
[arguments]: Add #:modules.  Replace 'check' phase with custom pytest
invokation.
[native-inputs]: Remove PYTHON-PYTEST-CACHE, PYTHON-PYTEST-FLAKES and
PYTHON-PYTEST-PEP8.  Add PYTHON-PYTEST and PYTHON-PYTEST-MOCK.
(python2-natsort)[native-inputs]: Remove PYTHON2-ENUM34 and PYTHON2-MOCK.
2018-11-20 00:57:48 +01:00
Jovany Leandro G.C
f4ee41c960
gnu: python-kivy: Update to 1.10.1
* gnu/packages/python.scm (python-kivy): Update to 1.10.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-19 09:59:08 +01:00
Eric Bavier
5b01b6034a
python: Honor '--cores=...' in tests.
* gnu/packages/python.scm (python-2.7)[arguments]: Add #:make-flags.
2018-11-17 00:43:30 -06:00
Marius Bakke
79ee97a144
Merge branch 'master' into core-updates 2018-11-14 21:20:46 +01:00
Clément Lassieur
4ad3786b7b
gnu: Add python-precis-i18n.
* gnu/packages/messaging.scm (python-precis-i18n): New variable.
2018-11-11 15:58:50 +01:00
Efraim Flashner
2bdca67351
gnu: python-yapf: Update to 0.24.0.
* gnu/packages/python.scm (python-yapf): Update to 0.24.0.
2018-11-11 11:54:32 +02:00
Efraim Flashner
261e421459
gnu: python-pyclipper: Enable tests.
* gnu/packages/python.scm (python-pyclipper)[arguments]: Enable tests.
[native-inputs]: Add python-pytest, python-pytest-runner,
python-unittest2.
2018-11-11 11:13:56 +02:00
Efraim Flashner
8189ce6f05
gnu: python-pyclipper: Update to 1.1.0post1.
* gnu/packages/python.scm (python-pyclipper): Update to 1.1.0post1.
[source]: Add snippet to remove cythonized source files.
[arguments]: Add custom phase to generate cythonized files.
[native-inputs]: Add python-cython.
[description]: Update clipper library version.
2018-11-11 11:13:56 +02:00
Efraim Flashner
5ac2b2717f
gnu: python-networkx2: Remove variable.
* gnu/packages/python.scm (python-networkx2): Remove variable.
* gnu/packages/patches/python-networkx2-reproducible-build.patch: Remove
file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-11-11 11:13:55 +02:00
Marius Bakke
64461ba20a
Merge branch 'master' into core-updates 2018-11-09 17:02:08 +01:00
Luther Thompson
9870b9f7f8
gnu: python-ilinkedlist: Update to 0.3.1.
* gnu/packages/python.scm (python-ilinkedlist): Update to 0.3.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-08 10:24:26 +01:00
Vagrant Cascadian
195e081b43
gnu: Add python-pyelftools.
* gnu/packages/python.scm (python-pyelftools):
  New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-08 10:24:22 +01:00
Marius Bakke
f4a5faa9dc
Merge branch 'master' into core-updates 2018-11-05 23:56:22 +01:00
Luther Thompson
1417f50317
gnu: python-ilinkedlist: Update to 0.2.0.
* gnu/packages/python.scm (python-ilinkedlist): Update to 0.2.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-05 00:08:47 +01:00
Vagrant Cascadian
b6e9514864
gnu: pelican: Update to 3.7.1.
* gnu/packages/python.scm (pelican): Update to 3.7.1.
  [home-page]: Use HTTPS URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-11-05 00:08:47 +01:00
Julien Lepiller
ff349415b2
gnu: python-apache-libcloud: Update to 2.3.0.
* gnu/packages/python.scm (python-apache-libcloud)
(python2-apache-libcloud): Update to 2.3.0.
2018-11-02 14:32:24 +01:00
Tobias Geerinckx-Rice
a72d337fbc
gnu: python-jsonrpclib-pelix: Update to 0.3.2.
* gnu/packages/python.scm (python-jsonrpclib-pelix): Update to 0.3.2.
[arguments]: Disable #:tests?.
2018-11-01 04:34:25 +01:00
Tobias Geerinckx-Rice
1204402a90
gnu: python-partd: Update to 0.3.9.
* gnu/packages/python.scm (python-partd): Update to 0.3.9.
2018-10-30 23:40:42 +01:00
Tobias Geerinckx-Rice
11d99192c7
gnu: Add python-reparser.
* gnu/packages/python.scm (python-reparser, python2-reparser):
New public variable.
2018-10-24 21:34:21 +02:00
Tobias Geerinckx-Rice
d4eb8a21a6
gnu: Add python-readlike.
* gnu/packages/python.scm (python-readlike, python2-readlike):
New public variables.
2018-10-24 21:34:21 +02:00
Marius Bakke
545da9fd5f
gnu: python-flake8: Update to 3.6.0.
* gnu/packages/check.scm (python-hypothesis)[native-inputs]: Change
PYTHON-FLAKE8 to PYTHON-FLAKE8-3.5.
* gnu/packages/python.scm (python-flake8, python2-flake8): Rename to ...
(python-flake8-3.5, python2-flake8-3.5): ... this.
(python-flake8, python2-flake8): New public variables.
2018-10-24 16:34:23 +02:00
Marius Bakke
0c8e255549
gnu: python-attrs: Update to 18.2.0.
* gnu/packages/python.scm (python-attrs): Update to 18.2.0.
[arguments]: New field.
[native-inputs]: Add PYTHON-PYMPLER.
(python-attrs-bootstrap): Stay on version 17.4.0.
2018-10-23 17:11:03 +02:00
Marius Bakke
5176795d22
gnu: Add python-pympler.
* gnu/packages/python.scm (python-pympler, python2-pympler): New public variables.
2018-10-23 17:11:03 +02:00
Marius Bakke
4cdbffdc2f
gnu: python-stem: Update to 1.7.0.
* gnu/packages/python.scm (python-stem): Update to 1.7.0.
[arguments]: Remove obsolete phase.
[native-inputs]: Change PYTHON-PEP8 to PYTHON-PYCODESTYLE.
2018-10-23 00:35:05 +02:00
Marius Bakke
3a23036a0a
gnu: python-datrie: Fix FTBFS with Python 3.7.
* gnu/packages/python.scm (python-datrie)[arguments]: Add phase 'cythonize'.
2018-10-22 23:08:14 +02:00
Marius Bakke
c166a88dea
Merge branch 'master' into core-updates 2018-10-22 23:07:16 +02:00
Marius Bakke
63abd1e2a3
gnu: python-pymongo: Update to 3.7.2.
* gnu/packages/python.scm (python-pymongo): Update to 3.7.2.
2018-10-22 23:01:19 +02:00
Marius Bakke
47d7c10387
gnu: python-sure: Update to 1.4.11.
* gnu/packages/python.scm (python-sure): Update to 1.4.11.
2018-10-22 23:01:19 +02:00
Marius Bakke
9b9aaa57e3
gnu: python-markdown: Update to 3.0.1.
* gnu/packages/python.scm (python-markdown): Update to 3.0.1.
[arguments]: Remove.
2018-10-22 23:01:19 +02:00
Marius Bakke
1b50df7d5b
gnu: python-markdown: Update home page.
* gnu/packages/python.scm (python-markdown)[home-page]: Change to current.
2018-10-22 23:01:19 +02:00
Marius Bakke
f232c875d2
gnu: python-lazy-object-proxy: Update to 1.3.1.
* gnu/packages/python.scm (python-lazy-object-proxy): Update to 1.3.1.
2018-10-22 23:01:18 +02:00
Marius Bakke
b45688313b
gnu: python-mistune: Update to 0.8.4.
* gnu/packages/python.scm (python-mistune): Update to 0.8.4.
2018-10-22 23:01:18 +02:00
Luther Thompson
16d212510a
gnu: Add python-ilinkedlist.
* gnu/packages/python.scm (python-ilinkedlist): New variable.
2018-10-21 23:54:46 +02:00
Marius Bakke
ffddb42d6c
Merge branch 'master' into core-updates 2018-10-21 18:06:02 +02:00
Marius Bakke
e381ae317c
gnu: python2-bz2file: Inherit arguments from python-bzfile.
* gnu/packages/python.scm (python-bz2file)[properties]: Remove field.
(python2-bz2file): Use PACKAGE-WITH-PYTHON2.
2018-10-21 18:03:06 +02:00
Oleg Pykhalov
227da3a4c5
gnu: python-glances: Update to 3.0.2.
* gnu/packages/python.scm (python-glances): Update to 3.0.2.
2018-10-20 18:24:23 +03:00
Efraim Flashner
1febc93f9b
Revert "gnu: python-fonttools: Update to 3.30.0."
This reverts commit 5fb543b3f7.

python2-fonttools has 2700 dependants, only the python3 version is
failing.
2018-10-18 21:25:36 +03:00
Efraim Flashner
5fb543b3f7
gnu: python-fonttools: Update to 3.30.0.
* gnu/packages/python.scm (python-fonttools): Update to 3.30.0.
2018-10-18 21:14:16 +03:00
Marius Bakke
16f14f63db
gnu: Python: Adjust grafts for core-updates merge.
This adjust the grafts from a55ebe2e3a and
90aeaee861 to apply to Python 2.7.15 and 3.7.0.

* gnu/packages/patches/python2-CVE-2018-1060.patch,
gnu/packages/patches/python2-CVE-2018-1061.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/python.scm (python-2/fixed): Remove patches that are already
present in 2.7.15.
(python-3/fixed): Remove obsolete phase.
2018-10-17 20:53:24 +02:00
Marius Bakke
d02bb02f7d
Merge branch 'master' into core-updates 2018-10-17 20:47:11 +02:00
Marius Bakke
a55ebe2e3a
gnu: python2: Add upstream security fixes.
This addresses CVE-2018-{1060,1061,14647,1000802}.

* gnu/packages/patches/python2-CVE-2018-1000802.patch,
gnu/packages/patches/python2-CVE-2018-1060.patch,
gnu/packages/patches/python2-CVE-2018-1061.patch,
gnu/packages/patches/python2-CVE-2018-14647.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-2/fixed): New variable.
(python-2.7)[replacement]: New field.
(python2-minimal): Use PACKAGE/INHERIT.
2018-10-17 20:34:37 +02:00
Marius Bakke
90aeaee861
gnu: python: Fix CVE-2018-14647.
* gnu/packages/patches/python-CVE-2018-14647.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python.scm (python-3/fixed): New variable.
(python-3.6)[replacement]: New field.
(python-minimal, python-debug, wrap-python3): Use PACKAGE/INHERIT instead of
standard inheritance.
2018-10-17 20:34:37 +02:00
Efraim Flashner
fb3ff265cd
gnu: python-icalendar: Update to 4.0.3.
* gnu/packages/python.scm (python-icalendar): Update to 4.0.3.
2018-10-17 11:40:08 +03:00
Maxim Cournoyer
0731fc1ce7
gnu: python-mimeparse: Update to 1.6.0.
* gnu/packages/python.scm (python-mimeparse): Update to 1.6.0.
[phases]: Enable tests with a custom check phase.
2018-10-14 22:02:40 -04:00
Leo Famulari
d7814696b8
gnu: python-configargparse: Use pypi-uri.
* gnu/packages/python.scm (python-configargparse,
python2-configargparse)[source]: Use pypi-uri.
2018-10-12 23:42:43 -04:00
Leo Famulari
3c4d307e86
gnu: python-icalendar: Update to 4.0.2.
* gnu/packages/python.scm (python-icalendar: Update to 4.0.2.
2018-10-12 23:42:43 -04:00
Efraim Flashner
fd15eb286e
gnu: python-more-itertools: Fix building on 32-bit architectures.
* gnu/packages/python.scm (python-more-itertools)[arguments]: Add a
custom phase to prevent overflowing on 32-bit architectures.
2018-10-11 20:55:44 +03:00
Ben Woodcroft
402561ccef
gnu: python2-backports-functools-lru-cache: Update to 1.5.
* gnu/packages/python.scm (python2-backports-functools-lru-cache): Update to 1.5.
2018-10-08 16:37:03 +10:00
Marius Bakke
cf6db76d2a
Merge branch 'master' into core-updates 2018-10-05 19:15:39 +02:00
Tobias Geerinckx-Rice
b733dbc0fb
gnu: python-setproctitle: Use INVOKE.
* gnu/packages/python.scm (python-setproctitle)[arguments]: Substitute
INVOKE for SYSTEM*.
2018-09-27 03:51:07 +02:00
Marius Bakke
6a0427af6c
Merge branch 'master' into core-updates 2018-09-26 01:11:32 +02:00
Tobias Geerinckx-Rice
06e6b17bd7
gnu: python-pexpect: Use INVOKE.
* gnu/packages/python.scm (python-pexpect)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-09-25 11:46:54 +02:00
Tobias Geerinckx-Rice
bbc69023d8
gnu: Add python-semantic-version.
* gnu/packages/python.scm (python-semantic-version)
(python2-semantic-version): New public variables.
2018-09-25 11:46:08 +02:00
Tobias Geerinckx-Rice
cd8aa06093
gnu: python-networkx: Use HTTPS home page.
* gnu/packages/python.scm (python-networkx)[home-page]: Use HTTPS.
2018-09-24 00:34:03 +02:00