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

GitHub Actions: 3.10-dev --> 3.11-dev #194

Closed
wants to merge 2 commits into from

Conversation

cclauss
Copy link

@cclauss cclauss commented Oct 16, 2021

"3.10" # Without quotes YAML treats this as 3.1 as discussed in https://dev.to/hugovk/the-python-3-1-problem-85g

@GrahamDumpleton
Copy link
Owner

Python 3.11 breaks on tests so not practical to add it to testing at this point. Python 3.11 is possibly too unstable at this point.

Traceback (most recent call last):
8
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/py/_vendored_packages/apipkg/__init__.py", line 145, in __makeattr
9
    modpath, attrname = self.__map__[name]
10
                        ~~~~~~~~~~~~^^^^^^
11
KeyError: '__spec__'
12

13
During handling of the above exception, another exception occurred:
14

15
Traceback (most recent call last):
16
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/runpy.py", line 187, in _run_module_as_main
17
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
18
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/runpy.py", line 146, in _get_module_details
20
    return _get_module_details(pkg_main_name, error)
21
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/runpy.py", line 110, in _get_module_details
23
    __import__(pkg_name)
24
    ^^^^^^^^^^^^^^^^^^^^
25
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/tox/__init__.py", line 32, in <module>
26
    from .session import cmdline  # isort:skip
27
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/tox/session/__init__.py", line 20, in <module>
29
    from tox import reporter
30
    ^^^^^^^^^^^^^^^^^^^^^^^^
31
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/tox/reporter.py", line 127, in <module>
32
    _INSTANCE = Reporter()
33
                ^^^^^^^^^^
34
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/tox/reporter.py", line 32, in __init__
35
    self._reset(**kwargs)
36
    ^^^^^^^^^^^^^^^^^^^^^
37
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/tox/reporter.py", line 38, in _reset
38
    self.tw = py.io.TerminalWriter()
39
              ^^^^^^^^^^^^^^^^^^^^^^
40
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/py/_vendored_packages/apipkg/__init__.py", line 152, in __makeattr
41
    result = importobj(modpath, attrname)
42
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/py/_vendored_packages/apipkg/__init__.py", line 72, in importobj
44
    module = __import__(modpath, None, None, ['__doc__'])
45
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
  File "<frozen importlib._bootstrap>", line 1044, in _find_and_load
47
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
48
  File "/opt/hostedtoolcache/Python/3.11.0-alpha.1/x64/lib/python3.11/site-packages/py/_vendored_packages/apipkg/__init__.py", line 150, in __makeattr
49
    raise AttributeError(name)
50
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
51
AttributeError: __spec__

@cclauss cclauss closed this Oct 17, 2021
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

Successfully merging this pull request may close these issues.

2 participants