Skip to content

Commit

Permalink
Fix Read the Docs build environment (#887)
Browse files Browse the repository at this point in the history
* Fix ReadTheDocs build environment

Pin the poetry version to 1.4.2, which is known to work well with ReadTheDocs
Explicitly install virtualenv 20.23.1, which doesn't have the issue with the 'free_threaded' attribute

* Bump Poetry to 1.5.1

Poetry 1.5.1 should support dependency groups (spamming the autograder)
  • Loading branch information
daniellovell authored Mar 1, 2025
1 parent f657291 commit 461e7e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ build:
python: '3.10'
jobs:
post_create_environment:
- pip install poetry myst-parser
- pip install poetry==1.5.1 myst-parser
- pip install virtualenv==20.23.1
post_install:
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
Expand Down

0 comments on commit 461e7e7

Please sign in to comment.