Skip to content

Commit

Permalink
Fix readthedocs build
Browse files Browse the repository at this point in the history
Remove restrictions on dev dependencies
  • Loading branch information
medley56 committed Apr 1, 2024
1 parent 19fd97f commit ad84e06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad84e06

Please sign in to comment.