From 40a82e6c3945bff83a41ed65379805f0a649d6a9 Mon Sep 17 00:00:00 2001 From: Sasha Abramowitz Date: Fri, 22 Nov 2024 17:25:29 +0200 Subject: [PATCH] chore/release (#265) --- .github/workflows/docs_deploy.yml | 12 +++++++++++- .github/workflows/release.yml | 7 ++++--- jumanji/version.py | 2 +- requirements/requirements-dev.txt | 14 +++++++------- 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index 0b8c42df9..474d53258 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -9,16 +9,26 @@ jobs: docs: runs-on: ubuntu-latest container: - image: python:3.8.10 + image: python:3.12.6 steps: - name: Install dependencies for deploy run: apt-get update && apt-get install -y rsync + - name: Checkout jumanji 🐍 uses: actions/checkout@v3 + - name: Install python dependencies 🔧 run: pip install .[dev] + + - name: Git trust site directory 🤝 + run: | + git config --global --add safe.directory /__w/jumanji/jumanji' + git config --global --add safe.directory /docs + git config --global --add safe.directory /docs_public + - name: Build docs 📖 run: mkdocs build --verbose --site-dir docs_public + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1721ce877..55806a336 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,10 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install dependencies @@ -23,4 +24,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | hatch build - twine upload dist/* + twine upload dist/* --verbose diff --git a/jumanji/version.py b/jumanji/version.py index cd3b0c876..e835b3626 100644 --- a/jumanji/version.py +++ b/jumanji/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.0.1" +__version__ = "1.1.0" diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index a9dbbcfa6..f5ceefaa5 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -1,13 +1,13 @@ coverage livereload -mkdocs==1.2.3 +mkdocs==1.6.1 mkdocs-git-revision-date-plugin==0.3.2 -mkdocs-include-markdown-plugin==4.0.4 -mkdocs-material==8.2.7 -mkdocs-mermaid2-plugin==0.6.0 -mkdocs_autorefs<1.0 -mkdocstrings==0.18.0 -mknotebooks==0.7.1 +mkdocs-include-markdown-plugin==7.1.1 +mkdocs-material==9.5.45 +mkdocs-mermaid2-plugin==1.1.0 +mkdocs_autorefs==1.2.0 +mkdocstrings[python]==0.27.0 +mknotebooks==0.8.0 mypy pre-commit promise