Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ submodules:
include: all

build:
os: ubuntu-20.04
os: ubuntu-24.04
apt_packages:
- cmake
- doxygen
- fonts-liberation
tools:
python: "3.11"
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import subprocess
from importlib.metadata import PackageNotFoundError, version

import sphinx_material
from pkg_resources import DistributionNotFound, get_distribution

try:
__version__ = get_distribution("celerite2").version
except DistributionNotFound:
__version__ = version("celerite2")
except PackageNotFoundError:
__version__ = "dev"


Expand Down
Loading