Skip to content

Commit d552309

Browse files
authored
[RAPTOR-14039] add httpx for testing (#1542)
1 parent 493d11c commit d552309

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

harness_scripts/functional_by_framework/check_by_framework_run1_step_entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ title "Upgrade pip"
2929
pip install -U pip
3030

3131
title "Installing pytest"
32-
pip install pytest pytest-xdist
32+
pip install -r "${ROOT_DIR}/requirements_for_per_framework_tests.txt"
3333

3434
# The FIPS-compliant Java image does not include maven (and its dependencies) required to build Java artifacts
3535
# from source. Therefore, keep the installed dependencies, including datarobot-drum. This means that tests will run
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pytest
2+
pytest-xdist
3+
httpx
4+
# would be good to remove openai from conftext.py and here
5+
openai>=1.55.3

requirements_test.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1+
-r requirements_test_unit.txt
12
docker>=4.2.2,<5.0.0
2-
pytest
33
pytest-runner
44
pytest-xdist
55
PyYAML>=3.11
66
requests>=2.24.0,<=2.32.0
7-
responses
87
retry
9-
scikit-learn==1.3.2
108
scipy>=1.1,<2
119
urllib3>=1.25.0,<2.0.0
12-
openai>=1.55.3
1310
# strictly not needed for testing, but used when updating environment
1411
bson

requirements_test_unit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ pytest-cov
33
responses
44
scikit-learn==1.3.2
55
openai>=1.55.3
6+
httpx

0 commit comments

Comments
 (0)