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


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

autopkgtest-pkg-python fails due to module name mismatch

Started byBill Blough <bblough@debian.org>
First post2018-08-20 16:30 +0200
Last post2018-08-20 16:50 +0200
Articles 2 — 2 participants

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


Contents

  autopkgtest-pkg-python fails due to module name mismatch Bill Blough <bblough@debian.org> - 2018-08-20 16:30 +0200
    Re: autopkgtest-pkg-python fails due to module name mismatch Ondrej Novy <novy@ondrej.org> - 2018-08-20 16:50 +0200

#10822 — autopkgtest-pkg-python fails due to module name mismatch

FromBill Blough <bblough@debian.org>
Date2018-08-20 16:30 +0200
Subjectautopkgtest-pkg-python fails due to module name mismatch
Message-ID<woTlU-7eo-9@gated-at.bofh.it>
Hi,

Then python module I just packaged (django-cas-server) is failing on
debci because when autopkgtest-pkg-python runs, it tries to import a
module named django_cas_server. However the module installed is actually
named cas_server. (The package/module naming difference is present upstream)

I don't feel like renaming the package or the module is the right thing to do.

I could work around it by installing a symlink, or by replacing
autopkgtest-pkg-python with my own customized version.

Would it make sense to patch autopkgtest-pkg-python to allow overriding the
autodetected module name (perhaps using a user-defined control field)?  I
would be willing to write a patch if enough people think it's worth
doing.

Thoughts?

Regards,
Bill

[toc] | [next] | [standalone]


#10824

FromOndrej Novy <novy@ondrej.org>
Date2018-08-20 16:50 +0200
Message-ID<woTFf-7kB-13@gated-at.bofh.it>
In reply to#10822

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

Hi,

I'm author of autopkgtest-pkg-python.

po 20. 8. 2018 v 16:27 odesílatel Bill Blough <bblough@debian.org> napsal:

> I don't feel like renaming the package or the module is the right thing to
> do.
>

agree, it's not.

I could work around it by installing a symlink, or by replacing
> autopkgtest-pkg-python with my own customized version.
>

symlink is not correct, replacing is what i typically do.

Would it make sense to patch autopkgtest-pkg-python to allow overriding the
> autodetected module name (perhaps using a user-defined control field)?  I
> would be willing to write a patch if enough people think it's worth
> doing.
>

I think this is nice feature, please go ahead :)

-- 
Best regards
 Ondřej Nový

Email: novy@ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B

[toc] | [prev] | [standalone]


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


csiph-web