Skip to content

Commit

Permalink
Update setup.py and test scripts to work around breaking changes desc…
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrush authored and copybara-github committed Jun 20, 2024
1 parent 328c671 commit 4dc9d9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions google-fhir-views/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
f'google-fhir-core~={version}',
'immutabledict~=2.2',
'backports.zoneinfo~=0.2.1;python_version<"3.9"',
# Pin to numpy 1 to avoid binary compatibility changes in numpy 2.
'numpy~=1.24',
'pandas~=1.1',
'protobuf~=3.19',
'python-dateutil~=2.8',
Expand Down
4 changes: 3 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ python3 -m venv ./test_env
export FHIR_PY_VERSION=`cat VERSION`

pip install wheel
pip install pytest

# Version pinned for https://github.com/pytest-dev/pytest/issues/12275
pip install pytest==8.1.2

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

0 comments on commit 4dc9d9a

Please sign in to comment.