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

PyAV failures with python 3.10 #379

Closed
obilodeau opened this issue Dec 27, 2021 · 2 comments
Closed

PyAV failures with python 3.10 #379

obilodeau opened this issue Dec 27, 2021 · 2 comments
Labels
bug Something isn't working workaround A workaround exists for this bug
Milestone

Comments

@obilodeau
Copy link
Member

Current PyAV packages fail with Python 3.10 (which landed in Arch linux a couple of weeks back) with something like:

ImportError: [...]/pyrdp/venv/lib/python3.10/site-packages/av/enum.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyGen_Send

Already reported upstream and tracked here: PyAV-Org/PyAV#820

Here's the workaround:

  • Get in the pyrdp venv
  • Run:
pip uninstall av
git clone git@github.com:mikeboers/PyAV.git
cd PyAV/
pip install -r tests/requirements.txt
make
python setup.py install
@obilodeau obilodeau added bug Something isn't working workaround A workaround exists for this bug labels Dec 27, 2021
@obilodeau
Copy link
Member Author

There was movement upstream: PyAV-Org/PyAV#820. I'll see if it passes our tests.

@obilodeau obilodeau added this to the v1.2.0 milestone Jan 11, 2022
@obilodeau
Copy link
Member Author

Upstream's 8.1.0 release resolves this problem. Closing.

I'm adding Python 3.10 to our CI to catch that earlier in the future. See #387.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workaround A workaround exists for this bug
Projects
None yet
Development

No branches or pull requests

1 participant