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


Groups > linux.debian.maint.python > #15108 > unrolled thread

Re: Review of package dunamai

Started byJakub Ružička <jakub.ruzicka@nic.cz>
First post2023-08-09 17:30 +0200
Last post2023-08-09 17:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Review of package dunamai Jakub Ružička <jakub.ruzicka@nic.cz> - 2023-08-09 17:30 +0200

#15108 — Re: Review of package dunamai

FromJakub Ružička <jakub.ruzicka@nic.cz>
Date2023-08-09 17:30 +0200
SubjectRe: Review of package dunamai
Message-ID<H0Tih-CIj-3@gated-at.bofh.it>

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

Thank you for for the comprehensive yet friendly review!

I've fixed all the things you pointed out in a new python-dunamai 
packaging repo:

https://salsa.debian.org/python-team/packages/python-dunamai

Salsa CI is green, lintian stays silent, unit tests pass, autopkgtests 
pass \o/

I've uploaded the initial package, let's see if it passes NEW.


On 8/8/23 05:16, Louis-Philippe Véronneau wrote:

> 10. Your package doesn't actually run tests during build: "Ran 0 tests 
> in 0.000s". You're missing "python3-pytest" as a build-dependency.
>
> With this dependency, all tests (and not only the unit tests) will be 
> ran and they'll fail. I don't think you want to run the integration 
> tests, or at least, this should probably be done in an autopkgtest 
> instead.
>
> You can fix this by adding a "d/pybuild.testsuites" file containing 
> "tests/unit" to specify what testfiles to add/keep.

This file had no effect for me, all tests were run regardless. I found 
no mention of it in man or in other packages.

> (man pybuild for more info)
I've used

     export PYBUILD_TEST_ARGS=tests/unit

in d/rules to achieve the desired effect of only running unit tests.

> Cheers, and thanks for contributing to Debian!
My pleasure and thank you for helping me contribute to Debian in higher 
quality! :)

> When you're ready for a review of poetry-dynamic-versioning, don't 
> hesitate to ping me.
Will do.

I've opened ITP bug in the meantime (before dunamai hits sid):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043360

There is already a question you might be able to answer.


Cheers,
Jakub Ružička

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web