From 7b6a97bd75442ede2e78033455e5c8972bf54891 Mon Sep 17 00:00:00 2001 From: Maximilian Linhoff Date: Thu, 7 Nov 2024 15:44:14 +0100 Subject: [PATCH] Allow astropy 7.0 --- .github/workflows/ci.yml | 5 +++-- docs/changes/2639.feature.rst | 1 + environment.yml | 2 +- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 docs/changes/2639.feature.rst diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bf759c5fb7a..d47b91c28ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" - name: Check README syntax run: | pip install restructuredtext-lint @@ -33,6 +33,7 @@ jobs: - uses: pre-commit/action@v3.0.1 with: extra_args: --files $(git diff origin/main --name-only) + tests: runs-on: ${{ matrix.os }} needs: lint @@ -195,7 +196,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" - name: Install doc dependencies run: | diff --git a/docs/changes/2639.feature.rst b/docs/changes/2639.feature.rst new file mode 100644 index 00000000000..fbf57b791c7 --- /dev/null +++ b/docs/changes/2639.feature.rst @@ -0,0 +1 @@ +Add support for astropy 7.0. diff --git a/environment.yml b/environment.yml index e640533a52f..23622147621 100644 --- a/environment.yml +++ b/environment.yml @@ -5,7 +5,7 @@ channels: dependencies: - python=3.11 - pip - - astropy>=5.3,<7 + - astropy>=5.3,<8 - black - bokeh=3 - nbsphinx diff --git a/pyproject.toml b/pyproject.toml index 83fb3ab6a25..1e0dd60d651 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version"] requires-python = ">=3.10" dependencies = [ - "astropy >=5.3,<7.0.0a0", + "astropy >=5.3,<8.0.0a0", "docutils", "joblib", "numba >=0.56",