From ad84e0664926fab53b7f38ce33c81473d6b2656a Mon Sep 17 00:00:00 2001 From: Gavin Medley Date: Mon, 1 Apr 2024 10:55:21 -0600 Subject: [PATCH] Fix readthedocs build Remove restrictions on dev dependencies --- .readthedocs.yml | 4 ++-- pyproject.toml | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 788bcb6..a0e95f9 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,11 +8,11 @@ build: post_create_environment: # Install poetry - pip install poetry - # Tell poetry to not use a virtual environment + # Tell poetry to not create a new virtual environment but use the current one - poetry config virtualenvs.create false post_install: # Install dependencies. Our doc building dependencies are part of the dev group - - poetry install + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install sphinx: configuration: docs/source/conf.py diff --git a/pyproject.toml b/pyproject.toml index cde68fa..56c9c9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,16 +39,16 @@ python = ">=3.8" bitstring = ">=4.0.1" [tool.poetry.group.dev.dependencies] -pylint = "^2" -pytest = "^6" -pytest-randomly = "^3" -pytest-cov = "^3" -pyyaml = "^6.0" -sphinx = "^6.1.3" -myst-parser = "^1.0.0" -sphinx-autoapi = "^2.0.1" -sphinx-rtd-theme = "^1.2.0" -coverage = "^7.2.5" +pylint = "*" +pytest = "*" +pytest-randomly = "*" +pytest-cov = "*" +pyyaml = "*" +sphinx = "*" +myst-parser = "*" +sphinx-autoapi = "*" +sphinx-rtd-theme = "*" +coverage = "*" [tool.poetry.group.examples] optional = true