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)

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 2021-07-03 00:30 +0200
Message-ID <CwzPz-1yy-1@gated-at.bofh.it> (permalink)
References (10 earlier) <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>
Organization linux.* mail to news gateway

Show all headers | 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