Skip to content

Commit 7ba44ff

Browse files
committed
Fix python postcommit
1 parent 5cd9829 commit 7ba44ff

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run.",
3-
"modification": 33
3+
"modification": 34
44
}
55

sdks/python/test-suites/direct/common.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ tasks.register("hdfsIntegrationTest") {
185185
// needs generated srcs in sdks/python
186186
dependsOn ':sdks:python:sdist'
187187

188+
doFirst {
189+
exec {
190+
executable 'sh'
191+
args '-c', ". ${envdir}/bin/activate && pip install hdfs>=2.1.0,<3.0.0"
192+
}
193+
}
188194
doLast {
189195
exec {
190196
executable 'sh'

0 commit comments

Comments
 (0)