You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by GitBox <gi...@apache.org> on 2022/01/31 12:14:11 UTC
[GitHub] [avro] martin-g commented on pull request #1432: AVRO-3721 Support Python 3.10; Fix Annotations
martin-g commented on pull request #1432:
URL: https://github.com/apache/avro/pull/1432#issuecomment-1025676891
Thanks, @kojiromike !
I've tried to fix it myself but I wasn't able to make `tox` working here. Python complains that some packages are not available, like `py.io` or `packaging.requirements`:
```
python3.10 -m tox -e lint
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/home/martin/.local/lib/python3.10/site-packages/tox/__init__.py", line 32, in <module>
from .session import cmdline # isort:skip
File "/home/martin/.local/lib/python3.10/site-packages/tox/session/__init__.py", line 22, in <module>
from tox.config import INTERRUPT_TIMEOUT, SUICIDE_TIMEOUT, TERMINATE_TIMEOUT, parseconfig
File "/home/martin/.local/lib/python3.10/site-packages/tox/config/__init__.py", line 24, in <module>
from packaging import requirements
ImportError: cannot import name 'requirements' from 'packaging' (unknown location)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org