[Pkg-matrix-maintainers] Bug#961852: python-matrix-nio: autopkgtest failure: No module named 'matrix_nio'
Henry-Nicolas Tourneur
debian at nilux.be
Mon Jun 8 17:22:52 BST 2020
Dear,
Please find attached an updated patch which is cleaner than the first
one.
Best regards,
Henry-Nicolas Tourneur
Matrix id: @hntourne:matrix.nilux.be
Le lun 8 juin 2020 à 12:34, Henry-Nicolas Tourneur <debian at nilux.be> a
écrit :
> Dear Matrix-team maintainers,
>
> As discussed over the matrix room #debian-matrix:matrix.org, please
> find in attachment a patch to solve this bug.
> Basically, this happened because autodep8 tries to derive the Python
> module name from the package name.
> In this case, the module name is nio while autodep8 tries to import
> matrix_nio from the package name, which fails.
>
> The patch attached does the following:
> - Remove the autodep8 autopkgtest
> - Add a custom autopkgtest (debian/test/control and
> debian/test/pytest):
> This autopkgtest is actually using the upstream test cases (pytest-3
> tests/), going further than a regular module import.
> - Adding a debian/salsa-ci.yml file so you can enable CI on your
> Salsa repo and use that file to validate autopkgtests works fine
> before uploading to main
> - Document the changes in debian/changelog
>
>
> Best regards,
>
> Henry-Nicolas Tourneur
> Matrix id: @hntourne:matrix.nilux.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-matrix-nio.diff
Type: text/x-patch
Size: 2276 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-matrix-maintainers/attachments/20200608/af167a7f/attachment.bin>
More information about the Pkg-matrix-maintainers
mailing list