Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: "Taihsiang Ho (tai271828)" Newsgroups: linux.debian.maint.python Subject: Re: Request for review for Poetry(Was: Re: Asking for help Poetry) Date: Fri, 19 Nov 2021 16:20:02 +0100 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Nov 19 15:12:10 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-0.698 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, HTML_MESSAGE=2, MD5_SHA1_SUM=-1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .tai271828. - helo: .relay3-d.mail.gandi. - helo-domain: .gandi.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AOAM532asSOE6SSVC0+RhroAQzpydsjw0WqbtOW2vtpSiWuLerYpXmxm PwbzkgvOiYXuFAqWDOufMj3v3G9EeSsvjk7QAMc= X-Google-SMTP-Source: ABdhPJxzhukUFCA3dEMQtmmCNSKZ4I7eUOcLZNHxWIgLIcQwImiQ9XtyUP5XSi6vuRad03rsfu1J3s0XaY1sPi7pqkA= X-Received: by 2002:ac8:7d50:: with SMTP id h16mr6619270qtb.324.1637333699455; Fri, 19 Nov 2021 06:54:59 -0800 (PST) MIME-Version: 1.0 X-Gmail-Original-Message-ID: Content-Type: multipart/alternative; boundary="00000000000088ee8705d12575e2" X-Mailing-List: archive/latest/19510 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAGpVV1gCKi3qxhCe3jcA=eJ1Y0mBbR_wDkJgKM-WrfynbCXS7g@mail.gmail.com Approved: robomod@news.nic.it Lines: 196 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 19 Nov 2021 15:54:48 +0100 X-Original-Message-ID: Xref: csiph.com linux.debian.maint.python:13708 --00000000000088ee8705d12575e2 Content-Type: text/plain; charset="UTF-8" Hi Emmanuel, I failed to build the poetry deb with the latest package source[1] for some pytest cases[4][5] since I was aware of this thread https://lists.debian.org/debian-python/2021/06/msg00017.html . Do you suggest where I should report or record the error messages I found? By following my build steps[2] I could: - successfully build the source with the commit "Initial review pass for python-poetry package"[3] - fail to build the source with the commit "ignore tests that use tar.gz file instead of skip them"[4] - fail to build the latest source[1][5] Would you mind elaborating a bit more regarding the packaging steps or the current packaging status? I walked through the mailing list and the latest update I found is this email https://lists.debian.org/debian-python/2021/08/msg00025.html thread. It must be me not following the latest status and missing some necessary information. I will try to fix these pytest errors during package building. It would be much appreciated that you could let me know if you are aware of anything that I should know for fixing these errors or regarding the packaging status. Thank you! [1] git clone git@salsa.debian.org:python-team/packages/poetry.git [2] (build environment: ubuntu 20.04 on amd64) 1. Use this script to prepare the build environment https://gitlab.com/tai271828/tool-box/-/blob/dev/scripts/prepare-deb-build-poetry.sh 2. gbp buildpackage --git-ignore-new --git-builder=sbuild --extra-package=/home/ubuntu/build-poetry-deb/DEPENDENCIES/python3-cleo_0.8.1-2_all.deb --extra-package=/home/ubuntu/build-poetry-deb/DEPENDENCIES/python3-httpretty_1.1.4-1_all.deb --extra-package=/home/ubuntu/build-poetry-deb/DEPENDENCIES/python3-pkginfo_1.4.2-3_all.deb [3] The source of the commit 92c24884d3d1a67fa5de490520d1baf83dc208bf . Besides, I performed a quick test of the deb I built by installing it on Sid and trying some basic commands like "poetry init" and "poetry shell". The basic function behaviors expectedly. [4] The source of the commit c20a910ab5ca679a362f762f5c317ca3af0e0989 and some of the error messages: short test summary info ======================= FAILED tests/test_factory.py::test_create_poetry - AssertionError: assert ['L... FAILED tests/inspection/test_info.py::test_info_setup_complex_pep517_error - ... FAILED tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_for_standard_packages ### 3 failed, 576 passed, 5 skipped, 21 deselected, 15 warnings in 25.73s short test summary info ============================ ==================================================== FAILED tests/test_factory.py::test_create_poetry - AssertionError: assert ['L... FAILED tests/masonry/builders/test_editable_builder.py::test_builder_installs_proper_files_for_standard_packages 2 failed, 577 passed, 5 skipped, 21 deselected, 14 warnings in 24.09s --------------------------------------------------------------------- dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.9" returned exit code 13 make: *** [debian/rules:41: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 [5] Some of the error messages from latest package source: 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 --------------------------------------------------------------------- 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 Kind regards, Tai --00000000000088ee8705d12575e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Emmanuel,

