delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/18/15:56:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 824333858D39
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language:to
:references:from:in-reply-to:content-transfer-encoding;
bh=abFWnOJHdUIHq8Ao/IWPhfAr7ttClnaKAFV3lXS/wQ4=;
b=R5xiez2wHb9Ra279ToUYdnksV2dOcJr8axVF7OoE+xDLadFLDW2d+c01zIrcI9JqtG
zvW0WVzkOS35dat7MKSe1s5HlOqR1GDVvGBOT6UF3BrJBzdJOLe6Ot384HxS7hj2/qtX
NOMNwy/qUItWQ53JH26XJslx4vb8Ua05JxGgvjW6KPJjL4BQkstBqXFSR6JqiTLVYhsO
0f54dmMorNSbl2IQl12YUw6y500A4mEmtOd9yNxxoL2p3wWJjpYVRt0ne7oolgB968zY
2KQXKkFa/+Wi9dkSMKQkcFYIMVIL3p1eMweUB1lCaK8RPWLa3P3r1JbjXnJ0suUXbbDF
S8Uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=abFWnOJHdUIHq8Ao/IWPhfAr7ttClnaKAFV3lXS/wQ4=;
b=vPx2POHQ3KcarJZ2mcZShDunOimmsgln73vkij0PLqGL8gtGSAY1D/3uHJAEHTEeVN
h8DbGXDbuDUy3xKL8C2FXV9/5oTJJ0GLjPLTBT3lL7BbGBsARH0Im0jyHBQ5Pxx4VTwL
PR0pcxsvFXYNUKMrQZ1KH2oGA31H+zGz5MJOxd/92bypaDsSdZVzKGxV/T2iVbemEa9p
IPnjiYqwJY9sheD6swFYRr2vBHRdufgcM/4Nzg8MGso2+gpFsM5jZVFuYSFlIEl5inav
OhYIQRaIWXWtyL6hCQRA+KOCN6phhACkgl4B+JoMTmwbnZEe3IUjyaZs4098jbt2bN1A
MxBw==
X-Gm-Message-State: AOAM533Bf0u1JAfLP5iIIvvsuLdG/z4pH8hCVJbPyOLS0OLBMrveo9vr
CrT5HkIcCcqgyCf6w33w4g18NE0sUWs=
X-Google-Smtp-Source: ABdhPJydUr0eUL+z2gfBJa394+aGFkx4eOl3uBBVtqT0HANjSUhXzKcj1bC2NJx6zhBzMlJpqbvXbQ==
X-Received: by 2002:adf:904d:: with SMTP id h71mr25245224wrh.569.1642539356546;
Tue, 18 Jan 2022 12:55:56 -0800 (PST)
Message-ID: <0fe2e36a-2f32-0334-0ff6-d164f56e1b48@gmail.com>
Date: Tue, 18 Jan 2022 21:55:54 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Subject: Re: python-numpy (1.22.0-1) can't be imported
To: cygwin AT cygwin DOT com
References: <e268afb1-432a-86e4-7073-dbc82a259201 AT gmail DOT com>
<b13535c2-c2fd-ff98-9777-f42b62eced8f AT gmail DOT com>
<vriu8rvj13ah DOT fsf AT mail DOT aol DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
In-Reply-To: <vriu8rvj13ah.fsf@mail.aol.com>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 14.01.2022 03:04, airplanemath via Cygwin wrote:
> On Wed, Jan 12 2022, Marco Atzeri wrote:
> 
>> On 12.01.2022 12:47, ggl329 wrote:
>>> Hi Marco,
>>> I upgraded python39-numpy to 1.22.0-1, and failed to import numpy.
>>> It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have
>>> PyInit_mtrand.
>>> Could you check if numpy can be imported in your environment?
>>>
>>
>> working on it.
>> In theory I have not changed the build between the two versions
>> but there was a patch in 1.19.4-1 for similar issue.
>>
>> Regards
>> Marco
> 
> I have the same problems with the distribution NumPy package, but I can
> use a locally-compiled NumPy with no patches.  It doesn't look like your
> build has any patches either:
> https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython-numpy-src%2Fpython-numpy-1.22.0-1-src&grep=numpy
> so that's fun.
> 
> Out of curiousity, what options are you passing for cpu-baseline and
> cpu-dispatch?
> https://numpy.org/devdocs/reference/simd/build-options.html
> I don't see the newest cygport in the Cygwin package repository.

I have not found the root cause yet.
As the  1.21.4-1 imports correctly I removed the 1.22.0-1 until I solve 
the issue.

I do not see anything obvious in upstream source between 1.21.4 and 
1.22.0 that gives me any hint on root cause.

Also 1.22.1 shows the same problem.
I excluded the build chain as rebuilding 1.19.4 worked fine
for all 3.6 to 3.9

Regards
Marco








-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019