Download raw body.
fix devel/py-sure with Python 3.14
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.
fix devel/py-sure with Python 3.14