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


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

autopkgtest-pkg-python fails due to module name mismatch

From Bill Blough <bblough@debian.org>
Newsgroups linux.debian.maint.python
Subject autopkgtest-pkg-python fails due to module name mismatch
Date 2018-08-20 16:30 +0200
Message-ID <woTlU-7eo-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web