Friday, September 17, 2021

Re: [update] net/synapse-1.42.0 devel/py-jsonschema-3.2.0

On 9/17/21 4:16 PM, Aaron Bieber wrote:
>
> Stuart Henderson <stu@spacehopper.org> writes:
>
>> On 2021/09/17 07:51, Aaron Bieber wrote:
>>>
>>> Stuart Henderson <stu@spacehopper.org> writes:
>>>
>>>> Have you tested the jsonschema update with the other 2 ports that use it
>>>> (anki, py-nbformat)?
>>>
>>> synapse doesn't seem to want to package and I am not sure why:
>>>
>>> ===> Building package for synapse-1.42.0
>>> Create /usr/ports/packages/amd64/all/synapse-1.42.0.tgz
>>> Creating package synapse-1.42.0
>>> checking dependencies|devel/py-jsonschema,python3
>>> Error: Dependency py3-jsonschema->=3.0.0 doesn't match FULLPKGNAME: py3-jsonschema-2.6.0p3
>>> checksumming...
>>> Error: @depend devel/py-jsonschema,python3:py3-jsonschema->=3.0.0:py3-jsonschema-2.6.0p3
>>> pattern py3-jsonschema->=3.0.0 doesn't match default py3-jsonschema-2.6.0p3
>>
>> At a guess, you probably have something in another directory in
>> PORTSDIR_PATH that is confusing things.
>
> Ty!
>
> After retesting.. anki errors with:
>
> Error during startup:
> Traceback (most recent call last):
> File "/usr/local/lib/python3.8/site-packages/aqt/main.py", line 46, in __init__
> self.setupAddons()
> File "/usr/local/lib/python3.8/site-packages/aqt/main.py", line 657, in setupAddons
> import aqt.addons
> File "/usr/local/lib/python3.8/site-packages/aqt/addons.py", line 11, in <module>
> import jsonschema
> File "/usr/local/lib/python3.8/site-packages/jsonschema/__init__.py", line 21, in <module>
> from jsonschema._types import TypeChecker
> File "/usr/local/lib/python3.8/site-packages/jsonschema/_types.py", line 3, in <module>
> from pyrsistent import pmap
> ModuleNotFoundError: No module named 'pyrsistent'
>

py-pyrsistent is also a new dependency for the new version of synapse.
But it's not in the RUN_DEPENDS of anki, that's probably an issue in
anki port that needs to be solved too.

> and nbformat dies with a bunch of errors:
>
> !!!!!!!!!!!!!!!!!!! Interrupted: 19 errors during collection !!!!!!!!!!!!!!!!!!!
> =========================== 19 error in 1.02 seconds ===========================
>
> :(
>

No comments:

Post a Comment