intermine / intermine/intermine-ws-python

intermine and Python 3.10

未关闭
#96 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
8
派生
35
PR 合并指标
30 天内没有已合并 PR

描述

Using the Python API with Python 3.10 leads to the following error
```
from intermine.webservice import Service
Traceback (most recent call last):
File "/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/site-packages/intermine/webservice.py", line 9, in
from urlparse import urlparse
ModuleNotFoundError: No module named 'urlparse'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/site-packages/intermine/webservice.py", line 16, in
from collections import MutableMapping as DictMixin
ImportError: cannot import name 'MutableMapping' from 'collections' (/Users/jmarie/opt/anaconda3/envs/intermine-test/lib/python3.10/collections/__init__.py)
```
No problem with Python version <3.10

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。