I failed to build the poetry deb with = the latest package source[1] for some pytest cases[4][5] since I was aware = of this thread https://lists.debian.org/debian-python/2021/06/msg00017.html . Do you suggest where I should report or record the error messages I fo= und?

By following my build steps[2] I could:
- successfully build the sourc= e with the commit "Initial review pass for python-poetry package"= [3]
- fail to build the source with the commit "ignore tests that = use tar.gz file instead of skip them"[4]
- fail to build the lates= t source[1][5]

Would you mind elaborating a bit more regard= ing the packaging steps or the current packaging status? I walked through t= he mailing list and the latest update I found is this email
https://lists.deb= ian.org/debian-python/2021/08/msg00025.html thread. It must be me not f= ollowing the latest status and missing some necessary information.

I= will try to fix these pytest errors during package building. It would be m= uch appreciated that you could let me know if you are aware of anything tha= t I should know for fixing these errors or regarding the packaging status. = Thank you!


[1] git clone git@salsa.debian.org:python-team/packag= es/poetry.git

[2] =C2=A0(build environment: ubuntu 20.04 on amd64)1. Use this script to prepare the build environment https://gitlab.com/tai271828/tool-box/-/blob/dev/scripts/prepare-deb-build= -poetry.sh
2. gbp buildpackage --git-ignore-new --git-builder=3Dsbui= ld --extra-package=3D/home/ubuntu/build-poetry-deb/DEPENDENCIES/python3-cle= o_0.8.1-2_all.deb --extra-package=3D/home/ubuntu/build-poetry-deb/DEPENDENC= IES/python3-httpretty_1.1.4-1_all.deb --extra-package=3D/home/ubuntu/build-= poetry-deb/DEPENDENCIES/python3-pkginfo_1.4.2-3_all.deb

[3] The sou= rce of the commit 92c24884d3d1a67fa5de490520d1baf83dc208bf . Besides, I per= formed a quick test of the deb I built by installing it on Sid and trying s= ome basic commands like "poetry init" and "poetry shell"= ;. The basic function behaviors expectedly.

[4] The source of the co= mmit c20a910ab5ca679a362f762f5c317ca3af0e0989 and some of the error message= s:
short test summary info
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAILED tests/test_factory.py= ::test_create_poetry - AssertionError: assert ['L... =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
FAILED tests/inspection/test_= info.py::test_info_setup_complex_pep517_error - ... =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
FAILED tests/masonry/builders/te= st_editable_builder.py::test_builder_installs_proper_files_for_standard_pac= kages =C2=A0 =C2=A0
### 3 failed, 576 passed, 5 skipped, 21 dese= lected, 15 warnings in 25.73s
<message skipped>
s= hort test summary info =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAILED tests/= test_factory.py::test_create_poetry - AssertionError: assert ['L... =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
FAILED tests/ma= sonry/builders/test_editable_builder.py::test_builder_installs_proper_files= _for_standard_packages =C2=A0 =C2=A0
2 failed, 577 passed, 5 ski= pped, 21 deselected, 14 warnings in 24.09s
----------------------= -----------------------------------------------
<message skipp= ed>
dh_auto_test: error: pybuild --test --test-pytest -i pytho= n{version} -p "3.10 3.9" returned exit code 13 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0
make: *** [debian/rules:41: binary] Err= or 25 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
dpkg-buildpackage: error: deb= ian/rules binary subprocess returned exit status 2
=
[5] Some of the error messages from latest package source:
short tes= t summary info =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAILED tests/inspectio= n/test_info.py::test_info_setup_complex_pep517_error - ... =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
1 failed, 587 passed, 5 s= kipped, 23 deselected, 15 warnings in 22.23s
--------------------= -------------------------------------------------
<message ski= pped>
588 passed, 5 skipped, 23 deselected, 14 warnings in 24.= 06s =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
dh_auto_test: error: pybuild --tes= t --test-pytest -i python{version} -p "3.10 3.9" returned exit co= de 13 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
make: *** [debia= n/rules:44: binary] Error 25 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
dpkg= -buildpackage: error: debian/rules binary subprocess returned exit status 2=

Kind regards,
Tai
--00000000000088ee8705d12575e2--