From 61bdee8bc3a47e60e2593176d0a7ddf740f84a42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:50:26 +0000 Subject: [PATCH 1/4] Initial plan From 2fb5baefc8db79b78515d6d3296f8af9f8441ea7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:51:59 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/celerite2/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/celerite2/__init__.py b/python/celerite2/__init__.py index 481b0957..dea13418 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.}, From d845eced7297ac03c10aa5eceb345fa886ac0140 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:54:21 +0000 Subject: [PATCH 3/4] Fix cibuildwheel 429 rate limit error: upgrade to v3.4.0 and replace deprecated macos-12 runner Co-authored-by: dfm <350282+dfm@users.noreply.github.com> --- .github/workflows/wheels.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 57659d88..445b1c33 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 }} From 6a0d18a120229354a0e169bff3e484b60448c046 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Mar 2026 00:55:00 +0000 Subject: [PATCH 4/4] Fix ReadTheDocs build: add cmake/doxygen to apt_packages, upgrade to ubuntu-22.04, replace deprecated pkg_resources Co-authored-by: dfm <350282+dfm@users.noreply.github.com> --- .readthedocs.yaml | 4 +++- docs/conf.py | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index c53cbeb6..85823c4f 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 9b3da42a..e82ef87a 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"