Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: PICCA Frederic-Emmanuel Newsgroups: linux.debian.maint.python Subject: ctype and dh_python3 extension rename Date: Mon, 17 Oct 2022 18:10:02 +0200 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Oct 17 16:03:12 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=1.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HTML_MESSAGE=2, RCVD_IN_MSPIKE_H2=-0.001, THREADTOPIC=2] autolearn=no autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .synchrotron-soleil. - helo: .smtpout01-ext2.partage.renater. - helo-domain: .renater.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_7f13e387-4d35-4c62-acaa-ef8ab872cd4a" X-Mailer: Zimbra 8.8.15_GA_4372 (zclient/8.8.15_GA_4372) Thread-Index: DcPnvg2zOP3cT1DZ5eiGATeCbpJvuQ== Thread-Topic: ctype and dh_python3 extension rename X-Virus-Status: Clean X-Renater-Ptge-Spamstate: clean X-Renater-Ptge-Spamscore: -100 X-Renater-Ptge-Spamcause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeekledgledvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecutffgpfetvffgtfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfevkffugggtofhtsegrtdgtreertdejnecuhfhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqnecuggftrfgrthhtvghrnhepieefgfeuudelgfevvdegteevudelveetleeghfegieejfeeiieejgfetheduudetnecukfhppedutddrvdehgedrvdegtddrudegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedutddrvdehgedrvdegtddrudeghedphhgvlhhopeiishhtohhrvgdqsgefqddtuddvrdhprghrthgrghgvrdhrvghnrghtvghrrdhfrhdpmhgrihhlfhhrohhmpefrkfevveetucfhrhgvuggvrhhitgdqgfhmmhgrnhhuvghluceofhhrvgguvghrihgtqdgvmhhmrghnuhgvlhdrphhitggtrgesshihnhgthhhrohhtrhhonhdqshholhgvihhlrdhfrheqpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepuggvsghirghnqdhphihthhhonheslhhishhtshdruggvsghirghnrdhorhhgpdhrtghpthhtohepfhgrrhhhihgvsehshihntghhrhho thhrohhnqdhsohhlvghilhdrfhhr X-Mailing-List: archive/latest/20387 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1762535471.10499996.1666021586461.JavaMail.zimbra@synchrotron-soleil.fr Approved: robomod@news.nic.it Lines: 54 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Emmanuel FARHI X-Original-Date: Mon, 17 Oct 2022 17:46:26 +0200 (CEST) X-Original-Message-ID: <1762535471.10499996.1666021586461.JavaMail.zimbra@synchrotron-soleil.fr> Xref: csiph.com linux.debian.maint.python:14536 --=_7f13e387-4d35-4c62-acaa-ef8ab872cd4a Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hello, I am packaging the latest tomopy package.this software use ctype to open some extensions during the import, but I have this error message. >>> import tomopy Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packages/tomopy/__init__.py", line 63, in from tomopy.misc.corr import * File "/usr/lib/python3/dist-packages/tomopy/misc/corr.py", line 60, in import tomopy.util.extern as extern File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 86, in from tomopy.util.extern.prep import * File "/usr/lib/python3/dist-packages/tomopy/util/extern/prep.py", line 65, in LIB_TOMOPY_PREP = c_shared_lib("libtomopy-prep") File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 69, in c_shared_lib raise ModuleNotFoundError( ModuleNotFoundError: The following shared library is missing: /usr/lib/python3/dist-packages/tomopy/util/extern/libtomopy-prep.soIndeed during the build process this module was renamed into libtomopy-prep.cpython-310-x86_64-linux-gnu.soSo my question is... how can I solve this issue. - do not rename the extension - change the logic in order to find the renamed extension. (I like it but where can I find the debian modules helper which allows to do this).Thanks for your helpFrederic --=_7f13e387-4d35-4c62-acaa-ef8ab872cd4a Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello, I am p= ackaging the latest tomopy package.

this software use ctype to open some extens= ions during the import, but I have this error message.


>>&= gt; import tomopy
Traceback (most recent call last):
File "<stdin&= gt;", line 1, in <module>
File "/usr/lib/python3/dist-packages/tom= opy/__init__.py", line 63, in <module>
from tomopy.misc.corr impor= t *
File "/usr/lib/python3/dist-packages/tomopy/misc/corr.py", line 60, = in <module>
import tomopy.util.extern as extern
File "/usr/lib/= python3/dist-packages/tomopy/util/extern/__init__.py", line 86, in <modu= le>
from tomopy.util.extern.prep import *
File "/usr/lib/python3/d= ist-packages/tomopy/util/extern/prep.py", line 65, in <module>
LIB= _TOMOPY_PREP =3D c_shared_lib("libtomopy-prep")
File "/usr/lib/python3/d= ist-packages/tomopy/util/extern/__init__.py", line 69, in c_shared_lib
r= aise ModuleNotFoundError(
ModuleNotFoundError: The following shared libr= ary is missing:
/usr/lib/python3/dist-packages/tomopy/util/ex= tern/libtomopy-prep.so

Indeed= during the build process this module was renamed into libtomopy-prep.cpyth= on-310-x86_64-linux-gnu.so

So my question is... how can I solve this issue.
  - do not rename the extension
  - change the logic in order to find the= renamed extension. (I like it but where can I find the debian modules help= er which allows to do this).

Thanks for your help

Frederic
=
--=_7f13e387-4d35-4c62-acaa-ef8ab872cd4a--