This is an automated email from the ASF dual-hosted git repository.
jorisvandenbossche pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 61203456ed GH-35056: [Python][CI] Don't install gdb on Windows (#35057)
61203456ed is described below
commit 61203456ed33268df0c8c164348a203c7c1be8ca
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Apr 12 17:58:04 2023 +0900
GH-35056: [Python][CI] Don't install gdb on Windows (#35057)
Because it's not available on Windows.
### Rationale for this change
The gdb conda package isn't available on Windows:
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/46748401#L266
```text
C:\projects\arrow>mamba create -n arrow -y -c conda-forge
--file=ci\conda_env_python.txt --file=ci\conda_env_gandiva_win.txt
--file=ci\conda_env_cpp.txt "ccache" "cmake" "ninja" "nomkl"
"pandas" "fsspec" "python=3.10" || exit /B
conda-forge/win-64 Using cache
conda-forge/noarch Using cache
Looking for: ['boto3', 'cffi', 'cython', 'cloudpickle', 'fsspec', 'gdb',
'hypothesis', "numpy[version='>=1.16.6']", 'pytest', 'pytest-faulthandler',
'pytest-lazy-fixture', "s3fs[version='>=2021.8.0']", 'setuptools',
'setuptools_scm', "clangdev[version='<15']", "llvmdev[version='<15']",
'aws-sdk-cpp==1.10.13', "benchmark[version='>=1.6.0']",
"boost-cpp[version='>=1.68.0']", 'brotli', 'bzip2', 'c-ares', 'cmake',
'flatbuffers', 'gflags', 'glog', "gmock[version='>=1.10.0']", "google-cloud
[...]
Could not solve for environment specs
The following package could not be installed
└─ gdb does not exist (perhaps a typo or a missing channel).
C:\projects\arrow>set lastexitcode=1
```
### What changes are included in this PR?
Don't install gdb on Windows.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #35056
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
---
ci/conda_env_python.txt | 1 -
ci/conda_env_unix.txt | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/conda_env_python.txt b/ci/conda_env_python.txt
index 254acbc684..04f985c94b 100644
--- a/ci/conda_env_python.txt
+++ b/ci/conda_env_python.txt
@@ -21,7 +21,6 @@ cffi
cython
cloudpickle
fsspec
-gdb
hypothesis
numpy>=1.16.6
pytest
diff --git a/ci/conda_env_unix.txt b/ci/conda_env_unix.txt
index 1973238adf..6fd35894e4 100644
--- a/ci/conda_env_unix.txt
+++ b/ci/conda_env_unix.txt
@@ -19,5 +19,6 @@
autoconf
ccache
+gdb
orc
pkg-config