python3 -m venv venv/
source venv/bin/activate
pip3 install battle_tested
(venv) sergeyb@pony:~/sources$ ipython3
/usr/lib/python3/dist-packages/IPython/core/interactiveshell.py:935: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
warn("Attempting to work in a virtualenv. If you encounter problems, please "
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from battle_tested import fuzz
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-6f32ad1629ee> in <module>
----> 1 from battle_tested import fuzz
~/sources/venv/lib/python3.8/site-packages/battle_tested/__init__.py in <module>
36 from gc import collect as gc
37 from generators.inline_tools import attempt
---> 38 from hypothesis import given, strategies as st, settings, Verbosity, unlimited
39 from hypothesis.errors import HypothesisException
40 from itertools import product, cycle, chain, islice
ImportError: cannot import name 'unlimited' from 'hypothesis' (/home/sergeyb/sources/venv/lib/python3.8/site-packages/hypothesis/__init__.py)
In [2]:
(venv) sergeyb@pony:~/sources$ pip freeze
attrs==20.1.0
battle-tested==2019.6.21
generators==2020.4.27
hypothesis==5.29.4
prettytable==0.7.2
sortedcontainers==2.2.2
strict-functions==2020.2.4
stricttuple==2017.10.2
Thanks for the heads up @ligurio A hot patch for this import error has been posted to keep the library operational while the overhaul is still being built. :smile: Happy fuzzing.