Created attachment 271289 [details] patch to setup.py file to fix py314 compatibility =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for py314-html5rdf-1.2 * Getting build dependencies for wheel... setup.py:77: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(join(here, 'README.rst'), 'r', 'utf8') as readme_file: setup.py:78: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with codecs.open(join(here, 'CHANGES.rst'), 'r', 'utf8') as changes_file: Traceback (most recent call last): File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() ~~~~^^ File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel return self._get_build_requires( ~~~~~~~~~~~~~~~~~~~~~~~~^ config_settings, requirements=['wheel']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.14/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "setup.py", line 90, in <module> isinstance(a.value, ast.Str)): ^^^^^^^ AttributeError: module 'ast' has no attribute 'Str' ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel *** Error code 1 Stop. make: stopped making "build" in /usr/ports/www/py-html5rdf =>> Cleaning up wrkdir ===> Cleaning for py314-html5rdf-1.2 build of www/py-html5rdf@py314 | py314-html5rdf-1.2 ended at 2026-05-27T14:53:44-05:00 build time: 00:00:03 times end [shell] (user/sys/real): 0m0.007s 0m0.028s 0m3.000s times end [child] (user/sys/real): 0m2.196s 0m1.262s 0m3.000s !!! build failure encountered !!! I have attached a patch that fixes it for me.