Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AUR package #106

Closed
deadmeu opened this issue May 27, 2022 · 3 comments
Closed

Update AUR package #106

deadmeu opened this issue May 27, 2022 · 3 comments

Comments

@deadmeu
Copy link

deadmeu commented May 27, 2022

I'm running Arch Linux trying to install the instawow package via the AUR which is currently broken due to a failing test:

tests/test_wa_updater.py:6: in <module>
    from instawow.wa_updater import BuilderConfig, WaCompanionBuilder, WeakAura, WeakAuras
build/lib/instawow/wa_updater.py:37: in <module>
    class Auras(
/usr/lib/python3.10/site-packages/pydantic/main.py:171: in __new__
    annotations = resolve_annotations(namespace.get('__annotations__', {}), namespace.get('__module__', None))
/usr/lib/python3.10/site-packages/pydantic/typing.py:305: in resolve_annotations
    value = _eval_type(value, base_globals, None)
/usr/lib/python3.10/typing.py:327: in _eval_type
    return t._evaluate(globalns, localns, recursive_guard)
/usr/lib/python3.10/typing.py:693: in _evaluate
    type_ = _type_check(
/usr/lib/python3.10/typing.py:167: in _type_check
    raise TypeError(f"{arg} is not valid as type argument")
E   TypeError: typing.ClassVar[yarl.URL] is not valid as type argument

I've found an issue raised in another project which seemingly had the same issue.
I'm running Python v3.10.4 and am happy to help debug and test out fixes 🙂

@deadmeu
Copy link
Author

deadmeu commented May 27, 2022

I've just realised this package has been orphaned on the AUR and this issue is likely due to an outdated PKGBUILD file. I would appreciate any help with fixing this up and updating the dependency list.

@layday
Copy link
Owner

layday commented May 27, 2022

Indeed, this is due to a bug in Pydantic (which we no longer use). If you'd like, you can open a PR against https://github.com/layday/instawow-dist-aur and I'll push the change to the AUR.

@layday layday changed the title TypeError exception thrown in test_wa_updater.py Update AUR package Jul 15, 2022
@layday
Copy link
Owner

layday commented Sep 8, 2022

I'll close this now. The AUR package has been orphaned and anybody can pick it up if they wish.

@layday layday closed this as completed Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants