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


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

Re: How to properly use dh_python3 as lintian suggests to move files from usr/lib/python3.7 to usr/lib/python3

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: How to properly use dh_python3 as lintian suggests to move files from usr/lib/python3.7 to usr/lib/python3
Date Sat, 04 Aug 2018 10:20:01 +0200
Message-ID <wiZX3-6B8-11@gated-at.bofh.it> (permalink)
References <wiXLz-56O-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Aug 4 08:10:57 2018
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.75 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20180223
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16181
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180804081038.avc2g72eyjr7g6k4@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 16
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 4 Aug 2018 10:10:38 +0200
X-Original-Message-ID <20180804081038.avc2g72eyjr7g6k4@sar0.p1otr.com>
X-Original-References <20180804054957.l2v6xuiwqpwkvsi4@an3as.eu>
Xref csiph.com linux.debian.maint.python:10762

Show key headers only | View raw


[Andreas Tille, 2018-08-04]
> for the new version of python-pyvcf[1] I get
> 
> W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/ usr/lib/python3/dist-packages/vcf/
> W: python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/parser.py usr/lib/python3/dist-packages/vcf/parser.py

my guess is 3.7's parser.py differs from the 3.6's one, invoke
dh_python3 with --verbose option - it will print the diff if any

> I'm curious what to do to fix this.

investigate if files can be merged (date stamp? hardcoded Python version?)
or leave it as it is. If there's no other file or there are other files
but there's no __init__.py file - interpreter will find it
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

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


Thread

How to properly use dh_python3 as lintian suggests to move files  from usr/lib/python3.7 to usr/lib/python3 Andreas Tille <andreas@an3as.eu> - 2018-08-04 08:00 +0200
  Re: How to properly use dh_python3 as lintian suggests to move files  from usr/lib/python3.7 to usr/lib/python3 Piotr Ożarowski <piotr@debian.org> - 2018-08-04 10:20 +0200

csiph-web