Skip to content

Commit

Permalink
fix(rtd): pin python to <3.13 and mamba to <2 (#735)
Browse files Browse the repository at this point in the history
Fix the RTD build error. Pinning mamba to `<2` is a workaround for
jupyterlite/xeus#122.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
- Added a constraint specifying that the `python` dependency must be
less than version 3.13.
- Updated the Python version in the Read the Docs configuration to
`mambaforge-23.11`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
njzjz authored Oct 15, 2024
1 parent a6ced9f commit 373e0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
python: "mambaforge-23.11"
conda:
environment: docs/rtd_environment.yml
sphinx:
Expand Down
3 changes: 2 additions & 1 deletion docs/rtd_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: dpdata
channels:
- conda-forge
dependencies:
- mamba
- python <3.13
- mamba <2
- pip:
- ..[docs]

0 comments on commit 373e0d7

Please sign in to comment.