Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: python3 module location (py3-junos-eznc broken)
To:
Chris Cappuccio <chris@nmedia.net>, Daniel Dickman <didickman@gmail.com>
Cc:
ports@openbsd.org
Date:
Mon, 22 Jan 2024 10:00:30 +0000

Download raw body.

Thread
On 2024/01/22 02:00, Daniel Dickman wrote:

> 
> > AttributeError: module 'collections' has no attribute 'MutableMapping'
> > 
> > I suspect the module may require python3.9 or earlier?
> 
> Release 2.7.0 claims support for python 3.10 so I suggest updating the port to the latest release.

That's probably the best way to go.


On 2024/01/21 19:13, Chris Cappuccio wrote:
> How the heck do you make a port python3 module install for 3.9 instead of 3.10?

MODPY_VERSION=3.9, but you won't be able to call it from py3.10 modules,
so at that point if it couldn't just be updated, you'd probably be
better off installing what you need in a virtualenv using pip.