From c72e0c31302985ec4ffd44b2761e3b246344c313 Mon Sep 17 00:00:00 2001 From: philanthrope Date: Mon, 20 Nov 2023 13:45:30 -0500 Subject: [PATCH] update conda install yml and readme to latest bittensor reqs (#1584) * update conda install yml and readme to latest bittensor reqs * activte the env first --- scripts/environments/README.md | 6 ++ scripts/environments/apple_m1_environment.yml | 92 ++++++++++--------- 2 files changed, 56 insertions(+), 42 deletions(-) diff --git a/scripts/environments/README.md b/scripts/environments/README.md index 4506b00a05..23c14e1d5a 100644 --- a/scripts/environments/README.md +++ b/scripts/environments/README.md @@ -13,3 +13,9 @@ There are quite a few Python libraries that are not yet compatible with Apple M ```bash conda env list ``` + +4. Install bittensor (without dependencies): + ```bash + conda activate bittensor # activate the env + pip install --no-deps bittensor # install bittensor + ``` \ No newline at end of file diff --git a/scripts/environments/apple_m1_environment.yml b/scripts/environments/apple_m1_environment.yml index 0826ec38ff..9d226d1259 100644 --- a/scripts/environments/apple_m1_environment.yml +++ b/scripts/environments/apple_m1_environment.yml @@ -13,6 +13,7 @@ dependencies: - backcall=0.2.0=pyh9f0ad1d_0 - backports=1.0=pyhd8ed1ab_3 - backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0 + - black=23.7.0=py310hbe9552e_1 - beautifulsoup4=4.12.2=pyha770c72_0 - bleach=6.0.0=pyhd8ed1ab_0 - brotli=1.0.9=h1a8c8d9_8 @@ -77,12 +78,14 @@ dependencies: - ptyprocess=0.7.0=pyhd3deb0d_0 - pure_eval=0.2.2=pyhd8ed1ab_0 - pycparser=2.21=pyhd8ed1ab_0 - - pycryptodome=3.11.0=py310hb4a4851_1 + - pycryptodome=3.19.0=py310hd71b1c6_1 - pygments=2.15.1=pyhd8ed1ab_0 + - python-levenshtein=0.12.2=py310he2143c4_1 - pyobjc-core=9.1.1=py310h44ed3dd_0 - pyobjc-framework-cocoa=9.1.1=py310h44ed3dd_0 - pyrsistent=0.19.3=py310h8e9501a_0 - pysocks=1.7.1=pyha2e5f31_6 + - pytest-asyncio=0.21.0=pyhd8ed1ab_0 - python=3.10.10=h3ba56d0_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 @@ -105,6 +108,7 @@ dependencies: - traitlets=5.9.0=pyhd8ed1ab_0 - typing_extensions=4.6.1=pyha770c72_0 - tzdata=2023c=h71feb2d_0 + - uvicorn=0.22.0=py310hbe9552e_0 - wcwidth=0.2.6=pyhd8ed1ab_0 - xz=5.2.6=h57fd34a_0 - yaml=0.2.5=h3422bc3_2 @@ -113,11 +117,11 @@ dependencies: - zlib=1.2.13=h03a7124_4 - pip: - addict==2.4.0 - - aiohttp==3.8.4 + - aiohttp==3.8.5 - aiosignal==1.3.1 - altair==4.2.2 - - ansible==7.5.0 - - ansible-core==2.14.5 + - ansible==6.7.0 + - ansible-core==2.13.7 - ansible-vault==2.1.0 - appdirs==1.4.4 - argparse==1.4.0 @@ -126,30 +130,32 @@ dependencies: - backoff==2.1.0 - blinker==1.6.2 - cachetools==4.2.4 - - certifi==2020.11.8 - - cfgv==3.3.1 + - certifi==2023.7.22 + - cfgv==3.4.0 - chardet==3.0.4 - click==8.1.3 - commonmark==0.9.1 - - cryptography==39.0.0 - - cytoolz==0.12.1 - - dataclasses-json==0.5.7 + - cryptography==41.0.3 + - cytoolz==0.12.2 + - dataclasses-json==0.5.13 + - ddt==1.6.0 - dill==0.3.6 - - distlib==0.3.6 + - distlib==0.3.7 - docker-pycreds==0.4.0 - ecdsa==0.18.0 - - eth-hash==0.5.1 + - eth-hash==0.5.2 - eth-keys==0.4.0 - - eth-typing==3.3.0 - - eth-utils==2.1.0 - - exceptiongroup==1.1.1 - - filelock==3.12.0 + - eth-typing==3.4.0 + - eth-utils==2.2.0 + - exceptiongroup==1.1.2 + - fastapi==0.99.1 + - filelock==3.12.2 - fqdn==1.5.1 - - frozenlist==1.3.3 - - fsspec==2023.5.0 + - frozenlist==1.4.0 + - fsspec==2023.6.0 - fuzzywuzzy==0.18.0 - gitdb==4.0.10 - - gitpython==3.1.31 + - gitpython==3.1.32 - google-api-core==1.34.0 - google-api-python-client==2.7.0 - google-auth==1.35.0 @@ -157,24 +163,25 @@ dependencies: - googleapis-common-protos==1.59.0 - grpcio-tools==1.42.0 - httplib2==0.22.0 - - huggingface-hub==0.14.1 + - huggingface-hub==0.16.4 - hypothesis==6.47.4 - - identify==2.5.24 - - ipykernel==6.23.0 + - identify==2.5.26 + - ipykernel==6.26.0 - ipython-genutils==0.2.0 - ipywidgets==8.0.6 - isoduration==20.11.0 - - jinja2==3.0.0 + - jinja2==3.1.2 - joblib==1.2.0 - jsonpointer==2.3 - jupyter==1.0.0 - jupyter-console==6.6.3 - jupyterlab-widgets==3.0.7 - - loguru==0.6.0 + - loguru==0.7.0 - markupsafe==2.0.1 - marshmallow==3.19.0 - marshmallow-enum==1.5.1 - - more-itertools==9.1.0 + - more-itertools==10.0.0 + - msgpack-numpy-opentensor==0.5.0 - multidict==6.0.4 - multiprocess==0.70.14 - munch==2.5.0 @@ -188,11 +195,10 @@ dependencies: - notebook==6.5.4 - numexpr==2.8.4 - openapi-schema-pydantic==1.2.4 - - openvalidators==1.0.1 - password-strength==0.0.3.post2 - pathtools==0.1.2 - - pillow==9.5.0 - - platformdirs==3.5.0 + - pillow==10.1.0 + - platformdirs==3.10.0 - plotly==5.14.1 - pre-commit==3.3.2 - prometheus-client==0.14.1 @@ -202,20 +208,21 @@ dependencies: - py-ed25519-bindings==1.0.2 - py-ed25519-zebra-bindings==1.0.1 - py-sr25519-bindings==0.2.0 - - pyarrow==12.0.0 + - pyarrow==12.0.1 - pyasn1==0.5.0 - pyasn1-modules==0.3.0 - - pydantic==1.10.7 + - pydantic==1.10.12 - pydeck==0.8.1b0 - pyinstrument==4.4.0 - pympler==1.0.1 - pynacl==1.5.0 - - pyparsing==3.0.9 + - pyparsing==3.1.1 + - pytest==7.4.0 - qqdm==0.0.7 - qtconsole==5.4.3 - qtpy==2.3.1 - - regex==2023.5.5 - - requests==2.25.0 + - regex==2023.6.3 + - requests==2.31.0 - resolvelib==0.8.1 - responses==0.18.0 - retry==0.9.2 @@ -224,25 +231,26 @@ dependencies: - scalecodec==1.2.0 - scikit-learn==1.2.2 - scipy==1.10.1 - - sentencepiece==0.1.97 - - sentry-sdk==1.22.2 + - sentencepiece==0.1.99 + - sentry-sdk==1.28.1 - setproctitle==1.3.2 - shortuuid==1.0.11 - smmap==5.0.0 - sortedcontainers==2.4.0 - soupsieve==2.4.1 - - sqlalchemy==2.0.12 + - sqlalchemy==2.0.19 + - starlette==0.27.0 - streamlit==1.22.0 - substrate-interface==1.5.0 - tenacity==8.2.2 - termcolor==2.1.1 - threadpoolctl==3.1.0 - - tokenizers==0.12.1 + - tokenizers==0.13.3 - toml==0.10.2 - toolz==0.12.0 - - torch==1.13.1 - - torchvision==0.14.1 - - tornado==6.3.1 + - torch==2.0.1 + - torchvision==0.15.2 + - tornado==6.3.3 - tqdm==4.64.1 - typing-extensions==4.5.0 - typing-inspect==0.8.0 @@ -251,11 +259,11 @@ dependencies: - uritemplate==3.0.1 - urllib3==1.26.15 - validators==0.20.0 - - virtualenv==20.23.0 - - wandb==0.15.3 + - virtualenv==20.24.3 + - wandb==0.15.10 - webcolors==1.13 - webencodings==0.5.1 - - websocket-client==1.5.1 + - websocket-client==1.6.1 - wheel==0.37.1 - widgetsnbextension==4.0.7 - xxhash==3.2.0