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

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Bill Blough <bblough@debian.org>
Newsgroups linux.debian.maint.python
Subject autopkgtest-pkg-python fails due to module name mismatch
Date Mon, 20 Aug 2018 16:30:02 +0200
Message-ID <woTlU-7eo-9@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Aug 20 14:27:16 2018
Old-Return-Path <bblough@debian.org>
X-Amavis-Spam-Status No, score=-6.98 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
X-Greylist delayed 2018 seconds by postgrey-1.36 at bendel; Mon, 20 Aug 2018 14:10:47 UTC
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cryonox.net ; s=x; h=Subject:Content-Type:MIME-Version:Message-ID:To:From:Date:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gTTTFmerGOE1jhv1AZcBGEkwfKWkGC0k2qKb+E3PieQ=; b=Q5w043fF2jye0wxPx9pNd80kZp zKuxbywCUNI628Sqtk5+wy7TwPVnhV0i8PTu1HkY7F2dW+NB9uhfFzaHlBvaLryI/IoLWaM54KYBB kX6Kdimo3U0QB3H416OWWCVxnbYJyXyAJPQh63A0/OuXWjvBEx1qaMuK99wVMMDuCY5FOvokN6ivg /sfCt9oZyCU+0+i0XZa9LOQejEd94sNUNpru287/OVKBsCbs1lqLd55c528G1pwHtcsiy6BEU58wS qspr20snAua358NjJZDZ04k6wjtSXOVtqv731kA7AjK5Sld5ZduMA+1eMUsWj77pwsbCoAH7JQ5QP dcBpev9w==;
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Sa-Exim-Connect-IP 173.188.200.80
X-Sa-Exim-Mail-From bblough@debian.org
X-Sa-Exim-Version 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000)
X-Sa-Exim-Scanned Yes (on galois.cryonox.net)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16243
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180820133704.5ahi353tuid4wcy4@prometheus
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 20 Aug 2018 09:37:04 -0400
X-Original-Message-ID <20180820133704.5ahi353tuid4wcy4@prometheus>
Xref csiph.com linux.debian.maint.python:10822

Show key headers only | 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