This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new b97e22c4 ci: don't implicitly install Python driver manager from PyPI
(#943)
b97e22c4 is described below
commit b97e22c4d6524b60bf261e1970155500645be510
Author: David Li <[email protected]>
AuthorDate: Thu Jul 27 12:40:47 2023 -0400
ci: don't implicitly install Python driver manager from PyPI (#943)
Fixes #941.
---
.github/workflows/integration.yml | 4 +++-
ci/scripts/python_build.sh | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/integration.yml
b/.github/workflows/integration.yml
index 31394b84..c293e0f0 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -246,6 +246,7 @@ jobs:
shell: bash -l {0}
env:
BUILD_ALL: "0"
+ BUILD_DRIVER_MANAGER: "1"
BUILD_DRIVER_POSTGRESQL: "1"
run: |
./ci/scripts/python_build.sh "$(pwd)" "$(pwd)/build"
@@ -307,8 +308,9 @@ jobs:
shell: bash -l {0}
env:
BUILD_ALL: "0"
+ BUILD_DRIVER_MANAGER: "1"
BUILD_DRIVER_SNOWFLAKE: "1"
ADBC_SNOWFLAKE_URI: ${{ secrets.SNOWFLAKE_URI }}
run: |
./ci/scripts/python_build.sh "$(pwd)" "$(pwd)/build"
- ./ci/scripts/python_test.sh "$(pwd)" "$(pwd)/build"
+ env BUILD_DRIVER_MANAGER=0 ./ci/scripts/python_test.sh "$(pwd)"
"$(pwd)/build"
diff --git a/ci/scripts/python_build.sh b/ci/scripts/python_build.sh
index a6aeb384..79aeaa28 100755
--- a/ci/scripts/python_build.sh
+++ b/ci/scripts/python_build.sh
@@ -46,7 +46,7 @@ build_subproject() {
export
ADBC_SNOWFLAKE_LIBRARY="${install_dir}/lib/libadbc_driver_snowflake.${ADBC_LIBRARY_SUFFIX}"
fi
- python -m pip install "${source_dir}/python/${subproject}"
+ python -m pip install --no-deps "${source_dir}/python/${subproject}"
}
main() {