Skip to content

Commit 4dc9d9a

Browse files
rbrushcopybara-github
authored andcommitted
PiperOrigin-RevId: 645119671
1 parent 328c671 commit 4dc9d9a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

google-fhir-views/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ def main():
4848
f'google-fhir-core~={version}',
4949
'immutabledict~=2.2',
5050
'backports.zoneinfo~=0.2.1;python_version<"3.9"',
51+
# Pin to numpy 1 to avoid binary compatibility changes in numpy 2.
52+
'numpy~=1.24',
5153
'pandas~=1.1',
5254
'protobuf~=3.19',
5355
'python-dateutil~=2.8',

run_tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ python3 -m venv ./test_env
2323
export FHIR_PY_VERSION=`cat VERSION`
2424

2525
pip install wheel
26-
pip install pytest
26+
27+
# Version pinned for https://github.com/pytest-dev/pytest/issues/12275
28+
pip install pytest==8.1.2
2729

2830
# Create wheels and install and test them to ensure they are built correctly.
2931
pip wheel ./google-fhir-core --wheel-dir wheels

0 commit comments

Comments
 (0)