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

Support for Python 3.10 #92

Merged
merged 11 commits into from
Aug 7, 2022
Merged

Support for Python 3.10 #92

merged 11 commits into from
Aug 7, 2022

Conversation

r9y9
Copy link
Owner

@r9y9 r9y9 commented Aug 2, 2022

and let's see if we have the issue #91

Changes

  • Re-write tests with pytest since nose is no longer maintained and it doesn't work on python 3.10
  • Remove six dependency

and let's see if we have the issue #91
@r9y9 r9y9 changed the title Enable CI on python 3.10 Support for Python 3.10 Aug 7, 2022
@r9y9
Copy link
Owner Author

r9y9 commented Aug 7, 2022

tests/test_adaptive.py::test_acep[4-20] PASSED                           [  0%]
tests/test_adaptive.py::test_acep[4-22] PASSED                           [  0%]
tests/test_adaptive.py::test_acep[4-25] PASSED                           [  0%]
Fatal Python error: Segmentation fault

Current thread 0x00007f5225a17740 (most recent call first):
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/capture.py", line 455 in snap
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/capture.py", line 596 in readouterr
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/capture.py", line 691 in read_global_capture
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/capture.py", line 757 in item_capture
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/contextlib.py", line 126 in __exit__
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/capture.py", line 786 in pytest_runtest_call
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_callers.py", line 55 in _multicall
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 259 in <lambda>
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 338 in from_call
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 258 in call_runtest_hook
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 219 in call_and_report
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 130 in runtestprotocol
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/main.py", line 322 in _main
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/main.py", line 3[15](https://github.com/r9y9/pysptk/runs/7710780411?check_suite_focus=true#step:7:16) in pytest_cmdline_main
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/config/__init__.py", line [16](https://github.com/r9y9/pysptk/runs/7710780411?check_suite_focus=true#step:7:17)4 in main
  File "/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/_pytest/config/__init__.py", line [18](https://github.com/r9y9/pysptk/runs/7710780411?check_suite_focus=true#step:7:19)7 in console_main
  File "/opt/hostedtoolcache/Python/3.9.13/x64/bin/pytest", line 8 in <module>
/home/runner/work/_temp/6f7f1e8d-5306-4cd5-abe1-b5a6eb363edd.sh: line 1:  [27](https://github.com/r9y9/pysptk/runs/7710780411?check_suite_focus=true#step:7:28)11 Segmentation fault      (core dumped) pytest --cov=pysptk --cov-report xml -v tests/

Sad

@r9y9 r9y9 self-assigned this Aug 7, 2022
[ci skip]
@r9y9 r9y9 merged commit b92a4ae into master Aug 7, 2022
@r9y9 r9y9 deleted the py310 branch August 7, 2022 08:25
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.

1 participant