Skip to content

Commit

Permalink
test nonx64 with py 3.11, numpy 1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
philippadoherty committed Feb 13, 2024
1 parent 523246e commit 1d7468b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build-and-test-MACS3-non-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,22 @@ jobs:
matrix:
include:
- arch: aarch64
distro: bullseye
- arch: armv7
distro: bullseye
- arch: ppc64le
distro: bullseye
- arch: s390x
distro: bullseye

steps:
- name: Checkout MACS
uses: actions/checkout@v3
with:
submodules: 'true'

- name: Set up arch and run (bullseye Python 3.9)
- name: Set up arch and run
uses: uraimo/run-on-arch-action@v2
id: build
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
distro: ubuntu-20.04

githubToken: ${{ github.token }}

Expand Down Expand Up @@ -69,7 +66,7 @@ jobs:
apt-get install apt-utils
apt-get install -yq libblas3 liblapack3 libblas-dev liblapack-dev
# we rely on Debian/Linux python packages for numpy/scipy/sklearn
apt-get install -yq python3 python3-pip python3-virtualenv python3-wheel python3-numpy python3-scipy python3-sklearn cython3
apt-get install -yq python3.11 python3-pip python3-virtualenv python3-wheel python3-numpy python3-scipy python3-sklearn cython3
apt-get install -yq procps zlib1g zlib1g-dev gfortran
run: |
echo `uname -a`
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires=['setuptools>=60.0', 'numpy==1.25', 'cykhash>=2.0,<3.0', 'Cython~=3.0', 'hmmlearn>=0.3']
requires=['setuptools>=60.0', 'numpy==1.24', 'cykhash>=2.0,<3.0', 'Cython~=3.0', 'hmmlearn>=0.3']
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Cython~=3.0
numpy==1.25
numpy==1.24
hmmlearn>=0.3
cykhash>=2.0,<3.0
pytest>=7.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'Programming Language :: Python :: 3.12',
'Programming Language :: Cython', ]

install_requires = [ "numpy==1.25",
install_requires = [ "numpy==1.24",
"hmmlearn>=0.3",
"cykhash>=2.0,<3.0",
"Cython~=3.0" ]
Expand Down

0 comments on commit 1d7468b

Please sign in to comment.