diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 0f27497e..81471483 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -123,6 +123,7 @@ jobs: git config user.email github-actions@github.com git fetch origin gh-pages --depth=1 - name: Set environment variable + # TODO use a better thing that `python setup.py` run: | echo "version=$(cat pyproject.toml | grep "version =" | cut -d' ' -f3 | cut -d'"' -f2 | cut -d. -f-2)" >> $GITHUB_ENV echo "revision=$(cat pyproject.toml | grep "version =" | cut -d' ' -f3 | cut -d'"' -f2 | cut -d. -f3)" >> $GITHUB_ENV diff --git a/benchmark/main.py b/benchmark/main.py index edc23265..fc61b4a0 100644 --- a/benchmark/main.py +++ b/benchmark/main.py @@ -24,6 +24,7 @@ for path in pathlib.Path(benchmarks.__file__).parent.iterdir() if not path.name.startswith("_") ] +packages = ["pydantic"] def time_it(func: Callable, arg: Any) -> float: diff --git a/benchmark/requirements.txt b/benchmark/requirements.txt index 82eab4ec..7fadf6c8 100644 --- a/benchmark/requirements.txt +++ b/benchmark/requirements.txt @@ -1,8 +1,8 @@ -cattrs==22.2.0 -marshmallow==3.19.0 -mashumaro==3.2 -matplotlib==3.6.2 -pandas==1.5.2 +cattrs==23.1.2 +marshmallow==3.20.1 +mashumaro==3.10 +matplotlib==3.8.0 +pandas==2.1.1 pydantic==2.4.2 -typedload==2.20 -pyserde==0.9.6 +typedload==2.26 +pyserde==0.12.3