Skip to content

Commit

Permalink
fix(ci): fix source test dependency issue (#19840)
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan authored Dec 18, 2024
1 parent a745083 commit 569f9f9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/e2e-source-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mkdir ./connector-node
tar xf ./risingwave-connector.tar.gz -C ./connector-node

echo "--- Install dependencies"
python3 -m pip install --break-system-packages requests protobuf fastavro confluent_kafka jsonschema nats-py requests psycopg2-binary
python3 -m pip install --break-system-packages -r ./e2e_test/requirements.txt
apt-get -y install jq

echo "--- e2e, inline test"
Expand Down
15 changes: 15 additions & 0 deletions e2e_test/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-r source_legacy/requirements.txt
-r source_inline/requirements.txt
requests
confluent_kafka==2.6.2
# confluent_kafka doesn't list dependencies, so we need to install them manually
# https://github.com/confluentinc/confluent-kafka-python/issues/1712
protobuf==5.28.0
fastavro==1.9.4
httpx==0.27.2
attrs
cachetools
jsonschema
google-auth
google-api-core
google-cloud-kms
2 changes: 2 additions & 0 deletions e2e_test/source_inline/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nats-py==2.9.0
psycopg2-binary==2.9.10
Empty file.

0 comments on commit 569f9f9

Please sign in to comment.