summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
AgeCommit message (Collapse)Author
2019-02-23gnu: Python: Consolidate test patches.Marius Bakke
While at it, adjust patches for -p1 patch flag. * gnu/packages/patches/python-fix-tests.patch: Delete file. Move contents ... * gnu/packages/patches/python-3-fix-tests.patch: ... here. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/python.scm (python-3.7)[source](patches): Remove obsolete. [source](patch-flags): Remove. * gnu/packages/patches/python-3-deterministic-build-info.patch, gnu/packages/patches/python-3-search-paths.patch: Adjust for `patch -p1`.
2019-02-20Merge branch 'staging' into core-updatesMarius Bakke
2019-02-20gnu: Add micropython.Efraim Flashner
* gnu/packages/python.scm (micropython): New variable.
2019-02-08gnu: python-2.7: Rebuild bytecode.Ricardo Wurmus
Fixes <https://bugs.gnu.org/22010>. * gnu/packages/python.scm (python-2.7)[arguments]: Add phase "rebuild-bytecode". (python-3.7)[arguments]: Replace "rebuild-bytecode" phase; remove outdated comment.
2019-02-07gnu: python: Update to 3.7.2.Marius Bakke
* gnu/packages/python.scm (python-3.7): Update to 3.7.2.
2019-02-07gnu: python2: Incorporate grafted changes.Marius Bakke
* gnu/packages/python.scm (python-2.7)[source](patches): Add python2-CVE-2018-14647.patch and python2-CVE-2018-1000802.patch. [replacement]: Remove field. (python-2/fixed): Remove variable.
2019-02-06Merge branch 'master' into core-updatesRicardo Wurmus
2019-01-22gnu: python2: Fix test flags.Eric Bavier
Reverts a9883939977f5fb0bd62d1dccb1ab0a772a4b720 in favor of a cleaner approach. * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' -> 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks which is not compatible with the -j for parallelism.
2019-01-21gnu: python-futures: Enable tests.Christopher Baines
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-21gnu: python-2.7: Include /lib/python.../test/support.Christopher Baines
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-16gnu: Move dbm databases to new module.Ricardo Wurmus
* 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-16gnu: Move sqlite to separate module.Ricardo Wurmus
* 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-15gnu: Separate Python core packages from the rest.Ricardo Wurmus
* 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-15gnu: python-numpy-documentation: Add missing packages to texlive-union.Ricardo Wurmus
* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Add texlive-fonts-cm-super and texlive-latex-needspace to texlive-union.
2019-01-14gnu: python-pycodestyle: Fix build with Python 3.7.Eric Bavier
* 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-13gnu: python-2.7: Fix build.Christopher Baines
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-13gnu: Add python-miniboa.Christopher Baines
python2-miniboa is required for the linkchecker testsuite. * gnu/packages/python.scm (python-miniboa, python2-miniboa): New variable.
2019-01-13gnu: python-pillow: Update to 5.4.1.Christopher Baines
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-13gnu: Add python-doctest-ignore-unicode.Ricardo Wurmus
* gnu/packages/python.scm (python-doctest-ignore-unicode): New variable.
2019-01-12gnu: python-pillow: Update homepage.Kei Kebreau
* gnu/packages/python.scm (python-pillow)[homepage]: Update URL.
2019-01-12gnu: python-pillow: Update to 5.4.0Kei Kebreau
* gnu/packages/python.scm (python-pillow): Update to 5.4.0. [arguments]: Add 'patch-ldconfig' phase.
2019-01-09gnu: python-pygit2: Update to 0.27.3.Efraim Flashner
* 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-07gnu: python-rpy2: Move to (gnu packages statistics).Ricardo Wurmus
* gnu/packages/python.scm (python-rpy2): Move from here... * gnu/packages/statistics.scm (python-rpy2): ...to here.
2019-01-07gnu: python2-fastlmm: Move to machine-learning.scm.Ludovic Courtès
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-06gnu: python-pyicu: Update to 2.2.Efraim Flashner
* gnu/packages/python.scm (python-pyicu): Update to 2.2.
2019-01-06gnu: python-pysocks: Update to 1.6.8.Efraim Flashner
* gnu/packages/python.scm (python-pysocks): Update to 1.6.8.
2019-01-06gnu: python-packaging: Update to 18.0.Efraim Flashner
* gnu/packages/python.scm (python-packaging): Update to 18.0.
2019-01-06gnu: python-astroid: Update to 2.1.0.Efraim Flashner
* gnu/packages/python.scm (python-astroid): Update to 2.1.0.
2019-01-06gnu: python-imagesize: Update to 1.1.0.Efraim Flashner
* gnu/packages/python.scm (python-imagesize): Update to 1.1.0.
2019-01-06gnu: python-sphinx-alabaster-theme: Update to 0.7.12.Efraim Flashner
* gnu/packages/python.scm (python-sphinx-alabaster-theme): Update to 0.7.12.
2019-01-02gnu: jupyter: Add missing dependency.Ricardo Wurmus
* 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-02gnu: Add python-qtconsole.Ricardo Wurmus
* gnu/packages/python.scm (python-qtconsole): New variable.
2019-01-02gnu: python-notebook: Update to 5.7.4.Ricardo Wurmus
* 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-02gnu: python-jupyter-console: Fix inputs.Ricardo Wurmus
* 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-02gnu: python-ipython: Remove dependency on python-jupyter-core-minimal.Ricardo Wurmus
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove python-jupyter-core-minimal.
2019-01-02gnu: python-ipywidgets: Enable tests.Ricardo Wurmus
* gnu/packages/python.scm (python-ipywidgets)[arguments]: Remove. [native-inputs]: Add python-nose and python-pytest. [propagated-inputs]: Remove python-ipykernel.
2019-01-02gnu: python-widgetsnbextension: Update to 3.4.2.Ricardo Wurmus
* gnu/packages/python.scm (python-widgetsnbextension): Update to 3.4.2. [propagated-inputs]: Add python-ipykernel.
2019-01-02gnu: Add python-send2trash.Ricardo Wurmus
* gnu/packages/python.scm (python-send2trash, python2-send2trash): New variables.
2019-01-02gnu: Add python-prometheus-client.Ricardo Wurmus
* gnu/packages/python.scm (python-prometheus-client, python2-prometheus-client): New variables.
2019-01-02gnu: python-jupyter-client: Update to 5.2.4.Ricardo Wurmus
* gnu/packages/python.scm (python-jupyter-client): Update to 5.2.4.
2019-01-02gnu: python-ipython: Break dependency on python-ipykernel.Ricardo Wurmus
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove python-ipykernel. [arguments]: Delete more broken tests.
2019-01-02gnu: python-ipykernel: Update to 5.1.0.Ricardo Wurmus
* 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-02gnu: python-ipython: Update to 5.8.0.Ricardo Wurmus
* 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-02gnu: Add python-prompt-toolkit-1.Ricardo Wurmus
* gnu/packages/python.scm (python-prompt-toolkit-1, python2-prompt-toolkit-1): New variables.
2019-01-02gnu: python-prompt-toolkit: Update to 2.0.7.Ricardo Wurmus
* 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-02gnu: python-hy: Use INVOKE.Ricardo Wurmus
* gnu/packages/python.scm (python-hy)[arguments]: Use INVOKE.
2019-01-02gnu: python-clint: Use INVOKE.Ricardo Wurmus
* gnu/packages/python.scm (python-clint)[arguments]: Use INVOKE.
2019-01-02gnu: python-configargparse: Use INVOKE.Ricardo Wurmus
* gnu/packages/python.scm (python-configargparse)[arguments]: Use INVOKE.
2019-01-02gnu: python-docopt: Use INVOKE.Ricardo Wurmus
* gnu/packages/python.scm (python-docopt)[arguments]: Use INVOKE.
2018-12-31gnu: python-lxml: Update to 4.2.5 [fixes CVE-2018-19787].Leo Famulari
* gnu/packages/python.scm (python-lxml, python2-lxml): Update to 4.2.5.