New port: internetarchive can't find schema
contextnerror
contextnerror at outlook.com
Sun May 5 20:11:49 UTC 2024
Follow up: This was a bug in schema that is now fixed as of 0.7.7
> On Apr 29, 2024, at 1:49 AM, contextnerror <contextnerror at outlook.com> wrote:
>
> I am trying to make a port for https://github.com/jjjake/internetarchive
> It depends on schema, so I have made a port for that locally and added it as a dependency.
> However when I try to run after install it gives an error about schema:
>
> $ ia configure
> Traceback (most recent call last):
> File "/opt/local/bin/ia", line 5, in <module>
> from internetarchive.cli.ia import main
> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/internetarchive/cli/__init__.py", line 26, in <module>
> from internetarchive.cli import (
> File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/internetarchive/cli/ia.py", line 72, in <module>
> from schema import Or, Schema, SchemaError # type: ignore[import]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ModuleNotFoundError: No module named ‘schema'
>
> What might I need to change? I’m attaching my local ports below.
> (I also updated py-jsonpatch to use 3.12, but there’s a PR open for that right now.)
> <internetarchive><py-schema>
More information about the macports-dev
mailing list