Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13459

Re: Request for review for Poetry(Was: Re: Asking for help Poetry)

Path csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Louis-Philippe Véronneau <pollo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Request for review for Poetry(Was: Re: Asking for help Poetry)
Date Sat, 03 Jul 2021 00:30:01 +0200
Message-ID <CwzPz-1yy-1@gated-at.bofh.it> (permalink)
References <AmSlc-7Pg-3@gated-at.bofh.it> <BcTT4-3dO-5@gated-at.bofh.it> <BdYdY-1I3-3@gated-at.bofh.it> <BiqY3-2mU-23@gated-at.bofh.it> <BsS6B-6gD-1@gated-at.bofh.it> <BRTst-2Mz-13@gated-at.bofh.it> <BRXZ8-5oi-9@gated-at.bofh.it> <BSPPQ-3tQ-7@gated-at.bofh.it> <BSWoi-7pa-11@gated-at.bofh.it> <CcGAh-6W6-3@gated-at.bofh.it> <CcGTD-72H-3@gated-at.bofh.it> <CdsbT-4nl-1@gated-at.bofh.it> <Cdzdn-8ub-1@gated-at.bofh.it> <Cjda9-1xc-1@gated-at.bofh.it> <CrRDr-8V-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jul 2 22:26:11 2021
Old-Return-Path <pollo@debian.org>
X-Amavis-Spam-Status No, score=-11.178 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Riseup-User-ID 4A4247EDF25AD397B73581EABBE578BF8CB081F0F9E0B34B63E21BABC0B954CA
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QBlIjNqkhf1X1HwmcgirCHUG7SYpINHSF"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19249
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/a7556de1-5041-e97d-7d9c-5efd1e955ea1@debian.org
Approved robomod@news.nic.it
Lines 167
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 2 Jul 2021 18:25:47 -0400
X-Original-Message-ID <a7556de1-5041-e97d-7d9c-5efd1e955ea1@debian.org>
X-Original-References <CAFNO5odGZaFaz5VjEnS1w1efYZbnk588y47DT+YhAvzSUQvbAA@mail.gmail.com> <rp626s$mjb$1@ciao.gmane.io> <CAFNO5ocSsmcJ8GLSjJEJ1BTKG29KJc23hQYmDwUFu4kNageqNQ@mail.gmail.com> <CAFNO5of_wRRsGOsgP85K-VLDB6GRhjCzELm+2E9iO5KMs_eHZA@mail.gmail.com> <CAFNO5odH3R_gYqyeM5-07xWxiZvL66rkgrDc2-JgP79gnZY+tQ@mail.gmail.com> <CAB4XWXy14cUt3hKObUBke94crS-69RABx2C1ZyPW_NTDu7ssbQ@mail.gmail.com> <CAFNO5oemLFi_jvVdH1TJ5eEfKcoXwwM-WUHQGKXpOMPM1jyOXw@mail.gmail.com> <CAB4XWXyz703_6EeENDJgRpxVwrDF9qq+chcN2kApiFbpQcyrzw@mail.gmail.com> <CAFNO5oc2AsZ5oSWr5HjQoMESU=Qdm1Ndeqz2tWxnho1=+ketGA@mail.gmail.com> <CAB4XWXyDefqYfajPb8rg55v7EkjmERbJjPDSU11qtLEt5VSvvw@mail.gmail.com> <955fe2f6-d5c0-bc76-803c-3a3e047ab1e7@yaerobi.com> <CAB4XWXxOEp8nhY=O2xQoUVWk5wUw8hdfN0e5D-bfP45s6ZwRHQ@mail.gmail.com> <f8fbace3-f2ea-6baa-2b59-2c40eeb95dc1@yaerobi.com> <CAFNO5ofG1+u19XXqDa--gQ2KwyKUzakm1wU0pVEk=ZryvjuOqw@mail.gmail.com> <3c823708-a9de-2bdb-cada-3573920bd884@yaerobi.com>
Xref csiph.com linux.debian.maint.python:13459

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2021-06-19 18 h 21, Emmanuel Arias wrote:
> Hello everybody,
> 
> I want to tell you that I push to salsa an advances of poetry packaging.
> 
> Now, we have a complete package of poetry, so I'm requesting some more
> experienced reviewers.

Sorry, I said I would do this but it took me some time to actually do it :)

Thanks for working on poetry, it's 100% going to make our lives easier.

I have not read the upstream code, so I might be missing things...
That's the kind of thing I only do when a package is ready to be sponsored.

Here are my comments:

