You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the tests are passing with Python 3.9, are they failing with Python 3.10.
============================= test session starts ==============================
platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /build/commoncode-30.0.0, configfile: pyproject.toml
plugins: xdist-2.5.0, forked-1.4.0
collected 415 items / 2 errors / 413 selected
==================================== ERRORS ====================================
___________________ ERROR collecting src/commoncode/fetch.py ___________________
src/commoncode/fetch.py:12: in<module>
import requests
<frozen importlib._bootstrap>:1027: in _find_and_load
???<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???<frozen importlib._bootstrap>:688: in _load_unlocked
???
/nix/store/chwjpc7aq97ihs7isn966dwcw5qzn6ah-python3.10-pytest-6.2.5/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/__init__.py:133: in<module>
from . import utils
<frozen importlib._bootstrap>:1027: in _find_and_load
???<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???<frozen importlib._bootstrap>:688: in _load_unlocked
???
/nix/store/chwjpc7aq97ihs7isn966dwcw5qzn6ah-python3.10-pytest-6.2.5/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/utils.py:41: in<module>
DEFAULT_CA_BUNDLE_PATH = certs.where()
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/certs.py:30: in where
returncertifi.where()
/nix/store/bnxl1yg8nzqvhlg3sh57dffddj9zz8s6-python3.10-certifi-2021.10.08/lib/python3.10/site-packages/certifi/core.py:37: in where
_CACERT_PATH = str(_CACERT_CTX.__enter__())
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/contextlib.py:135: in __enter__
return next(self.gen)
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/_common.py:89: in _tempfile
os.write(fd, reader())
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/abc.py:371: in read_bytes
with self.open('rb') as strm:
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/_adapters.py:54: in open
raise ValueError()
E ValueError
___________________ ERROR collecting src/commoncode/fetch.py ___________________
src/commoncode/fetch.py:12: in<module>
import requests
<frozen importlib._bootstrap>:1027: in _find_and_load
???<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???<frozen importlib._bootstrap>:688: in _load_unlocked
???
/nix/store/chwjpc7aq97ihs7isn966dwcw5qzn6ah-python3.10-pytest-6.2.5/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/__init__.py:133: in<module>
from . import utils
<frozen importlib._bootstrap>:1027: in _find_and_load
???<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???<frozen importlib._bootstrap>:688: in _load_unlocked
???
/nix/store/chwjpc7aq97ihs7isn966dwcw5qzn6ah-python3.10-pytest-6.2.5/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/utils.py:41: in<module>
DEFAULT_CA_BUNDLE_PATH = certs.where()
/nix/store/92b2sgh6v6dflkwnb3csg2ks0nbgr3ix-python3.10-requests-2.26.0/lib/python3.10/site-packages/requests/certs.py:30: in where
returncertifi.where()
/nix/store/bnxl1yg8nzqvhlg3sh57dffddj9zz8s6-python3.10-certifi-2021.10.08/lib/python3.10/site-packages/certifi/core.py:37: in where
_CACERT_PATH = str(_CACERT_CTX.__enter__())
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/contextlib.py:135: in __enter__
return next(self.gen)
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/_common.py:89: in _tempfile
os.write(fd, reader())
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/abc.py:371: in read_bytes
with self.open('rb') as strm:
/nix/store/b798fp24zf2fdafmyyc4sxfr48ly5yy9-python3-3.10.1/lib/python3.10/importlib/_adapters.py:54: in open
raise ValueError()
E ValueError
=========================== short test summary info ============================
ERROR src/commoncode/fetch.py - ValueError
ERROR src/commoncode/fetch.py - ValueError
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 3.43s ===============================
The text was updated successfully, but these errors were encountered:
While the tests are passing with Python 3.9, are they failing with Python 3.10.
The text was updated successfully, but these errors were encountered: