Skip to content

Commit

Permalink
Fix latent bug in ExcGroupTB.format due to suppressed `ExceptionGro…
Browse files Browse the repository at this point in the history
…up` being treated as `.path` (#1044)
  • Loading branch information
dycw authored Jan 9, 2025
1 parent 2c98e30 commit 239ce62
Show file tree
Hide file tree
Showing 82 changed files with 391 additions and 386 deletions.
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dev = [
"greenlet >= 3.1.1, < 3.2", # for sqlalchemy async
"hatch >= 1.14.0, < 1.15",
"httpx >= 0.28.1, < 0.29", # for fastapi
"hypothesis >= 6.123.7, < 6.124",
"hypothesis >= 6.123.11, < 6.124",
"ib-async-dataclass >= 1.0.3rc5, < 1.1",
"img2pdf >= 0.5.1, < 0.6",
"loguru >= 0.7.3, < 0.8",
Expand All @@ -49,7 +49,7 @@ dev = [
"numbagg >= 0.8.2, < 0.9",
"numpy >= 2.0.2, < 2.1", # if 2.1, llvmite: RuntimeError: Cannot install on Python version 3.11.9; only versions >=3.6,<3.10 are supported.
"optuna >= 4.1.0, < 4.2",
"orjson >= 3.10.13, < 3.11",
"orjson >= 3.10.14, < 3.11",
"polars-lts-cpu >= 1.19.0, < 1.20",
"pqdm >= 0.2.0, < 0.3",
"psycopg2-binary >= 2.9.10, < 2.10", # for sqlalchemy
Expand All @@ -76,7 +76,7 @@ dev = [
"whenever >= 0.6.16, < 0.7",
# test
"coverage-conditional-plugin >= 0.9.0, < 0.10",
"pytest-asyncio >= 0.25.1, < 0.26",
"pytest-asyncio >= 0.25.2, < 0.26",
"pytest-cov >= 6.0.0, < 6.1",
"pytest-instafail >= 0.5.0, < 0.6",
"pytest-only >= 2.1.2, < 2.2",
Expand All @@ -89,9 +89,9 @@ dev = [
]
test = [
"coverage-conditional-plugin >= 0.9.0, < 0.10",
"hypothesis >= 6.123.7, < 6.124",
"hypothesis >= 6.123.11, < 6.124",
"pytest >= 8.3.4, < 8.4",
"pytest-asyncio >= 0.25.1, < 0.26",
"pytest-asyncio >= 0.25.2, < 0.26",
"pytest-cov >= 6.0.0, < 6.1",
"pytest-instafail >= 0.5.0, < 0.6",
"pytest-only >= 2.1.2, < 2.2",
Expand Down Expand Up @@ -157,15 +157,15 @@ zzz-test-hashlib = [
]
zzz-test-http = [
"atomicwrites >= 1.4.1, < 1.5",
"orjson >= 3.10.13, < 3.11",
"orjson >= 3.10.14, < 3.11",
"whenever >= 0.6.16, < 0.7",
]
zzz-test-humps = ["pyhumps >= 3.8.0, < 3.9"]
zzz-test-hypothesis = [
"aiosqlite >= 0.20.0, < 0.21",
"asyncpg >= 0.30.0, < 0.31", # for sqlalchemy async
"greenlet >= 3.1.1, < 3.2", # for sqlalchemy async
"hypothesis >= 6.123.7, < 6.124",
"hypothesis >= 6.123.11, < 6.124",
"numpy >= 2.0.2, < 2.1",
"redis >= 5.2.1, < 5.3",
"sqlalchemy >= 2.0.36, < 2.1",
Expand Down Expand Up @@ -239,7 +239,7 @@ zzz-test-pyinstrument = [
zzz-test-pyrsistent = ["pyrsistent >= 0.20.0, < 0.21"]
zzz-test-pytest = [
"atomicwrites >= 1.4.1, < 1.5",
"orjson >= 3.10.13, < 3.11",
"orjson >= 3.10.14, < 3.11",
"whenever >= 0.6.16, < 0.7",
]
zzz-test-python-dotenv = ["python-dotenv >= 1.0.1, < 1.1"]
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ humanfriendly==10.0
# via coloredlogs
hyperlink==21.0.0
# via hatch
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
ib-async-dataclass==1.0.3rc5
# via dycw-utilities (pyproject.toml)
Expand Down Expand Up @@ -202,7 +202,7 @@ multidict==6.1.0
# via
# aiohttp
# yarl
narwhals==1.21.0
narwhals==1.21.1
# via
# altair
# vegafusion
Expand Down Expand Up @@ -235,7 +235,7 @@ numpy==2.0.2
# streamlit
optuna==4.1.0
# via dycw-utilities (pyproject.toml)
orjson==3.10.13
orjson==3.10.14
# via dycw-utilities (pyproject.toml)
osqp==0.6.7.post3
# via cvxpy
Expand Down Expand Up @@ -284,7 +284,7 @@ propcache==0.2.1
# via
# aiohttp
# yarl
protobuf==5.29.2
protobuf==5.29.3
# via streamlit
psutil==6.1.1
# via memory-profiler
Expand Down Expand Up @@ -322,7 +322,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down Expand Up @@ -418,7 +418,7 @@ tqdm==4.67.1
# pqdm
treelib==1.7.0
# via dycw-utilities (pyproject.toml)
trove-classifiers==2025.1.6.15
trove-classifiers==2025.1.7.14
# via hatchling
typing-extensions==4.12.2
# via
Expand All @@ -443,7 +443,7 @@ urllib3==2.3.0
# via requests
userpath==1.9.2
# via hatch
uv==0.5.15
uv==0.5.16
# via hatch
uvicorn==0.34.0
# via dycw-utilities (pyproject.toml)
Expand Down
6 changes: 3 additions & 3 deletions requirements/altair.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deprecated==1.2.15
# via pikepdf
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
img2pdf==0.5.1
# via dycw-utilities (pyproject.toml)
Expand All @@ -35,7 +35,7 @@ lxml==5.3.0
# via pikepdf
markupsafe==3.0.2
# via jinja2
narwhals==1.21.0
narwhals==1.21.1
# via altair
packaging==24.2
# via
Expand Down Expand Up @@ -64,7 +64,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/astor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -33,7 +33,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/asyncio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -31,7 +31,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/atomicwrites.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -33,7 +33,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/atools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ execnet==2.1.1
# via pytest-xdist
frozendict==2.4.6
# via atools
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -35,7 +35,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/beartype.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -33,7 +33,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/cachetools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -33,7 +33,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/click.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -33,7 +33,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/contextlib.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -31,7 +31,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/cryptography.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cryptography==44.0.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -37,7 +37,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/cvxpy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cvxpy==1.6.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand Down Expand Up @@ -45,7 +45,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
6 changes: 3 additions & 3 deletions requirements/dataclasses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ eventkit==1.0.3
# via ib-async-dataclass
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
ib-async-dataclass==1.0.3rc5
# via dycw-utilities (pyproject.toml)
Expand All @@ -22,7 +22,7 @@ nest-asyncio==1.6.0
# via ib-async-dataclass
numpy==2.2.1
# via eventkit
orjson==3.10.13
orjson==3.10.14
# via dycw-utilities (pyproject.toml)
packaging==24.2
# via
Expand All @@ -43,7 +43,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/datetime.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -31,7 +31,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
4 changes: 2 additions & 2 deletions requirements/enum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage-conditional-plugin==0.9.0
# via dycw-utilities (pyproject.toml)
execnet==2.1.1
# via pytest-xdist
hypothesis==6.123.7
hypothesis==6.123.11
# via dycw-utilities (pyproject.toml)
iniconfig==2.0.0
# via pytest
Expand All @@ -31,7 +31,7 @@ pytest==8.3.4
# pytest-randomly
# pytest-rerunfailures
# pytest-xdist
pytest-asyncio==0.25.1
pytest-asyncio==0.25.2
# via dycw-utilities (pyproject.toml)
pytest-cov==6.0.0
# via dycw-utilities (pyproject.toml)
Expand Down
Loading

0 comments on commit 239ce62

Please sign in to comment.