Skip to content

Commit

Permalink
Revert pytest-asyncio dep to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun-Kim committed Jul 27, 2024
1 parent fc9277a commit 43af5a1
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/5a39ac7.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/11063bf.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -65,7 +65,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/3e5f5f5.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/16c3b9f.in
#
ai21==1.3.4
aiohttp==3.9.5
Expand Down Expand Up @@ -51,7 +51,7 @@ pluggy==1.5.0
psutil==6.0.0
pydantic==1.10.17
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/12a61a5.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1761cfc.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -67,7 +67,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1255f51.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/18bc2ac.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -70,7 +70,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/b6cede4.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/19f2225.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -66,7 +66,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/5c99f2c.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1ec1dbf.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -71,7 +71,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/9a8a8ab.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/457db9b.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -66,7 +66,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/14dfb71.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/55a4977.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -66,7 +66,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1054292.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/585e779.in
#
ai21==1.3.4
aiohttp==3.9.5
Expand Down Expand Up @@ -50,7 +50,7 @@ pluggy==1.5.0
psutil==6.0.0
pydantic==1.10.17
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/a664972.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/a311bc2.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -72,7 +72,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1a1bd67.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/aa1fe5c.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -68,7 +68,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1a80f74.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/cbbb0eb.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -70,7 +70,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1f75436.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/cf9bdda.in
#
ai21==2.9.2
ai21-tokenizer==0.11.2
Expand Down Expand Up @@ -67,7 +67,7 @@ psutil==6.0.0
pydantic==2.8.2
pydantic-core==2.20.1
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --no-annotate .riot/requirements/1495066.in
# pip-compile --allow-unsafe --no-annotate .riot/requirements/d39d3de.in
#
ai21==1.3.4
aiohttp==3.9.5
Expand Down Expand Up @@ -51,7 +51,7 @@ pluggy==1.5.0
psutil==6.0.0
pydantic==1.10.17
pytest==8.3.2
pytest-asyncio==0.21.1
pytest-asyncio==0.23.7
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest-randomly==3.10.1
Expand Down
3 changes: 1 addition & 2 deletions riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2562,9 +2562,8 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
Venv(
name="langchain",
command="pytest -v {cmdargs} tests/contrib/langchain",
# FIXME[python-3.12]: blocked on aiohttp release https://github.com/aio-libs/aiohttp/issues/7229
pkgs={
"pytest-asyncio": "==0.21.1",
"pytest-asyncio": "==0.23.7",
"tiktoken": latest,
"huggingface-hub": latest,
"ai21": latest,
Expand Down
2 changes: 1 addition & 1 deletion tests/contrib/langchain/test_langchain_llmobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


LANGCHAIN_VERSION = parse_version(langchain_.__version__)
PY39 = sys.version_info <= (3, 9)
PY39 = sys.version_info < (3, 10)

if LANGCHAIN_VERSION < (0, 1, 0):
from langchain.schema import AIMessage
Expand Down

0 comments on commit 43af5a1

Please sign in to comment.