The recent update now means that it fails to even import. For example: > python3.11 -c "import fiona" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.11/site-packages/fiona/__init__.py", line 51, in <module> from fiona._vsiopener import _opener_registration File "fiona/_vsiopener.pyx", line 506, in init fiona._vsiopener TypeError: 'type' object is not subscriptable Does this work for anyone else?
(In reply to Thomas Guymer from comment #0) Hi Thomas, For me, it works as expected. I am running a recent 15.0-CURRENT amd64 with all ports up to date. #python3 Python 3.11.11 (main, Dec 12 2024, 18:02:14) [Clang 19.1.5 (https://github.com/llvm/llvm-project.git llvmorg-19.1.5-0-gab4b5a on freebsd15 Type "help", "copyright", "credits" or "license" for more information. >>> import fiona >>> HTH, Rainer
(In reply to Rainer Hurling from comment #1) This weekend I just updated my system and reinstalled all packages using Poudriere. I still get the same behaviour: > freebsd-version 14.2-RELEASE-p3 > python3.11 Python 3.11.11 (main, Apr 13 2025, 07:57:04) [Clang 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2 on freebsd14 Type "help", "copyright", "credits" or "license" for more information. >>> import fiona Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.11/site-packages/fiona/__init__.py", line 51, in <module> from fiona._vsiopener import _opener_registration File "fiona/_vsiopener.pyx", line 506, in init fiona._vsiopener TypeError: 'type' object is not subscriptable
Same for me. I thought fix it with my last patch. It worked (c)(tm) in my jail, but not on another machine with pkg... I'll take a look this week
(In reply to Loïc Bartoletti from comment #3) mmm I forgot there is a patch to test here https://bz-attachments.freebsd.org/attachment.cgi?id=259063
(In reply to Loïc Bartoletti from comment #4) Hi Loïc, Please have a look at bug #285654, comment #4 ;)
*** This bug has been marked as a duplicate of bug 285654 ***