diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 57659d8..445b1c3 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -20,7 +20,7 @@ jobs: matrix: os: - "ubuntu-22.04" - - "macos-12" + - "macos-13" - "macos-14" - "windows-latest" steps: @@ -28,7 +28,7 @@ jobs: with: submodules: true fetch-depth: 0 - - uses: pypa/cibuildwheel@v2.23.2 + - uses: pypa/cibuildwheel@v3.4.0 - uses: actions/upload-artifact@v4 with: name: binary-${{ matrix.os }} diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c53cbeb..85823c4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,9 +4,11 @@ submodules: include: all build: - os: ubuntu-20.04 + os: ubuntu-22.04 apt_packages: - fonts-liberation + - cmake + - doxygen tools: python: "3.11" diff --git a/docs/conf.py b/docs/conf.py index 9b3da42..e82ef87 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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" diff --git a/python/celerite2/__init__.py b/python/celerite2/__init__.py index 481b095..dea1341 100644 --- a/python/celerite2/__init__.py +++ b/python/celerite2/__init__.py @@ -11,9 +11,7 @@ __email__ = "foreman.mackey@gmail.com" __license__ = "MIT" __description__ = "Fast and scalable Gaussian Processes in 1D" -__bibtex__ = ( - __citation__ -) = r""" +__bibtex__ = __citation__ = r""" @article{celerite1, author = {{Foreman-Mackey}, D. and {Agol}, E. and {Ambikasaran}, S. and {Angus}, R.},