This is an automated email from the ASF dual-hosted git repository.
kou 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 12ae9a49e9 GH-50017: [CI][Release] Remove deprecated -f (force) flag
from conda create on Windows verification job (#50018)
12ae9a49e9 is described below
commit 12ae9a49e9e463ea832ab1d79638321fa3097fe0
Author: Raúl Cumplido <[email protected]>
AuthorDate: Fri May 22 23:43:07 2026 +0200
GH-50017: [CI][Release] Remove deprecated -f (force) flag from conda create
on Windows verification job (#50018)
### Rationale for this change
The verification job is currently failing due to deprecated flag
### What changes are included in this PR?
Remove unnecessary deprecated flag
Install dependencies using pip from conda instead of system pip.
### Are these changes tested?
Yes via CI
### Are there any user-facing changes?
No
* GitHub Issue: #50017
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/verify-release-candidate.bat | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dev/release/verify-release-candidate.bat
b/dev/release/verify-release-candidate.bat
index c3818a8b97..5d903fdef0 100644
--- a/dev/release/verify-release-candidate.bat
+++ b/dev/release/verify-release-candidate.bat
@@ -60,10 +60,11 @@ set PYTHON=3.10
@rem Using call with conda.bat seems necessary to avoid terminating the batch
@rem script execution
-call conda create --no-shortcuts -c conda-forge -f -q -y -p
%_VERIFICATION_CONDA_ENV% ^
+call conda create --no-shortcuts -c conda-forge -q -y -p
%_VERIFICATION_CONDA_ENV% ^
--file=!ARROW_SOURCE!\ci\conda_env_cpp.txt ^
--file=!ARROW_SOURCE!\ci\conda_env_python.txt ^
git ^
+ pip ^
python=%PYTHON% ^
|| exit /B 1
@@ -132,8 +133,8 @@ popd
@rem Build and import pyarrow
pushd !ARROW_SOURCE!\python
-pip install build || exit /B 1
-pip install -r requirements-test.txt || exit /B 1
+python -m pip install build || exit /B 1
+python -m pip install -r requirements-test.txt || exit /B 1
set CMAKE_GENERATOR=%GENERATOR%
set PYARROW_WITH_FLIGHT=1
@@ -144,7 +145,7 @@ set PYARROW_TEST_CYTHON=OFF
set PYARROW_BUNDLE_ARROW_CPP=ON
python -m build --sdist --wheel . --no-isolation || exit /B 1
@rem Install the built wheel to verify it works
-for %%f in (dist\*.whl) do pip install %%f || exit /B 1
+for %%f in (dist\*.whl) do python -m pip install %%f || exit /B 1
popd
set PYARROW_TEST_PARQUET=ON