From ab265a255ab036cb9a1a9b7fde2645021d3d40c9 Mon Sep 17 00:00:00 2001 From: jnicoulaud-ledger <102984500+jnicoulaud-ledger@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:02:53 +0200 Subject: [PATCH] ci: update versions, checkout recursive (#78) * ci: fix checkout options * update libs * update python * update libs --- .github/actions/pdm/action.yml | 2 +- .github/workflows/ci.yml | 3 +- .github/workflows/release.yml | 3 ++ .github/workflows/update_dependencies.yml | 3 ++ pdm.lock | 56 ++++++++++++----------- pyproject.toml | 2 +- 6 files changed, 40 insertions(+), 29 deletions(-) diff --git a/.github/actions/pdm/action.yml b/.github/actions/pdm/action.yml index 06fd817..c6d1eb3 100644 --- a/.github/actions/pdm/action.yml +++ b/.github/actions/pdm/action.yml @@ -5,7 +5,7 @@ inputs: python-version: description: 'Python version' required: true - default: '3.12.3' + default: '3.12' runs: using: "composite" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10dd274..186b831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,8 @@ jobs: timeout-minutes: 10 uses: actions/checkout@v4 with: - submodules: "true" + fetch-depth: 0 + submodules: "recursive" - name: Pull request | Add labels timeout-minutes: 30 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 766d84c..3e7d1f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,9 @@ jobs: - name: Checkout timeout-minutes: 10 uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: "recursive" - name: Setup python / PDM timeout-minutes: 10 diff --git a/.github/workflows/update_dependencies.yml b/.github/workflows/update_dependencies.yml index 42a5ded..c06bc6e 100644 --- a/.github/workflows/update_dependencies.yml +++ b/.github/workflows/update_dependencies.yml @@ -23,6 +23,9 @@ jobs: - name: Checkout timeout-minutes: 10 uses: actions/checkout@v4 + with: + fetch-depth: 0 + submodules: "recursive" - name: Setup python / PDM timeout-minutes: 10 diff --git a/pdm.lock b/pdm.lock index 55cf179..89ca7c0 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:128502b8e3a0d1933c6432d95b50366c599abf5dc2296343b46e7f8e901ae9b0" +content_hash = "sha256:0e6085b4f541a9771002fe82c22e7a0b7e1f7a530f4a7536252fd6f526a74874" [[metadata.targets]] requires_python = ">=3.12,<3.13" @@ -279,16 +279,16 @@ files = [ [[package]] name = "eip712-clearsign" -version = "2.1.0" -requires_python = ">=3.10" -summary = "Parse eip712 clear sign descriptors" +version = "3.0.0" +requires_python = "<3.13,>=3.12" +summary = "ERC-7730 descriptors validation and utilities." groups = ["default"] dependencies = [ - "pydantic", + "pydantic>=2.8.2", ] files = [ - {file = "eip712_clearsign-2.1.0-py3-none-any.whl", hash = "sha256:2964c654727894e8bb53c03cc1064711adad9458a1837ca3901bd747d9424121"}, - {file = "eip712_clearsign-2.1.0.tar.gz", hash = "sha256:68b3636fe5dbc1363a67fb1d5816c6b3a4bc123273df1f2e2ff2b83c866ef034"}, + {file = "eip712-clearsign-3.0.0.tar.gz", hash = "sha256:471507fd5e9177694ab509c6b652859a5290e13beb01c3df32757bbf21247d4b"}, + {file = "eip712_clearsign-3.0.0-py3-none-any.whl", hash = "sha256:bbd3a7b7d39b28e21c362b35bf7428bca93ba32fd2087aaa7c9227886f9926eb"}, ] [[package]] @@ -1180,7 +1180,7 @@ files = [ [[package]] name = "sphinx" -version = "8.0.2" +version = "8.1.3" requires_python = ">=3.10" summary = "Python documentation generator" groups = ["dev"] @@ -1195,17 +1195,17 @@ dependencies = [ "packaging>=23.0", "requests>=2.30.0", "snowballstemmer>=2.2", - "sphinxcontrib-applehelp", - "sphinxcontrib-devhelp", - "sphinxcontrib-htmlhelp>=2.0.0", - "sphinxcontrib-jsmath", - "sphinxcontrib-qthelp", + "sphinxcontrib-applehelp>=1.0.7", + "sphinxcontrib-devhelp>=1.0.6", + "sphinxcontrib-htmlhelp>=2.0.6", + "sphinxcontrib-jsmath>=1.0.1", + "sphinxcontrib-qthelp>=1.0.6", "sphinxcontrib-serializinghtml>=1.1.9", "tomli>=2; python_version < \"3.11\"", ] files = [ - {file = "sphinx-8.0.2-py3-none-any.whl", hash = "sha256:56173572ae6c1b9a38911786e206a110c9749116745873feae4f9ce88e59391d"}, - {file = "sphinx-8.0.2.tar.gz", hash = "sha256:0cce1ddcc4fd3532cf1dd283bc7d886758362c5c1de6598696579ce96d8ffa5b"}, + {file = "sphinx-8.1.3-py3-none-any.whl", hash = "sha256:09719015511837b76bf6e03e42eb7595ac8c2e41eeb9c29c5b755c6b677992a2"}, + {file = "sphinx-8.1.3.tar.gz", hash = "sha256:43c1911eecb0d3e161ad78611bc905d1ad0e523e4ddc202a58a821773dc4c927"}, ] [[package]] @@ -1237,16 +1237,16 @@ files = [ [[package]] name = "sphinx-issues" -version = "4.1.0" -requires_python = ">=3.8" +version = "5.0.0" +requires_python = ">=3.9" summary = "A Sphinx extension for linking to your project's issue tracker" groups = ["dev"] dependencies = [ "sphinx", ] files = [ - {file = "sphinx_issues-4.1.0-py3-none-any.whl", hash = "sha256:d779dddff441175c9fddb7a4018eca38f9f6cdb1e0a2fe31d93b4f89587c7ba1"}, - {file = "sphinx_issues-4.1.0.tar.gz", hash = "sha256:a67f7ef31d164b420b2f21b6c9b020baeb4a014afd4045f5be314c984e8ee520"}, + {file = "sphinx_issues-5.0.0-py3-none-any.whl", hash = "sha256:d80704a01c8af3d76586771a67a9e48f2d1a6091a0377458c49908460a6a31ea"}, + {file = "sphinx_issues-5.0.0.tar.gz", hash = "sha256:192e43cf071ed7aead401cd14fd15076ecb0866238c095d672180618740c6bae"}, ] [[package]] @@ -1327,13 +1327,17 @@ files = [ [[package]] name = "sphinxcontrib-mermaid" -version = "0.9.2" -requires_python = ">=3.7" +version = "1.0.0" +requires_python = ">=3.8" summary = "Mermaid diagrams in yours Sphinx powered docs" groups = ["dev"] +dependencies = [ + "pyyaml", + "sphinx", +] files = [ - {file = "sphinxcontrib-mermaid-0.9.2.tar.gz", hash = "sha256:252ef13dd23164b28f16d8b0205cf184b9d8e2b714a302274d9f59eb708e77af"}, - {file = "sphinxcontrib_mermaid-0.9.2-py3-none-any.whl", hash = "sha256:6795a72037ca55e65663d2a2c1a043d636dc3d30d418e56dd6087d1459d98a5d"}, + {file = "sphinxcontrib_mermaid-1.0.0-py3-none-any.whl", hash = "sha256:60b72710ea02087f212028feb09711225fbc2e343a10d34822fe787510e1caa3"}, + {file = "sphinxcontrib_mermaid-1.0.0.tar.gz", hash = "sha256:2e8ab67d3e1e2816663f9347d026a8dee4a858acdd4ad32dd1c808893db88146"}, ] [[package]] @@ -1360,7 +1364,7 @@ files = [ [[package]] name = "sphinxcontrib-typer" -version = "0.5.0" +version = "0.5.1" requires_python = "<4.0,>=3.9" summary = "Auto generate docs for typer commands." groups = ["dev"] @@ -1369,8 +1373,8 @@ dependencies = [ "typer-slim[standard]<1.0.0,>=0.12.0", ] files = [ - {file = "sphinxcontrib_typer-0.5.0-py3-none-any.whl", hash = "sha256:780ca6b5f85105e5f8a1d2168fd490a6411c209e2a8e2ec84d387f0d6fba0ce1"}, - {file = "sphinxcontrib_typer-0.5.0.tar.gz", hash = "sha256:cc8937020bd804deb3f5abd5628c0e39cc2859e1a076307c1397b42594c4d33b"}, + {file = "sphinxcontrib_typer-0.5.1-py3-none-any.whl", hash = "sha256:74f1416392bfef39ea12c940f074383ff2fb27b3dc0388806012b87b8dae971c"}, + {file = "sphinxcontrib_typer-0.5.1.tar.gz", hash = "sha256:b455664c5820e5e6748466707fbac63aa864abf2b7006857dff4006772d3bbbf"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index eacf69f..7036031 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,7 @@ dev = [ "pytest-unordered>=0.6.1", "pytest-raises>=0.11", "prettydiff[terminal]>=0.1.0", - "sphinx>=7.3.7,<8.1.0", # pinned because sphinxcontrib-mermaid is not compatible + "sphinx>=8.1.0", "sphinxcontrib-apidoc>=0.5.0", "sphinxcontrib-typer>=0.5.0", "sphinxcontrib-mermaid>=0.9.2",