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.
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.
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
1. d/control:were uploaded and DPT was not the Maintainer, I'll change those.
You haven't set the Python Team either in Maintainer or Uploaders.
Ready my bad! Also I note that some dependencies that I package for Poetry
---------------------------------------------------------------------the test
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.
Ready
---------------------------------------------------------------------
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?
I will look at that these days. I can try to remove them and "turn off"
---------------------------------------------------------------------
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.
yes you're right, that makes more sense, thanks!
---------------------------------------------------------------------
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?
Oh yes, I'm just psuh to salsa. Sorry!
[5] Some of the error messages from latest package source:Yes, one test fails with 3.10 which isn't unexpected because the package
short test summary info ============================ ====================================================
FAILED tests/inspection/test_info.py::test_info_setup_complex_pep517_error
- ...
1 failed, 587 passed, 5 skipped, 23 deselected, 15 warnings in 22.23s --------------------------------------------------------------------- <message skipped>
588 passed, 5 skipped, 23 deselected, 14 warnings in 24.06s ========== ====================================================================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p
"3.10 3.9" returned exit code 13
make: *** [debian/rules:44: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
On Fri, Nov 19, 2021 at 03:54:48PM +0100, Taihsiang Ho (tai271828) wrote:
[5] Some of the error messages from latest package source:
short test summary info ============================ ====================================================tests/inspection/test_info.py::test_info_setup_complex_pep517_error
FAILED
- ...
1 failed, 587 passed, 5 skipped, 23 deselected, 15 warnings in 22.23s --------------------------------------------------------------------- <message skipped>
588 passed, 5 skipped, 23 deselected, 14 warnings in 24.06s ========== ====================================================================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13
make: *** [debian/rules:44: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2Yes, one test fails with 3.10 which isn't unexpected because the package wasn't tested with it.
--
WBR, wRAR
</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>short test summary info ============================</div><div>====================================================</div><div>FAILED tests/inspection/test_info.py::test_info_setup_complex_pep517_error - ... </div><div>1 failed, 587 passed, 5 skipped, 23 deselected, 15 warnings in 22.23s</div><div>---------------------------------------------------------------------</div><
<message skipped></div><div>588 passed, 5 skipped, 23 deselected, 14 warnings in 24.06s ==========</div><div>======================================================================</div><div>dh_auto_test: error: pybuild --test --test-pytest -ipython{version} -p "3.10 3.9" returned exit code 13 </div><div>make: *** [debian/rules:44: binary] Error 25 </div><div>
Hi Andrey,
Thank you for your information. I will have a look at the failure. If
anyone has been working on this error, it would be appreciated to let me
know how I can help.
Besides, I found this thread https://lists.debian.org/debian-python/2021/11/msg00025.html soon after I sent out my previous email. I believe I have followed up the latest process and status of poetry packaging for now. My apologies for not checking the email threads carefully enough.
-tai
On Fri, Nov 19, 2021 at 4:19 PM Andrey Rahmatullin <wrar@debian.org>
wrote:
On Fri, Nov 19, 2021 at 03:54:48PM +0100, Taihsiang Ho (tai271828) wrote:
[5] Some of the error messages from latest package source:tests/inspection/test_info.py::test_info_setup_complex_pep517_error
short test summary info ============================
====================================================
FAILED
- ...Yes, one test fails with 3.10 which isn't unexpected because the package
1 failed, 587 passed, 5 skipped, 23 deselected, 15 warnings in 22.23s
---------------------------------------------------------------------
<message skipped>
588 passed, 5 skipped, 23 deselected, 14 warnings in 24.06s ==========
======================================================================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p
"3.10 3.9" returned exit code 13
make: *** [debian/rules:44: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
wasn't tested with it.
--
WBR, wRAR
Hi Tai,
First of all thanks for the mail, and for the work in the poetry package. Very
detailed mail, amazing :)
As mentioned Andrey, yes there's a test that failed with py3.10. The
package is
already in NEW, so we need to wait. In spite of this we can work to fix
it.
I didn't investigate yet, So feel free to send a patch if you have one :).
For point [2] , call gbp with the b-depends are no longer needed, because
all of them
are already in Debian.
Cheers,
Emmanuel
On Fri, Nov 19, 2021 at 12:36 PM Taihsiang Ho (tai271828) <e@tai271828.me> wrote:
Hi Andrey,
Thank you for your information. I will have a look at the failure. If
anyone has been working on this error, it would be appreciated to let me
know how I can help.
Besides, I found this thread
https://lists.debian.org/debian-python/2021/11/msg00025.html soon after
I sent out my previous email. I believe I have followed up the latest
process and status of poetry packaging for now. My apologies for not
checking the email threads carefully enough.
-tai
On Fri, Nov 19, 2021 at 4:19 PM Andrey Rahmatullin <wrar@debian.org>
wrote:
On Fri, Nov 19, 2021 at 03:54:48PM +0100, Taihsiang Ho (tai271828) wrote: >>> > [5] Some of the error messages from latest package source:
tests/inspection/test_info.py::test_info_setup_complex_pep517_error
short test summary info ============================
====================================================
FAILED
- ...Yes, one test fails with 3.10 which isn't unexpected because the package >>> wasn't tested with it.
1 failed, 587 passed, 5 skipped, 23 deselected, 15 warnings in 22.23s
---------------------------------------------------------------------
<message skipped>
588 passed, 5 skipped, 23 deselected, 14 warnings in 24.06s ========== >>> > ====================================================================== >>> > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p >>> > "3.10 3.9" returned exit code 13
make: *** [debian/rules:44: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit >>> > status 2
--
WBR, wRAR
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (2 / 14) |
Uptime: | 116:58:24 |
Calls: | 7,612 |
Files: | 12,786 |
Messages: | 5,683,861 |