Skip to content

Commit 3622eea

Browse files
committed
remove healpix optional dependencies (earth2grid) from package
1 parent 1382d5f commit 3622eea

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,13 @@ jobs:
2222
- uses: actions/cache@v4
2323
with:
2424
path: ${{ env.pythonLocation }}
25-
key: v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('docs/requirements.txt') }}-${{ hashFiles('requirements-healpix.txt') }}-${{ hashFiles('constraints.txt') }}
25+
key: v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('docs/requirements.txt') }}-${{ hashFiles('constraints.txt') }}
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install uv
29-
# can't use --system here because it doesn't work with --no-build-isolation and a healpix dependency
30-
uv venv --python 3.11
31-
uv pip install -c constraints.txt -e .[docs]
32-
uv pip install --no-build-isolation -c constraints.txt -e .[docs,healpix]
29+
uv pip install --system -c constraints.txt -e .[docs]
3330
- name: Build docs
3431
run: |
35-
source .venv/bin/activate
3632
cd docs && make doctest html
3733
- name: Deploy to GitHub Pages
3834
uses: peaceiris/actions-gh-pages@v3

.github/workflows/tests.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,15 @@ jobs:
2222
- uses: actions/cache@v4
2323
with:
2424
path: ${{ env.pythonLocation }}
25-
key: v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('requirements-healpix.txt') }}-${{ hashFiles('constraints.txt') }}
25+
key: v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('constraints.txt') }}
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install uv
29-
# can't use --system here because it doesn't work with --no-build-isolation and a healpix dependency
30-
uv venv --python 3.11
31-
uv pip install -c constraints.txt -e .[dev]
32-
uv pip install --no-build-isolation -c constraints.txt -e .[dev,healpix]
29+
uv pip install --system -c constraints.txt -e .[dev]
3330
- name: Run pytest with code coverage
3431
run: |
35-
source .venv/bin/activate
3632
make test_cov
37-
cpu-very-fast-no-healpix:
33+
cpu-very-fast:
3834
runs-on: ubuntu-latest
3935
steps:
4036
- uses: actions/checkout@v3

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies = { file = "requirements.txt" }
3030
optional-dependencies.dev = { file = "requirements-dev.txt" }
3131
optional-dependencies.docs = { file = "docs/requirements.txt" }
3232
optional-dependencies.deploy = { file = "requirements-deploy.txt" }
33-
optional-dependencies.healpix = { file = "requirements-healpix.txt" }
3433

3534
[tool.setuptools.packages]
3635
find = {}
@@ -40,7 +39,6 @@ cache-keys = [
4039
{ file = "requirements.txt" },
4140
{ file = "requirements-dev.txt" },
4241
{ file = "docs/requirements.txt" },
43-
{ file = "requirements-healpix.txt" },
4442
]
4543

4644
[tool.ruff.lint]

requirements-healpix.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)