unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <marius@gnu.org>
To: Tanguy LE CARROUR <tanguy@bioneland.org>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 44077@debbugs.gnu.org
Subject: [bug#44077] gnu: poetry: Update to 1.1.4.
Date: Thu, 03 Dec 2020 22:39:16 +0100	[thread overview]
Message-ID: <87r1o6in7f.fsf@gnu.org> (raw)
In-Reply-To: <1606724643.e3gcn2y8r4.astroid@rafflesia.none>

[-- Attachment #1: Type: text/plain, Size: 1780 bytes --]

Tanguy LE CARROUR <tanguy@bioneland.org> skriver:

> Hi Marius!
>
>
> Excerpts from Marius Bakke's message of November 29, 2020 9:06 pm:
>> Tanguy LE CARROUR <tanguy@bioneland.org> skriver:
>> 
>>> I've tried to modify `python-virtualenv` to make it use our current
>>> version of `python-distlib`. Poetry builds, but it does not work
>>> properly!
>>>
>>> ```
>>> $ poetry install
>>> Creating virtualenv test-4avGy1Vc-py3.8 in /home/tanguy/.cache/pypoetry/virtualenvs
>>>
>>>   ImportError
>>>
>>>   cannot import name 'enquote_executable' from 'distlib.scripts'
>>>   (/gnu/store/2j3qn0ksry1qarwih9knh1ngr6zm2rci-python-distlib-0.3.0/lib/python3.8/site-packages/distlib/scripts.py)
>>> ```
>>>
>>> So I guess the version of distlib does matter and we cannot do without.
>> 
>> To get these patches on 'master' without rebuilding the world, you can
>> create a new 'python-distlib' like so:
>> 
>>   ;; TODO: Merge with 'python-distlib' on the next rebuild cycle.
>>   (define-public python-distlib/next
>>     (package
>>       (inherit python-distlib)
>>       (version "1.2.3")
>>       (source (origin ...))))
>> 
>> ...and in the packages that require the new version, refer to
>> 'python-distlib/next' instead of 'python-distlib'.
>> 
>> Does that make sense?
>
> Yes, thanks, that's a great solution, indeed!
>
> I'm only concerned about the poor soul who has to remember to get rid of
> the `python-distlib/next` and update `python-virtualenv` package
> definition. I guess none of this is auto-magic, right?!

It's not automatic indeed.  But as long as there is a source code
comment mentioning 'core-updates', 'staging' or 'rebuild cycle', chances
are some poor soul will take care of it appropriately in due time.  ;-)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

  reply	other threads:[~2020-12-03 21:40 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-19 13:26 [bug#44077] [PATCH 0/2] gnu: poetry: Update to 1.1.3 Tanguy Le Carrour
2020-10-19 13:29 ` [bug#44077] [PATCH 1/2] gnu: Add python-poetry-core Tanguy Le Carrour
2020-10-19 13:29   ` [bug#44077] [PATCH 2/2] gnu: poetry: Update to 1.1.3 Tanguy Le Carrour
2020-10-20 11:55     ` Nicolas Goaziou
2020-10-20 15:32       ` Tanguy Le Carrour
2020-10-20 11:51   ` [bug#44077] [PATCH 1/2] gnu: Add python-poetry-core Nicolas Goaziou
2020-10-20 15:30     ` Tanguy Le Carrour
2020-10-21 19:46       ` Nicolas Goaziou
2020-10-22  7:22         ` Tanguy Le Carrour
2020-10-20 15:39 ` [bug#44077] [PATCH v2 " Tanguy Le Carrour
2020-10-20 15:39   ` [bug#44077] [PATCH v2 2/2] gnu: poetry: Update to 1.1.3 Tanguy Le Carrour
2020-10-22  7:20 ` [bug#44077] [PATCH v3 1/2] gnu: Add python-poetry-core Tanguy Le Carrour
2020-10-22  7:20   ` [bug#44077] [PATCH v3 2/2] gnu: poetry: Update to 1.1.3 Tanguy Le Carrour
2020-10-23  6:54 ` [bug#44077] [WIP][PATCH 0/2] " Tanguy Le Carrour
2020-10-30 18:17 ` [bug#44077] [PATCH v2 0/7] gnu: poetry: Update to 1.1.4 Tanguy Le Carrour
2020-10-30 18:17 ` [bug#44077] [PATCH v2 1/7] gnu: python-packaging: Update to 20.4 Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 2/7] gnu: python-virtualenv: Update to 20.1.0 Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 3/7] gnu: python-distlib: Update to 0.3.1 Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 4/7] gnu: python-pip: Update to 20.2.4 Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 5/7] gnu: python-tomlkit: Update to 0.7.0 Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 6/7] gnu: Add python-poetry-core Tanguy Le Carrour
2020-10-30 18:17   ` [bug#44077] [PATCH v2 7/7] gnu: poetry: Update to 1.1.4 Tanguy Le Carrour
2020-11-26 13:36 ` [bug#44077] " Tanguy Le Carrour
2020-11-27 20:14   ` Nicolas Goaziou
2020-11-28 14:11     ` Tanguy LE CARROUR
2020-11-28 15:41       ` Nicolas Goaziou
2020-11-29 17:56         ` Tanguy LE CARROUR
2020-11-29 19:34           ` Tanguy LE CARROUR
2020-11-29 20:06             ` Marius Bakke
2020-11-30  8:27               ` Tanguy LE CARROUR
2020-12-03 21:39                 ` Marius Bakke [this message]
2020-11-30  9:45 ` [bug#44077] [PATCH v4 1/7] gnu: python-packaging: Update to 20.4 Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 2/7] gnu: Add python-distlib/next Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 3/7] gnu: python-virtualenv: Update to 20.2.1 Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 4/7] gnu: python-pip: Update to 20.2.4 Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 5/7] gnu: python-tomlkit: Update to 0.7.0 Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 6/7] gnu: Add python-poetry-core Tanguy Le Carrour
2020-11-30  9:45   ` [bug#44077] [PATCH v4 7/7] gnu: poetry: Update to 1.1.4 Tanguy Le Carrour
2020-11-30  9:48 ` [bug#44077] [PATCH v5 1/7] gnu: python-packaging: Update to 20.4 Tanguy Le Carrour
2020-11-30  9:48   ` [bug#44077] [PATCH v5 2/7] gnu: Add python-distlib/next Tanguy Le Carrour
2020-11-30  9:48   ` [bug#44077] [PATCH v5 3/7] gnu: python-virtualenv: Update to 20.2.1 Tanguy Le Carrour
2020-11-30  9:49   ` [bug#44077] [PATCH v5 4/7] gnu: python-pip: Update to 20.2.4 Tanguy Le Carrour
2020-11-30  9:49   ` [bug#44077] [PATCH v5 5/7] gnu: python-tomlkit: Update to 0.7.0 Tanguy Le Carrour
2020-11-30  9:49   ` [bug#44077] [PATCH v5 6/7] gnu: Add python-poetry-core Tanguy Le Carrour
2020-11-30  9:49   ` [bug#44077] [PATCH v5 7/7] gnu: poetry: Update to 1.1.4 Tanguy Le Carrour
2020-11-30 21:42     ` bug#44077: " Nicolas Goaziou
2020-12-01  7:03       ` [bug#44077] " Tanguy LE CARROUR

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=87r1o6in7f.fsf@gnu.org \
    --to=marius@gnu.org \
    --cc=44077@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=tanguy@bioneland.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).