diff --git a/.github/workflows/docs_test_action.yml b/.github/workflows/docs_test_action.yml index 8f60ba5..761b41f 100644 --- a/.github/workflows/docs_test_action.yml +++ b/.github/workflows/docs_test_action.yml @@ -29,7 +29,7 @@ jobs: - '!tests/**' - name: Install and Build 🔧 - uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1 + uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1-py39 if: steps.changes.outputs.code == 'true' with: pre-build-command: python -m pip install tox diff --git a/.github/workflows/octocheese.yml b/.github/workflows/octocheese.yml index e601446..3742983 100644 --- a/.github/workflows/octocheese.yml +++ b/.github/workflows/octocheese.yml @@ -6,6 +6,9 @@ on: schedule: - cron: 0 12 * * * +permissions: + contents: write + jobs: Run: runs-on: ubuntu-latest diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml index e1914fd..46743a1 100644 --- a/.github/workflows/python_ci.yml +++ b/.github/workflows/python_ci.yml @@ -36,8 +36,8 @@ jobs: - {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.13", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False} - - {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False} - - {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True} + - {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1}", experimental: False} + - {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-click{7.1,8.0,8.1}", experimental: True} steps: - name: Checkout 🛎️ diff --git a/.github/workflows/python_ci_linux.yml b/.github/workflows/python_ci_linux.yml index edf8bb0..17619cf 100644 --- a/.github/workflows/python_ci_linux.yml +++ b/.github/workflows/python_ci_linux.yml @@ -161,7 +161,7 @@ jobs: - name: Upload distribution to PyPI 🚀 if: startsWith(github.ref, 'refs/tags/') - uses: pypa/gh-action-pypi-publish@v1.4.2 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/python_ci_macos.yml b/.github/workflows/python_ci_macos.yml index fc15fce..d4b1565 100644 --- a/.github/workflows/python_ci_macos.yml +++ b/.github/workflows/python_ci_macos.yml @@ -28,14 +28,14 @@ jobs: fail-fast: False matrix: config: - - {python-version: "3.7", os-ver: "13", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False} + - {python-version: "3.7", os-ver: "15-intel", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.8", os-ver: "14", testenvs: "py38-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.9", os-ver: "14", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.10", os-ver: "14", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.11", os-ver: "14", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.12", os-ver: "14", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "3.13", os-ver: "14", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False} - - {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False} + - {python-version: "pypy-3.7", os-ver: "15-intel", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False} - {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c522791..bc54b9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: - id: bind-requirements - repo: https://github.com/python-formate/flake8-dunder-all - rev: v0.4.1 + rev: v0.5.0 hooks: - id: ensure-dunder-all files: ^importcheck/.*\.py$ @@ -62,11 +62,11 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/asottile/pyupgrade - rev: v2.12.0 + rev: v3.3.0 hooks: - id: pyupgrade args: - - --py36-plus + - --py37-plus - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks diff --git a/doc-source/requirements.txt b/doc-source/requirements.txt index af7be45..19ea7c2 100644 --- a/doc-source/requirements.txt +++ b/doc-source/requirements.txt @@ -1,8 +1,10 @@ git+https://github.com/domdfcoding/sphinx-click.git default-values>=0.6.0 +docutils<0.22 extras-require>=0.5.0 furo==2021.06.18b36 html-section>=0.3.0 +roman>=4.0 seed-intersphinx-mapping>=1.2.2 sphinx>=3.0.3 sphinx-copybutton>=0.5.2 diff --git a/tox.ini b/tox.ini index fa5f30f..de00685 100644 --- a/tox.ini +++ b/tox.ini @@ -82,7 +82,6 @@ download = True setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 - UNSAFE_PYO3_SKIP_VERSION_CHECK=1 [testenv:py312] download = True @@ -93,7 +92,7 @@ setenv = [testenv:docs] setenv = SHOW_TODOS = 1 passenv = SPHINX_BUILDER -basepython = python3.8 +basepython = python3.9 changedir = {toxinidir}/doc-source deps = -r{toxinidir}/doc-source/requirements.txt commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs} @@ -137,6 +136,7 @@ deps = flake8-sphinx-links>=0.0.4 flake8-strftime>=0.1.1 flake8-typing-imports>=1.10.0 + git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git git+https://github.com/domdfcoding/flake8-rst-docstrings.git git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods @@ -252,7 +252,6 @@ download = True setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 - UNSAFE_PYO3_SKIP_VERSION_CHECK=1 [testenv:py313-dev-click{7.1,8.0,8.1}] download = True