unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: [PATCH 00/14] Change python-build-system (fixes bug 20765)
Date: Wed, 28 Sep 2016 15:58:13 +0200	[thread overview]
Message-ID: <1475071107-10765-1-git-send-email-h.goebel@crazy-compilers.com> (raw)

Hi,

this is a patch-series fixing bug 20765.

Bug 20765 is about problems caused by python packages being installed as
"zipped eggs" (basically these are zip-files).

This series implements what I proposed in
  <http://lists.gnu.org/archive/html/guix-devel/2016-09/msg02021.html>.

A) For python2 include python2-setuptools as a native-input by default.

B) Install Python packages using --single-version-externally-managed

C) Strip python-setuptools and python2-setuptools from all native-inputs
   defined in packages.

Since the first of these changes already make *all* Python packages to be
rebuild, i took the chance to complete points B) and C), too. Step C) is split
into several patches to ease review. I'll happily merge them if requested.
Furhter I did not complete the commit message for these patches. Please
instruct me how these should be written. IMHO there is less use for listing
every singel change liek I did in part 5b.

TODO: by somebody more skilled than me: Take the change and

 * integrate strip-python2-variant into package-with-python2.

 * update Python to 2.7.12 and 3.4.5.


Hartmut Goebel (14):
  gnu: ensure pip and setuptools are installed even for Python 2
  guix: build all Python packages with
    --single-version-externally-managed.
  guix: Add lint-checker for packages which should be no inputs at all.
  gnu: python-setuptools: remove pre-built binaries.
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    1)
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    2)
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    3)
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    4)
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    5a)
  gnu: Remove python-setuptools and python2-setuptools from inputs (part
    5b)
  gnu: Remove needless inputs python-pip and python2-pip.
  lint: 'check-inputs-should-not-be-an-input-at-all' checks for
    python-pip
  gnu: python-h5py: Remove needless "python2-variant" property.
  gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)

 gnu/packages/admin.scm             |    7 +-
 gnu/packages/backup.scm            |    5 +-
 gnu/packages/bioinformatics.scm    |  123 +----
 gnu/packages/django.scm            |   22 +-
 gnu/packages/docbook.scm           |    3 +-
 gnu/packages/docker.scm            |    2 -
 gnu/packages/freedesktop.scm       |    3 +-
 gnu/packages/game-development.scm  |    2 -
 gnu/packages/gnupg.scm             |    7 +-
 gnu/packages/key-mon.scm           |    2 -
 gnu/packages/lirc.scm              |    3 +-
 gnu/packages/mail.scm              |    2 -
 gnu/packages/mp3.scm               |    3 +-
 gnu/packages/mpd.scm               |    9 +-
 gnu/packages/music.scm             |   18 +-
 gnu/packages/nutrition.scm         |    6 +-
 gnu/packages/openstack.scm         |   46 +-
 gnu/packages/password-utils.scm    |    9 +-
 gnu/packages/pdf.scm               |   13 +-
 gnu/packages/protobuf.scm          |    7 +-
 gnu/packages/python.scm            | 1072 ++++++++----------------------------
 gnu/packages/rdf.scm               |    3 +-
 gnu/packages/statistics.scm        |   22 +-
 gnu/packages/terminals.scm         |    3 +-
 gnu/packages/tls.scm               |   10 -
 gnu/packages/tor.scm               |    6 +-
 gnu/packages/version-control.scm   |    3 +-
 gnu/packages/xdisorg.scm           |    3 +-
 guix/build/python-build-system.scm |   17 +-
 guix/scripts/lint.scm              |   63 ++-
 tests/lint.scm                     |   34 ++
 31 files changed, 366 insertions(+), 1162 deletions(-)

-- 
2.7.4

             reply	other threads:[~2016-09-28 13:58 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 13:58 Hartmut Goebel [this message]
2016-09-28 13:58 ` [PATCH 01/14] gnu: ensure pip and setuptools are installed even for Python 2 Hartmut Goebel
2016-09-28 13:58 ` [PATCH 02/14] guix: build all Python packages with --single-version-externally-managed Hartmut Goebel
2016-09-28 13:58 ` [PATCH 03/14] guix: Add lint-checker for packages which should be no inputs at all Hartmut Goebel
2016-09-28 13:58 ` [PATCH 04/14] gnu: python-setuptools: remove pre-built binaries Hartmut Goebel
2016-09-28 13:58 ` [PATCH 05/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 1) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 06/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 2) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 07/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 3) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 08/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 4) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 09/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 5a) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 10/14] gnu: Remove python-setuptools and python2-setuptools from inputs (part 5b) Hartmut Goebel
2016-09-28 13:58 ` [PATCH 11/14] gnu: Remove needless inputs python-pip and python2-pip Hartmut Goebel
2016-09-28 13:58 ` [PATCH 12/14] lint: 'check-inputs-should-not-be-an-input-at-all' checks for python-pip Hartmut Goebel
2016-09-28 13:58 ` [PATCH 13/14] gnu: python-h5py: Remove needless "python2-variant" property Hartmut Goebel
2016-09-28 13:58 ` [PATCH 14/14] gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs) Hartmut Goebel
2016-09-28 14:03 ` [PATCH 00/14] Change python-build-system (fixes bug 20765) Hartmut Goebel
2016-09-28 15:54   ` Marius Bakke
2016-09-28 17:33     ` Hartmut Goebel
2016-09-28 17:40     ` Hartmut Goebel
2016-09-30 14:39       ` Marius Bakke
2016-10-02  9:05         ` Hartmut Goebel
2016-10-02 12:14           ` Hartmut Goebel
2016-10-02 14:24         ` Ludovic Courtès
2016-10-02 17:31           ` Hartmut Goebel
2016-10-02 18:01             ` Leo Famulari
2016-10-02 19:25               ` Marius Bakke
2016-10-10 13:24               ` Please set up Hydra channel for new python-build-system (was: [PATCH 00/14] Change python-build-system (fixes bug 20765)) Hartmut Goebel
2016-10-12 14:29                 ` Leo Famulari
2016-10-12 14:37                   ` Andreas Enge
2016-10-12 14:51                     ` Leo Famulari
2016-10-13  8:17                       ` Vincent Legoll
2016-10-03  9:31         ` [PATCH 00/14] Change python-build-system (fixes bug 20765) Hartmut Goebel
2016-10-04 21:39         ` Hartmut Goebel
2016-10-02  2:27 ` Leo Famulari
2016-10-02  2:46   ` Leo Famulari
2016-10-02  9:19     ` Hartmut Goebel
2016-10-02  9:18   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475071107-10765-1-git-send-email-h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).