1. d/control:

You haven't set the Python Team either in Maintainer or Uploaders.

---------------------------------------------------------------------

2. d/control:

If you require specific dependencies, you should make it clear in
d/control. It's the kind of thing that helps a lot if people decide to
backport it.

---------------------------------------------------------------------

3. tests/repositories/fixtures

This directory contains a bunch of tarballs from other projects. I'm not
sure what should be done with this, as I guess they are used in the
testsuite....

My first reflex would be to exclude them from the imported tarball and
disable the tests that require them, but I don't know how much of the
testsuite depends on those tarballs.

Maybe someone else from the team can chime-in?

---------------------------------------------------------------------

4. d/tests

There are no autopkgtests. This being a large project that's kinda hard
to package, I don't really mind for now.

I think it's fair to wait to have at least 1 version in unstable before
working on that.

---------------------------------------------------------------------

5. d/rules

Isn't the step in execute_after_dh_auto_install better suited in
execute_after_dh_clean instead? At least, it seems to me you're cleaning
the ./foo dir you patched in.

---------------------------------------------------------------------

6. Lintian: W: python3-poetry: no-manual-page usr/bin/poetry

Again, not something that needs to be fixed, but each subcommand of
poetry should probably get a man page:

https://python-poetry.org/docs/cli/

I looked at the code and I have no idea how this website is built (they
don't use sphinx). It seems like they do something manual?

https://github.com/python-poetry/poetry/issues/3382

Anyway, here's an example of how I added man pages to a program with
multiple commands:

https://github.com/spl0k/supysonic/tree/master/docs/man

---------------------------------------------------------------------

Overall it's very good! The trickiest part to fix will likely be #3 :S

> I need to skip some tests because use a non versioned python, so that
> give me some troubles like "python don't exist".
> 
> Also, there're some package (or package version) that aren't in Debian
> yet. So, to save your time looking which are them I tell you that I run
> the buildpackage in this way:
> 
> ```
> 
> gbp buildpackage --git-ignore-new
> --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-cleo_0.8.1-1_all.deb
> --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-httpretty_1.0.5-0.1_all.deb
> --extra-package=/home/eamanu/Debian/DEPENDENCIES/python3-pkginfo_1.7.0-1_all.deb

This package has not been updated on Salsa, or at least, I couldn't find
version 1.7.0-1 anywhere. Maybe you forgot to push?

I'm getting test failures on tests/inspection/test_info.py, but I'm
taking for granted it's because I don't have the right version.

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2020-06-29 05:10 +0200
  Re: Asking for help Poetry Scott Kitterman <debian@kitterman.com> - 2020-06-29 06:10 +0200
    Re: Asking for help Poetry Bastian Venthur <venthur@debian.org> - 2020-11-19 16:20 +0100
      Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2020-11-22 15:10 +0100
        Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2020-12-04 22:40 +0100
          Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-01-02 17:40 +0100
            Re: Asking for help Poetry Sandro Tosi <morph@debian.org> - 2021-03-12 18:10 +0100
              Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-03-12 23:00 +0100
                Re: Asking for help Poetry Sandro Tosi <morph@debian.org> - 2021-03-15 08:30 +0100
                Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-03-15 15:30 +0100
                Re: Asking for help Poetry Sandro Tosi <morph@debian.org> - 2021-05-09 03:40 +0200
                Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-05-09 04:00 +0200
                Re: Asking for help Poetry Sandro Tosi <morph@debian.org> - 2021-05-11 06:30 +0200
                Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-05-11 14:00 +0200
                Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-05-27 03:40 +0200
                Request for review for Poetry(Was: Re: Asking for help Poetry) Emmanuel Arias <eamanu@yaerobi.com> - 2021-06-20 00:30 +0200
                Re: Request for review for Poetry(Was: Re: Asking for help Poetry) Louis-Philippe Véronneau <pollo@debian.org> - 2021-07-03 00:30 +0200
                Re: Request for review for Poetry(Was: Re: Asking for help Poetry) Louis-Philippe Véronneau <louis-philippe@veronneau.org> - 2021-07-03 00:30 +0200
                Re: Request for review for Poetry(Was: Re: Asking for help Poetry) Emmanuel Arias <eamanu@yaerobi.com> - 2021-08-26 17:00 +0200
                Re: Asking for help Poetry Bastian Venthur <venthur@debian.org> - 2021-03-15 10:00 +0100
                Re: Asking for help Poetry Emmanuel Arias <eamanu@yaerobi.com> - 2021-03-15 15:30 +0100

csiph-web