From c70f94b542596ecb5da0a8183bd188d17df64fdf Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Fri, 14 Apr 2023 15:41:48 +0100 Subject: [PATCH] Updated files with 'repo_helper'. (#67) Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> --- .bumpversion.cfg | 2 ++ .github/workflows/conda_ci.yml | 6 ++++-- .github/workflows/python_ci_linux.yml | 6 ++++-- .pre-commit-config.yaml | 6 +++--- README.rst | 6 +++--- doc-source/index.rst | 4 ++-- pyproject.toml | 2 +- tox.ini | 10 ++++++++++ 8 files changed, 29 insertions(+), 13 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3d1c269..e1444e9 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -19,3 +19,5 @@ search = version = "{current_version}" replace = version = "{new_version}" [bumpversion:file:.github/workflows/conda_ci.yml] +search = ={current_version}=py_1 +replace = ={new_version}=py_1 diff --git a/.github/workflows/conda_ci.yml b/.github/workflows/conda_ci.yml index 6e4d692..ab6bca6 100644 --- a/.github/workflows/conda_ci.yml +++ b/.github/workflows/conda_ci.yml @@ -12,7 +12,7 @@ permissions: jobs: tests: name: "Conda" - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 defaults: run: shell: bash -l {0} @@ -30,7 +30,9 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: env - conda-build-version: 3.21.0 + conda-build-version: 3.23.3 + python-version: "3.8" + miniforge-variant: Mambaforge - name: Install dependencies 🔧 run: | diff --git a/.github/workflows/python_ci_linux.yml b/.github/workflows/python_ci_linux.yml index 3bae2c6..02d3886 100644 --- a/.github/workflows/python_ci_linux.yml +++ b/.github/workflows/python_ci_linux.yml @@ -177,7 +177,7 @@ jobs: Conda: needs: deploy - runs-on: "ubuntu-18.04" + runs-on: ubuntu-22.04 if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true) steps: - name: Checkout 🛎️ @@ -192,7 +192,9 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: env - conda-build-version: 3.21.0 + conda-build-version: 3.23.3 + python-version: "3.8" + miniforge-variant: Mambaforge - name: Install dependencies 🔧 run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30566ce..a8c8ff1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: - id: flake2lint - repo: https://github.com/pre-commit/pygrep-hooks - rev: v1.9.0 + rev: v1.10.0 hooks: - id: python-no-eval - id: rst-backticks @@ -70,7 +70,7 @@ repos: - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.1 + rev: v1.5.1 hooks: - id: remove-crlf - id: forbid-crlf @@ -87,7 +87,7 @@ repos: exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ - repo: https://github.com/domdfcoding/dep_checker - rev: v0.7.0 + rev: v0.7.1 hooks: - id: dep_checker args: diff --git a/README.rst b/README.rst index 524ff9c..541a109 100644 --- a/README.rst +++ b/README.rst @@ -29,8 +29,8 @@ * - Other - |license| |language| |requires| -.. |docs| image:: https://img.shields.io/readthedocs/toctree_plus/latest?logo=read-the-docs - :target: https://toctree_plus.readthedocs.io/en/latest +.. |docs| image:: https://img.shields.io/readthedocs/toctree-plus/latest?logo=read-the-docs + :target: https://toctree-plus.readthedocs.io/en/latest :alt: Documentation Build Status .. |docs_check| image:: https://github.com/sphinx-toolbox/toctree_plus/workflows/Docs%20Check/badge.svg @@ -108,7 +108,7 @@ :target: https://github.com/sphinx-toolbox/toctree_plus/commit/master :alt: GitHub last commit -.. |maintained| image:: https://img.shields.io/maintenance/yes/2022 +.. |maintained| image:: https://img.shields.io/maintenance/yes/2023 :alt: Maintenance .. |pypi-downloads| image:: https://img.shields.io/pypi/dm/toctree_plus diff --git a/doc-source/index.rst b/doc-source/index.rst index 815a7ab..566c416 100644 --- a/doc-source/index.rst +++ b/doc-source/index.rst @@ -33,7 +33,7 @@ - |license| |language| |requires| .. |docs| rtfd-shield:: - :project: toctree_plus + :project: toctree-plus :alt: Documentation Build Status .. |docs_check| actions-shield:: @@ -114,7 +114,7 @@ :last-commit: :alt: GitHub last commit - .. |maintained| maintained-shield:: 2022 + .. |maintained| maintained-shield:: 2023 :alt: Maintenance .. |pypi-downloads| pypi-shield:: diff --git a/pyproject.toml b/pyproject.toml index 41f06a8..dba951c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ file = "LICENSE" Homepage = "https://github.com/sphinx-toolbox/toctree_plus" "Issue Tracker" = "https://github.com/sphinx-toolbox/toctree_plus/issues" "Source Code" = "https://github.com/sphinx-toolbox/toctree_plus" -Documentation = "https://toctree_plus.readthedocs.io/en/latest" +Documentation = "https://toctree-plus.readthedocs.io/en/latest" [tool.whey] base-classifiers = [ diff --git a/tox.ini b/tox.ini index a609ee1..4b5f2f8 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,8 @@ # * tox # * envlists # * testenv +# * testenv:.package +# * testenv:py312-dev # * testenv:docs # * testenv:build # * testenv:lint @@ -63,6 +65,11 @@ commands = python --version python -m pytest --cov=sphinxcontrib.toctree_plus -r aR tests/ {posargs} +[testenv:.package] +setenv = + PYTHONDEVMODE=1 + PIP_DISABLE_PIP_VERSION_CHECK=1 + [testenv:docs] setenv = SHOW_TODOS = 1 passenv = SPHINX_BUILDER @@ -72,6 +79,9 @@ deps = -r{toxinidir}/doc-source/requirements.txt commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs} [testenv:build] +setenv = + PYTHONDEVMODE=1 + PIP_DISABLE_PIP_VERSION_CHECK=1 skip_install = True changedir = {toxinidir} deps =