From c92aeb2e8302ad503c1aa8a3cafdf7d299c0cdb4 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Fri, 3 May 2024 11:24:17 +0200 Subject: [PATCH] Update PMAT to 0.22.0 (#3) --- poetry.lock | 126 ++++++++++++++++++++++++------------------------- pyproject.toml | 2 +- 2 files changed, 62 insertions(+), 66 deletions(-) diff --git a/poetry.lock b/poetry.lock index c7aa97b..cd7344f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1866,13 +1866,13 @@ tqdm = ["tqdm"] [[package]] name = "functions-framework" -version = "3.6.0" +version = "3.5.0" description = "An open source FaaS (Function as a service) framework for writing portable Python functions -- brought to you by the Google Cloud Functions team." optional = false -python-versions = "<4,>=3.5" +python-versions = ">=3.5, <4" files = [ - {file = "functions_framework-3.6.0-py3-none-any.whl", hash = "sha256:94c9a4d610374a5c41f97369efbba3817d025e403cc683dbfdb0c19fd6eed76a"}, - {file = "functions_framework-3.6.0.tar.gz", hash = "sha256:c48c969826bd06424ea0e15fa8447c41ba3ad7134da7d411152391c1e67ff2bd"}, + {file = "functions-framework-3.5.0.tar.gz", hash = "sha256:b6d0d640016d14241c928b0f0c71e831387897709dc70bf19698a64c381f9e57"}, + {file = "functions_framework-3.5.0-py3-none-any.whl", hash = "sha256:ca4a027d1e8b0a201364614d06fef4abe5294ccb412b35bb982026a6b3e1be58"}, ] [package.dependencies] @@ -2464,13 +2464,13 @@ socks = ["socksio (==1.*)"] [[package]] name = "huggingface-hub" -version = "0.22.2" +version = "0.23.0" description = "Client library to download and publish models, datasets and other repos on the huggingface.co hub" optional = false python-versions = ">=3.8.0" files = [ - {file = "huggingface_hub-0.22.2-py3-none-any.whl", hash = "sha256:3429e25f38ccb834d310804a3b711e7e4953db5a9e420cc147a5e194ca90fd17"}, - {file = "huggingface_hub-0.22.2.tar.gz", hash = "sha256:32e9a9a6843c92f253ff9ca16b9985def4d80a93fb357af5353f770ef74a81be"}, + {file = "huggingface_hub-0.23.0-py3-none-any.whl", hash = "sha256:075c30d48ee7db2bba779190dc526d2c11d422aed6f9044c5e2fdc2c432fdb91"}, + {file = "huggingface_hub-0.23.0.tar.gz", hash = "sha256:7126dedd10a4c6fac796ced4d87a8cf004efc722a5125c2c09299017fa366fa9"}, ] [package.dependencies] @@ -2483,16 +2483,16 @@ tqdm = ">=4.42.1" typing-extensions = ">=3.7.4.3" [package.extras] -all = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "gradio", "jedi", "minijinja (>=1.0)", "mypy (==1.5.1)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "ruff (>=0.3.0)", "soundfile", "types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"] +all = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "fastapi", "gradio", "jedi", "minijinja (>=1.0)", "mypy (==1.5.1)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "ruff (>=0.3.0)", "soundfile", "types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"] cli = ["InquirerPy (==0.3.4)"] -dev = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "gradio", "jedi", "minijinja (>=1.0)", "mypy (==1.5.1)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "ruff (>=0.3.0)", "soundfile", "types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"] +dev = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "fastapi", "gradio", "jedi", "minijinja (>=1.0)", "mypy (==1.5.1)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "ruff (>=0.3.0)", "soundfile", "types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)", "urllib3 (<2.0)"] fastai = ["fastai (>=2.4)", "fastcore (>=1.3.27)", "toml"] hf-transfer = ["hf-transfer (>=0.1.4)"] inference = ["aiohttp", "minijinja (>=1.0)"] quality = ["mypy (==1.5.1)", "ruff (>=0.3.0)"] tensorflow = ["graphviz", "pydot", "tensorflow"] tensorflow-testing = ["keras (<3.0)", "tensorflow"] -testing = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "gradio", "jedi", "minijinja (>=1.0)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "soundfile", "urllib3 (<2.0)"] +testing = ["InquirerPy (==0.3.4)", "Jinja2", "Pillow", "aiohttp", "fastapi", "gradio", "jedi", "minijinja (>=1.0)", "numpy", "pytest", "pytest-asyncio", "pytest-cov", "pytest-env", "pytest-rerunfailures", "pytest-vcr", "pytest-xdist", "soundfile", "urllib3 (<2.0)"] torch = ["safetensors", "torch"] typing = ["types-PyYAML", "types-requests", "types-simplejson", "types-toml", "types-tqdm", "types-urllib3", "typing-extensions (>=4.8.0)"] @@ -2698,13 +2698,13 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "joblib" -version = "1.4.0" +version = "1.4.2" description = "Lightweight pipelining with Python functions" optional = false python-versions = ">=3.8" files = [ - {file = "joblib-1.4.0-py3-none-any.whl", hash = "sha256:42942470d4062537be4d54c83511186da1fc14ba354961a2114da91efa9a4ed7"}, - {file = "joblib-1.4.0.tar.gz", hash = "sha256:1eb0dc091919cd384490de890cb5dfd538410a6d4b3b54eef09fb8c50b409b1c"}, + {file = "joblib-1.4.2-py3-none-any.whl", hash = "sha256:06d478d5674cbc267e7496a410ee875abd68e4340feff4490bcb7afb88060ae6"}, + {file = "joblib-1.4.2.tar.gz", hash = "sha256:2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e"}, ] [[package]] @@ -2861,17 +2861,17 @@ test = ["pytest", "pytest-cov"] [[package]] name = "langfuse" -version = "2.27.3" +version = "2.28.2" description = "A client library for accessing langfuse" optional = false python-versions = "<4.0,>=3.8.1" files = [ - {file = "langfuse-2.27.3-py3-none-any.whl", hash = "sha256:e5522abac56cb64b08fdcfc8a81317cb322b361cbd693f3fd7a19200e1fe5efc"}, - {file = "langfuse-2.27.3.tar.gz", hash = "sha256:4d6b9434702c3d729a8b898f07e6065a8026ba568bdae603813b4f0678a17884"}, + {file = "langfuse-2.28.2-py3-none-any.whl", hash = "sha256:0faf14051a5cf1ca36a35ef73a0b4f0030157733b3e93dc092957fa95a8d8e90"}, + {file = "langfuse-2.28.2.tar.gz", hash = "sha256:217c1a43117b8952b9135bb927636f11d5a883ee09acc90b5d7e70d43bf8d30f"}, ] [package.dependencies] -backoff = ">=2.2.1,<3.0.0" +backoff = ">=1.10.0" httpx = ">=0.15.4,<1.0" idna = ">=3.7,<4.0" packaging = ">=23.2,<24.0" @@ -3409,13 +3409,13 @@ files = [ [[package]] name = "marshmallow" -version = "3.21.1" +version = "3.21.2" description = "A lightweight library for converting complex datatypes to and from native Python datatypes." optional = false python-versions = ">=3.8" files = [ - {file = "marshmallow-3.21.1-py3-none-any.whl", hash = "sha256:f085493f79efb0644f270a9bf2892843142d80d7174bbbd2f3713f2a589dc633"}, - {file = "marshmallow-3.21.1.tar.gz", hash = "sha256:4e65e9e0d80fc9e609574b9983cf32579f305c718afb30d7233ab818571768c3"}, + {file = "marshmallow-3.21.2-py3-none-any.whl", hash = "sha256:70b54a6282f4704d12c0a41599682c5c5450e843b9ec406308653b47c59648a1"}, + {file = "marshmallow-3.21.2.tar.gz", hash = "sha256:82408deadd8b33d56338d2182d455db632c6313aa2af61916672146bb32edc56"}, ] [package.dependencies] @@ -3423,7 +3423,7 @@ packaging = ">=17.0" [package.extras] dev = ["marshmallow[tests]", "pre-commit (>=3.5,<4.0)", "tox"] -docs = ["alabaster (==0.7.16)", "autodocsumm (==0.2.12)", "sphinx (==7.2.6)", "sphinx-issues (==4.0.0)", "sphinx-version-warning (==1.1.2)"] +docs = ["alabaster (==0.7.16)", "autodocsumm (==0.2.12)", "sphinx (==7.3.7)", "sphinx-issues (==4.1.0)", "sphinx-version-warning (==1.1.2)"] tests = ["pytest", "pytz", "simplejson"] [[package]] @@ -4398,54 +4398,50 @@ test = ["coverage", "flake8", "freezegun (==0.3.15)", "mock (>=2.0.0)", "pylint" [[package]] name = "prediction-market-agent-tooling" -version = "0.21.1" +version = "0.22.0" description = "Tools to benchmark, deploy and monitor prediction market agents." optional = false -python-versions = ">=3.10,<3.12" -files = [] -develop = false +python-versions = "<3.12,>=3.10" +files = [ + {file = "prediction_market_agent_tooling-0.22.0-py3-none-any.whl", hash = "sha256:cfb70da8daf76b7d8dc18ab993d54a41c3d4238f2eb00b28f483f03f153a1ec4"}, + {file = "prediction_market_agent_tooling-0.22.0.tar.gz", hash = "sha256:53378726cc2e733eb838a238fb13de05d3e0666fd9fe5d4e7e7f49b2ccbdb961"}, +] [package.dependencies] -autoflake = "^2.2.1" -cron-validator = "^1.0.8" -eth-account = "^0.8.0" -eth-typing = "^3.0.0" -functions-framework = "^3.5.0" -google-api-python-client = {version = "2.95.0", optional = true} -google-cloud-functions = "^1.16.0" -google-cloud-resource-manager = "^1.12.0" -google-cloud-secret-manager = "^2.18.2" -isort = "^5.13.2" +autoflake = ">=2.2.1,<3.0.0" +cron-validator = ">=1.0.8,<2.0.0" +eth-account = ">=0.8.0,<0.9.0" +eth-typing = ">=3.0.0,<4.0.0" +functions-framework = ">=3.5.0,<4.0.0" +google-api-python-client = {version = "2.95.0", optional = true, markers = "extra == \"google\""} +google-cloud-functions = ">=1.16.0,<2.0.0" +google-cloud-resource-manager = ">=1.12.0,<2.0.0" +google-cloud-secret-manager = ">=2.18.2,<3.0.0" +isort = ">=5.13.2,<6.0.0" langchain-community = ">=0.0.19" -langfuse = "^2.27.1" -loguru = "^0.7.2" -numpy = "^1.26.4" -prompt-toolkit = "^3.0.43" -pydantic = "^2.6.1" -pydantic-settings = "^2.1.0" -safe-cli = "^1.0.0" -safe-eth-py = "^6.0.0b14" -scikit-learn = "^1.3.1" -streamlit = "^1.31.0" -subgrounds = "^1.8.1" -tabulate = "^0.9.0" -tqdm = "^4.66.2" -typer = "^0.9.0" -types-pytz = "^2024.1.0.20240203" -types-requests = "^2.31.0.0" -web3 = "^6.15.1" +langfuse = ">=2.27.1,<3.0.0" +loguru = ">=0.7.2,<0.8.0" +numpy = ">=1.26.4,<2.0.0" +prompt-toolkit = ">=3.0.43,<4.0.0" +pydantic = ">=2.6.1,<3.0.0" +pydantic-settings = ">=2.1.0,<3.0.0" +safe-cli = ">=1.0.0,<2.0.0" +safe-eth-py = ">=6.0.0b14,<7.0.0" +scikit-learn = ">=1.3.1,<2.0.0" +streamlit = ">=1.31.0,<2.0.0" +subgrounds = ">=1.8.1,<2.0.0" +tabulate = ">=0.9.0,<0.10.0" +tqdm = ">=4.66.2,<5.0.0" +typer = ">=0.9.0,<0.10.0" +types-pytz = ">=2024.1.0.20240203,<2025.0.0.0" +types-requests = ">=2.31.0.0,<3.0.0.0" +web3 = ">=6.15.1,<7.0.0" [package.extras] google = ["google-api-python-client (==2.95.0)"] langchain = ["langchain (>=0.1.9,<0.2.0)", "langchain-openai (>=0.0.5,<0.0.6)"] mech-client = ["mech-client (>=0.2.13,<0.3.0)"] -[package.source] -type = "git" -url = "https://github.com/gnosis/prediction-market-agent-tooling.git" -reference = "evan/mech-compat-deps" -resolved_reference = "9fe2917f2801a9b3780ceb57b958ca692d123f88" - [[package]] name = "preshed" version = "3.0.9" @@ -6031,13 +6027,13 @@ full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart (>=0.0.7 [[package]] name = "streamlit" -version = "1.33.0" +version = "1.34.0" description = "A faster way to build and share data apps" optional = false python-versions = "!=3.9.7,>=3.8" files = [ - {file = "streamlit-1.33.0-py2.py3-none-any.whl", hash = "sha256:bfacb5d1edefcf803c2040b051a21b4c81317a9865448e6767d0a0c6aae7edae"}, - {file = "streamlit-1.33.0.tar.gz", hash = "sha256:a8da8ff46f5b948c56d2dc7aca7a61cf8d995f4f21744cf82258ae75e63004ba"}, + {file = "streamlit-1.34.0-py2.py3-none-any.whl", hash = "sha256:411183cf7f525e468eb256b343c914782d11cd894b5e30a4ab3bb1d54e3ae339"}, + {file = "streamlit-1.34.0.tar.gz", hash = "sha256:135a3b79a686b3132b73f204450ad6e889de04f3349d692925e09f0e21e74b52"}, ] [package.dependencies] @@ -6465,13 +6461,13 @@ files = [ [[package]] name = "tqdm" -version = "4.66.2" +version = "4.66.4" description = "Fast, Extensible Progress Meter" optional = false python-versions = ">=3.7" files = [ - {file = "tqdm-4.66.2-py3-none-any.whl", hash = "sha256:1ee4f8a893eb9bef51c6e35730cebf234d5d0b6bd112b0271e10ed7c24a02bd9"}, - {file = "tqdm-4.66.2.tar.gz", hash = "sha256:6cd52cdf0fef0e0f543299cfc96fec90d7b8a7e88745f411ec33eb44d5ed3531"}, + {file = "tqdm-4.66.4-py3-none-any.whl", hash = "sha256:b75ca56b413b030bc3f00af51fd2c1a1a5eac6a0c1cca83cbb37a5c52abce644"}, + {file = "tqdm-4.66.4.tar.gz", hash = "sha256:e4d936c9de8727928f3be6079590e97d9abfe8d39a590be678eb5919ffc186bb"}, ] [package.dependencies] @@ -7252,4 +7248,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "~3.10.0" -content-hash = "4bd449b811842574af243d7092c2936fb03adf9281953c65bfe17b5519cfc1c0" +content-hash = "ba4dfbc0670c2440fbb6d4caa4f6018259518fb697e266c5df4153c4c47b3859" diff --git a/pyproject.toml b/pyproject.toml index 6ec4489..8748253 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ mypy = "^1.8.0" black = "^23.12.1" autoflake = "^2.2.1" isort = "^5.13.2" -prediction-market-agent-tooling = { git = "https://github.com/gnosis/prediction-market-agent-tooling.git", branch = "evan/mech-compat-deps", extras = ["google"] } +prediction-market-agent-tooling = { version = "^0.22.0", extras = ["google"] } mech = { git = "https://github.com/evangriffiths/mech.git", branch = "evan/0179545-dev-tomte-dep" } [build-system]