From 0dac92ffb17e5a8040b9213e55ae6992d21de6bc Mon Sep 17 00:00:00 2001 From: Dave Hall Date: Sun, 4 Feb 2024 15:25:31 +0000 Subject: [PATCH] wip --- .github/workflows/build.yml | 4 ++-- .readthedocs.yaml | 6 +++--- poetry.lock | 12 ++++++------ pyproject.toml | 4 +++- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07a974c1..381abb95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: uses: ./.github/actions/setup # Install dependencies. - name: Install dependencies - run: poetry install --without dev --with docs + run: poetry install --only docs # Build docs. - name: Build docs run: poetry run sphinx-build -W docs docs/_build @@ -85,7 +85,7 @@ jobs: uses: ./.github/actions/setup # Install dependencies. - name: Install dependencies - run: poetry install + run: poetry install --only coverage # Report coverage. - name: Download coverage uses: actions/download-artifact@v4 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index dcb3b59c..ad728f21 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,10 +6,10 @@ build: python: "3.12" jobs: post_create_environment: - - pip install poetry - - poetry config virtualenvs.create false + - pip install poetry + - poetry config virtualenvs.create false post_install: - - poetry install --without dev --with docs + - poetry install --only docs sphinx: configuration: docs/conf.py diff --git a/poetry.lock b/poetry.lock index 7cd27479..07d22cb9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -706,13 +706,13 @@ test = ["cython (>=3.0)", "filelock", "html5lib", "pytest (>=4.6)", "setuptools [[package]] name = "sphinx-autobuild" -version = "2021.3.14" +version = "2024.2.4" description = "Rebuild Sphinx documentation on changes, with live-reload in the browser." optional = false -python-versions = ">=3.6" +python-versions = ">=3.9" files = [ - {file = "sphinx-autobuild-2021.3.14.tar.gz", hash = "sha256:de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05"}, - {file = "sphinx_autobuild-2021.3.14-py3-none-any.whl", hash = "sha256:8fe8cbfdb75db04475232f05187c776f46f6e9e04cacf1e49ce81bdac649ccac"}, + {file = "sphinx_autobuild-2024.2.4-py3-none-any.whl", hash = "sha256:63fd87ab7505872a89aef468ce6503f65e794a195f4ae62269db3b85b72d4854"}, + {file = "sphinx_autobuild-2024.2.4.tar.gz", hash = "sha256:cb9d2121a176d62d45471624872afc5fad7755ad662738abe400ecf4a7954303"}, ] [package.dependencies] @@ -721,7 +721,7 @@ livereload = "*" sphinx = "*" [package.extras] -test = ["pytest", "pytest-cov"] +test = ["pytest (>=6.0)", "pytest-cov"] [[package]] name = "sphinx-basic-ng" @@ -899,4 +899,4 @@ pytest = ["pytest"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "8be10115b48ceb2f8cd3b4e3349534340b327fd22d206412673b845fb7bf7d67" +content-hash = "f21c1997c5ae3160aabaca80fbea4a93281ba8676a414139bf9f8a26ded97b19" diff --git a/pyproject.toml b/pyproject.toml index 37e0a5cf..322a3eab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,8 +27,10 @@ typing-extensions = { version = ">=4.9.0", python = "<3.10" } [tool.poetry.extras] pytest = ["pytest"] -[tool.poetry.group.dev.dependencies] +[tool.poetry.group.coverage.dependencies] coverage = "^7.4.1" + +[tool.poetry.group.dev.dependencies] hypothesis = "^6.96.1" mypy = "^1.8.0" ruff = "^0.1.11"