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


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

Re: python2:any dependency

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Newsgroups linux.debian.maint.python
Subject Re: python2:any dependency
Date Sun, 02 Jul 2023 23:40:01 +0200
Message-ID <GNcXv-2vRW-3@gated-at.bofh.it> (permalink)
References <GN9ZD-2u2a-7@gated-at.bofh.it> <GNcb7-2vk7-1@gated-at.bofh.it>
X-Original-To Andrey Rakhmatullin <wrar@wrar.name>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Jul 2 21:33:12 2023
Old-Return-Path <frederic-emmanuel.picca@synchrotron-soleil.fr>
X-Amavis-Spam-Status No, score=0.012 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, MURPHY_DRUGS_REL8=0.02, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, THREADTOPIC=2, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Mailer Zimbra 8.8.15_GA_4372 (ZimbraWebClient - FF114 (Linux)/8.8.15_GA_4372)
Thread-Topic python2:any dependency
Thread-Index nYEbJMlkt8ggEuugBIHYvkpbiW3CaQ==
X-Virus-Status Clean
X-Renater-Ptge-Spamstate clean
X-Renater-Ptge-Spamcause gggruggvucftvghtrhhoucdtuddrgedviedruddtgdduheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefkjghfufggtgfgofhtsehtjegttdertdejnecuhfhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqnecuggftrfgrthhtvghrnhepuedvveeiuddtfefgjedtjefgtddutefhieeuteehtdegjeffkedtgeekheefjedunecuffhomhgrihhnpeguvggsihgrnhdrohhrghenucfkphepuddtrddvheegrddvgedtrddugeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddtrddvheegrddvgedtrddugeehpdhhvghlohepiihsthhorhgvqdgsfedqtdduvddrphgrrhhtrghgvgdrrhgvnhgrthgvrhdrfhhrpdhmrghilhhfrhhomheprffkveevtecuhfhrvgguvghrihgtqdfgmhhmrghnuhgvlhcuoehfrhgvuggvrhhitgdqvghmmhgrnhhuvghlrdhpihgttggrsehshihntghhrhhothhrohhnqdhsohhlvghilhdrfhhrqedpnhgspghrtghpthhtohepvddprhgtphhtthhopeifrhgrrhesfihrrghrrdhnrghmvgdprhgtphhtthhopeguvggsihgrnhdqphihthhhohhnsehlihhsthhsrdguvggsihgrnhdr ohhrgh
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20947
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1234123992.36406126.1688332657226.JavaMail.zimbra@synchrotron-soleil.fr
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Sun, 2 Jul 2023 23:17:37 +0200 (CEST)
X-Original-Message-ID <1234123992.36406126.1688332657226.JavaMail.zimbra@synchrotron-soleil.fr>
X-Original-References <1587527918.36379437.1688321415470.JavaMail.zimbra@synchrotron-soleil.fr> <ZKHilu+nrW/zBl/w@durkon.wrar.name>
Xref csiph.com linux.debian.maint.python:15034

Show key headers only | View raw


The sheband distributed by the upstream did not changed

#!python

but previously it was replaced by a python3 shebang.

here for the previous version

D: dh_python3 dh_python3:179: version: 5.20230109
D: dh_python3 dh_python3:180: argv: ['/usr/bin/dh_python3', '-i', '-O--buildsystem=pybuild']
D: dh_python3 dh_python3:181: options: Namespace(guess_deps=True, skip_private=False, verbose=True, arch=False, package=None, no_package=None, remaining_packages=False, compile_all=False, vrange=None, regexpr=None, accept_upstream_versions=False, depends=None, depends_section=None, recommends=None, recommends_section=None, suggests=None, suggests_section=None, requires=None, shebang=None, ignore_shebangs=False, clean_dbg_pkg=True, no_ext_rename=False, no_shebang_rewrite=False, private_dir=None, O=['--buildsystem=pybuild'])
D: dh_python3 dh_python3:182: supported Python versions: 3.10,3.11 (default=3.11)
D: dh_python3 debhelper:175: skipping package pymca-data (missing ${python3:Depends} in Depends/Recommends)
D: dh_python3 debhelper:175: skipping package pymca-doc (missing ${python3:Depends} in Depends/Recommends)
D: dh_python3 debhelper:183: source=pymca, binary packages=['pymca']
D: dh_python3 dh_python3:204: processing package pymca...
D: dh_python3 fs:400: package pymca details = {'requires.txt': set(), 'egg-info': set(), 'dist-info': set(), 'nsp.txt': set(), 'shebangs': {/usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3}, 'public_vers': set(), 'private_dirs': {}, 'compile': False, 'ext_vers': set(), 'ext_no_version': set()}
D: dh_python3 depends:117: generating dependencies for package pymca
D: dh_python3 depends:281: D={'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[]
   dh_installsystemduser -i -O--buildsystem=pybuild


Indeed the shebang was identical

https://sources.debian.org/src/pymca/5.8.0%2Bdfsg-2/PyMca5/scripts/edfviewer/

#!python

So the behaviour of dh_python3 changed.

Now If I want to solve this what is the best solution
  - a patch which replace all python with python3
  - dh_python3 --shebang=/usr/bin/python3

thanks for your advices.

Frederic

Fred

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


Thread

python2:any dependency PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-07-02 20:30 +0200
  Re: python2:any dependency Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-02 22:50 +0200
    Re: python2:any dependency PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2023-07-02 23:40 +0200

csiph-web