Skip to content

Commit 1a799ad

Browse files
committed
Try fixes for pip
1 parent 378704a commit 1a799ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci_cron_monthly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
install: |
6969
apt-get update -q -y
7070
apt-get install -q -y --no-install-recommends ${{ env.apt_packages }}
71-
python3 -m pip install --user ${{ env.pip_packages }}
71+
python3 -m pip install --user --break-system-packages ${{ env.pip_packages }}
7272
run: |
7373
uname -a
7474
echo "LONG_BIT="$(getconf LONG_BIT)
@@ -77,12 +77,12 @@ jobs:
7777
7878
test_with_apt:
7979
name: Test using apt
80-
runs-on: ubuntu-22.04 # 24.04 does not work (bad python for doctestplus)
80+
runs-on: ubuntu-latest # once beyond 24.04 can remove no:doctest_plus below.
8181
if: (github.repository == 'mhvk/baseband-tasks' && (github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'Extra CI')))
8282
env:
8383
# 2025-02-21: pyfftw seems broken; maybe try again with more recent ubuntu.
8484
apt_packages: python3-astropy python3-h5py python3-pip
85-
pip_packages: baseband
85+
pip_packages: baseband==4.1.*
8686

8787
steps:
8888
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -98,7 +98,7 @@ jobs:
9898
- name: Run tests
9999
run: |
100100
python3 setup.py egg_info
101-
python3 -m pytest
101+
python3 -m pytest -p no:doctest_plus
102102
103103
test_other_os:
104104
name: Test on ${{ matrix.os }}

0 commit comments

Comments
 (0)