diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9711a1ab..66726634 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,34 +16,34 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - python-version: ['3.8', '3.9', '3.10'] - numpy-version: ['<1.22', '<1.23'] - astropy-version: ['<5.1'] + python-version: ['3.10'] # , '3.11', '3.12'] + numpy-version: ['<1.23'] + astropy-version: ['<6.1', '<7'] env: - DESIUTIL_VERSION: 3.2.1 - DESIMODEL_VERSION: main - DESIMETER_VERSION: 0.6.5 - DESIMODEL_DATA: branches/test-0.17 + DESIUTIL_VERSION: 3.5.0 + DESIMODEL_VERSION: 0.19.2 + DESIMETER_VERSION: 0.7.1 + DESIMODEL_DATA: branches/test-0.19 DESIMODEL: ${{ github.workspace }}/desimodel - DESITARGET_VERSION: 2.2.1 + DESITARGET_VERSION: 2.5.0 steps: - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.8.0 + uses: styfle/cancel-workflow-action@0.12.1 with: access_token: ${{ github.token }} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --no-cache-dir --upgrade pip wheel + python -m pip install --no-cache-dir --upgrade pip setuptools wheel python -m pip install --no-cache-dir pyyaml requests python -m pip install --no-cache-dir scipy matplotlib healpy python -m pip install --no-cache-dir --upgrade "numpy${{ matrix.numpy-version }}" @@ -67,26 +67,26 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ['3.9'] + python-version: ['3.10'] env: - DESIUTIL_VERSION: 3.2.1 + DESIUTIL_VERSION: 3.5.0 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade pip setuptools wheel python -m pip install -r doc/rtd_requirements.txt - - name: Install desiutil - run: python -m pip install --no-cache-dir git+https://github.com/desihub/desiutil.git@${{ env.DESIUTIL_VERSION }}#egg=desiutil + # - name: Install desiutil + # run: python -m pip install --no-cache-dir git+https://github.com/desihub/desiutil.git@${{ env.DESIUTIL_VERSION }}#egg=desiutil - name: Compile the package run: CC=g++ CXX=g++ CFLAGS="-fPIC" LDSHARED="g++ -shared" python setup.py build_ext --inplace - name: Test the documentation diff --git a/doc/changes.rst b/doc/changes.rst index a79a1eef..d70e9dc7 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -6,9 +6,9 @@ fiberassign change log 5.7.3 (unreleased) ------------------ -* Remove ``DesiTest`` from setup.py and warn about other deprecated features (PR `#466`_). +* Remove ``DesiTest`` from setup.py and warn about other deprecated features (PR `#464`_). -.. _`#466`: https://github.com/desihub/fiberassign/pull/466 +.. _`#464`: https://github.com/desihub/fiberassign/pull/464 5.7.2 (2023-10-04) ------------------ diff --git a/doc/rtd_requirements.txt b/doc/rtd_requirements.txt index ba71b451..f9e2acd3 100644 --- a/doc/rtd_requirements.txt +++ b/doc/rtd_requirements.txt @@ -1,3 +1,3 @@ -Sphinx>6,<7 -sphinx-rtd-theme>1 -git+https://github.com/desihub/desiutil.git@main#egg=desiutil +Sphinx +sphinx-rtd-theme +git+https://github.com/desihub/desiutil.git@3.5.0#egg=desiutil