unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: Guix <guix-devel@gnu.org>
Subject: Re: WIP gnu: poetry: Update to 1.0.3.
Date: Wed, 5 Feb 2020 18:13:56 +0100	[thread overview]
Message-ID: <20200205171356.fm522biune6ewk4w@rafflesia> (raw)
In-Reply-To: <20200204084857.uxmbpch6rnyqevwe@rafflesia>

Hi Gui, hi Gábor!

Le 02/04, Tanguy Le Carrour a écrit :
> Le 02/03, Gábor Boskovits a écrit :
> > Tanguy Le Carrour <tanguy@bioneland.org> ezt írta (időpont: 2020.
> > febr. 3., H, 16:31):
> > > I'm working on updating Poetry to version 1.0.3 and I have a problem
> > > with the version of a dependency.
> > >
> […]
> > > [1]: attempt to patch setup.py
> > > -    (arguments `(#:tests? #f))                    ; tests depend on dbus service
> > > +    (arguments
> > > +     `(#:tests? #f ;; Pypi does not have tests.
> > > +       #:phases
> > > +       (modify-phases %standard-phases
> > > +         (add-after 'unpack 'change-dependencies
> > > +           (lambda _
> > > +             ;; Guix has version 21.0.0 of python-keyring
> > > +             (invoke "sed" "-i" "-e"
> > > +                     "s/keyring>=20.0.1,<21.0.0/keyring>=20.0.1,<22.0.0/"
> > > +                     "setup.py")
> > > +             #t)))))
> > >
> >
> > What did not work in this case?
> The `setup.py` file was not modified!
> > Also, do you think that you could replace invoke sed with substitute*?
>
> I'll definitively give it a try! Thanks!

This worked perfectly! Thanks!

I've just submitted the first 3 patches (trivial updates) required to update
Poetry, but I'm still struggling with the update of python-cachy. I've a
`fakeredis: unable to find libc or equivalent` error, so for the time
being, I deactivated the tests.

I might have to start a new thread on guix-devel, if I fail to figure out
a way to make it work.

I'll also have to work on my commit message for poetry as quite a lot is
happening:

```
WIP gnu: poetry: Update to 1.0.3.

* gnu/packages/python-xyz.scm (poetry): Update to 1.0.3.
[propagated-inputs] remove python-glob2, add python-clikit,
add python-importlib-metadata, remove python-msgpack, remove
python-pathlib2, add python-keyring.
[home-page] update URL.
[arguments/#:phases/modify-phases] remove patch.
```


Thanks again for your help!

-- 
Tanguy

  reply	other threads:[~2020-02-05 17:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-03 15:31 WIP gnu: poetry: Update to 1.0.3 Tanguy Le Carrour
2020-02-03 18:20 ` Gábor Boskovits
2020-02-04  8:48   ` Tanguy Le Carrour
2020-02-05 17:13     ` Tanguy Le Carrour [this message]
2020-02-19 16:40 ` 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=20200205171356.fm522biune6ewk4w@rafflesia \
    --to=tanguy@bioneland.org \
    --cc=boskovits@gmail.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).