mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-19 23:21:46 +03:00
7892148bdc
* Support for Python 3.10 * Update install.sh to block Python 3.11 * websockets to 10.1 * Update workflows for Python 3.10 * single quote 3.10 * Enable fedora:35 (py3.10) installer script testing * rebuild workflows * fixup test-install-scripts.yml * add ignore for distutils deprecation in tests for now * asyncio.get_event_loop().run_until_complete() -> asyncio.run() * aiohttp==3.8.1 for python 3.10 support * use ssl.Purpose.CLIENT_AUTH for ssl_context_for_server() * rebuild workflows * use ssl_context_for_client() in BlockTools.get_daemon_ssl_context() * create a client context for the RpcServer to connect to the daemon * go back to asyncio.get_event_loop().run_until_complete() for now to recover 3.7 * ignore:There is no current event loop:DeprecationWarning * Ms.plot load perf2 (#10978) * 2.7 seconds -> 0.45 seconds * Merge * Work on create_plots refactor * Try to fix tests * Try to fix tests * Use new functions * Fix block_tools by adding dir * Extra argument * Try to fix cyclic import * isort * Drop warning * Some cleanups around `exclude_final_dir` and directory adding * Cleanup `min_mainnet_k_size` checks * Drop unrelated changes * Fixes after rebase * Fix cyclic import * Update tests/block_tools.py Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com> * Update tests/block_tools.py Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com> Co-authored-by: xdustinface <xdustinfacex@gmail.com> Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com> * remove 3.10 avoidance step from debian:bookworm installer testing * add 3.10 to wheel availability check workflow * add 3.10 to Install.ps1 supported Python versions for Windows * add jammy jellyfish to the install script test matrix * correct ubuntu:jammy job name * add 22.04 with Python 3.10 to install.sh Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com> Co-authored-by: Yostra <straya@chia.net> Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com> Co-authored-by: xdustinface <xdustinfacex@gmail.com> Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
26 lines
1.1 KiB
INI
26 lines
1.1 KiB
INI
[pytest]
|
|
; logging options
|
|
log_cli = False
|
|
addopts = --verbose --tb=short -n auto
|
|
log_level = WARNING
|
|
console_output_style = count
|
|
log_format = %(asctime)s %(name)s: %(levelname)s %(message)s
|
|
asyncio_mode = strict
|
|
markers=benchmark
|
|
testpaths = tests
|
|
filterwarnings =
|
|
error
|
|
ignore:ssl_context is deprecated:DeprecationWarning
|
|
ignore:Implicitly cleaning up:ResourceWarning
|
|
ignore:unclosed <socket\.socket:ResourceWarning
|
|
ignore:Unclosed client session:ResourceWarning
|
|
ignore:unclosed file:ResourceWarning
|
|
ignore:unclosed transport:ResourceWarning
|
|
ignore:coroutine '.*' was never awaited:RuntimeWarning
|
|
ignore:`coin_solutions` is now `coin_spends`:UserWarning
|
|
ignore:Exception ignored in:pytest.PytestUnraisableExceptionWarning
|
|
ignore:cannot collect test class:pytest.PytestCollectionWarning
|
|
ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10.:DeprecationWarning
|
|
ignore:The distutils package is deprecated:DeprecationWarning
|
|
ignore:There is no current event loop:DeprecationWarning
|