Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: fix devel/py-sure with Python 3.14
To:
Daniel Dickman <didickman@gmail.com>
Cc:
ports@openbsd.org
Date:
Wed, 19 Nov 2025 08:16:33 +0000

Download raw body.

Thread
On 2025/11/18 18:49, Daniel Dickman wrote:
> py-sure needs a fix in setup.py related to the migration from ast.Str to 
> ast.Constant that happened in Python 3.8.
> 
> The patch below (+ version bump for the port) should fix things.
> 
> Without this diff, version ends up being None and the PLIST ends up with 
> MODPY_DISTV = 0.0.0 instead of the proper version.
> 
> In Python 3.14 things changed enough that this now breaks code using when 
> using pre Python 3.8 ast patterns, so the current code is on its last legs 
> with Python 3.13.

ok. (upstream moved to uv, but no release yet).

> py-sure only has one reverse TDEP (www/py-httpretty) but running tests for 
> that port don't work for me under Python 3.14. And that port is also close 
> to 4 years old, so it might not have kept up with Python version changes 
> either.

that one doesn't seem particularly active upstream, and wasn't ever
used by other ports, I'd be ok with removing with $obsolete_message 1
in quirks.