AndreMiras / EtherollApp

Provably fair dice game running on the Ethereum blockchain
MIT License
57 stars 22 forks source link

DeprecationWarning: combine_argument_formatters #149

Open AndreMiras opened 5 years ago

AndreMiras commented 5 years ago

Running the tests trigger the following warning:

=============================================================== warnings summary ================================================================
venv/lib/python3.6/site-packages/eth_utils/applicators.py:45
  /home/andre/workspace/EtherollApp/venv/lib/python3.6/site-packages/eth_utils/applicators.py:45: DeprecationWarning: combine_argument_formatters(formatter1, formatter2)([item1, item2])has been deprecated and will be removed in a subsequent major version release of the eth-utils library. Update your calls to use apply_formatters_to_sequence([formatter1, formatter2], [item1, item2]) instead.
    "combine_argument_formatters(formatter1, formatter2)([item1, item2])"

-- Docs: https://docs.pytest.org/en/latest/warnings.html
===================================================== 1 passed, 1 warnings in 0.49 seconds ======================================================
AndreMiras commented 5 years ago

Fix was merged in web3.py recently https://github.com/ethereum/web3.py/pull/1360 but it's not in the latest stable release https://github.com/ethereum/web3.py/blob/v4.9.2/web3/middleware/pythonic.py