Age | Commit message (Collapse) | Author |
|
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`.
|
|
|
|
* gnu/packages/python.scm (micropython): New variable.
|
|
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.
|
|
* gnu/packages/python.scm (python-3.7): Update to 3.7.2.
|
|
* 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.
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Add
texlive-fonts-cm-super and texlive-latex-needspace to texlive-union.
|
|
* 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.
|
|
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.
|
|
python2-miniboa is required for the linkchecker testsuite.
* gnu/packages/python.scm (python-miniboa, python2-miniboa): New variable.
|
|
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.
|
|
* gnu/packages/python.scm (python-doctest-ignore-unicode): New variable.
|
|
* gnu/packages/python.scm (python-pillow)[homepage]: Update URL.
|
|
* gnu/packages/python.scm (python-pillow): Update to 5.4.0.
[arguments]: Add 'patch-ldconfig' phase.
|
|
* 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.
|
|
* gnu/packages/python.scm (python-rpy2): Move from here...
* gnu/packages/statistics.scm (python-rpy2): ...to here.
|
|
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.
|
|
* gnu/packages/python.scm (python-pyicu): Update to 2.2.
|
|
* gnu/packages/python.scm (python-pysocks): Update to 1.6.8.
|
|
* gnu/packages/python.scm (python-packaging): Update to 18.0.
|
|
* gnu/packages/python.scm (python-astroid): Update to 2.1.0.
|
|
* gnu/packages/python.scm (python-imagesize): Update to 1.1.0.
|
|
* gnu/packages/python.scm (python-sphinx-alabaster-theme): Update to 0.7.12.
|
|
* gnu/packages/python.scm (jupyter)[propagated-inputs]: Add python-qtconsole.
[home-page]: Use https URL.
[arguments]: Update comment on why tests are disabled.
|
|
* gnu/packages/python.scm (python-qtconsole): New variable.
|
|
* 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.
|
|
* 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.
|
|
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-jupyter-core-minimal.
|
|
* gnu/packages/python.scm (python-ipywidgets)[arguments]: Remove.
[native-inputs]: Add python-nose and python-pytest.
[propagated-inputs]: Remove python-ipykernel.
|
|
* gnu/packages/python.scm (python-widgetsnbextension): Update to 3.4.2.
[propagated-inputs]: Add python-ipykernel.
|
|
* gnu/packages/python.scm (python-send2trash, python2-send2trash): New
variables.
|
|
* gnu/packages/python.scm (python-prometheus-client,
python2-prometheus-client): New variables.
|
|
* gnu/packages/python.scm (python-jupyter-client): Update to 5.2.4.
|
|
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-ipykernel.
[arguments]: Delete more broken tests.
|
|
* 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.
|
|
* 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.
|
|
* gnu/packages/python.scm (python-prompt-toolkit-1, python2-prompt-toolkit-1):
New variables.
|
|
* 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.
|
|
* gnu/packages/python.scm (python-hy)[arguments]: Use INVOKE.
|
|
* gnu/packages/python.scm (python-clint)[arguments]: Use INVOKE.
|
|
* gnu/packages/python.scm (python-configargparse)[arguments]: Use INVOKE.
|
|
* gnu/packages/python.scm (python-docopt)[arguments]: Use INVOKE.
|
|
* gnu/packages/python.scm (python-lxml, python2-lxml): Update to 4.2.5.
|