mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
fix testing on pypy
This commit is contained in:
parent
4dd7ecf640
commit
7172afdd81
5 changed files with 27 additions and 24 deletions
|
|
@ -1,12 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
read -r -a env_paths <<< "${CONDA_ENV_PATHS//, /$IFS}";
|
||||
read -r -a env_names <<< "${CONDA_ENV_NAMES//, /$IFS}";
|
||||
read -r -a env_py_paths <<< "${CONDA_ENV_BIN_PYTHON_PATHS//, /$IFS}";
|
||||
read -r -a py_versions <<< "${SUPPORTED_PYTHON_VERSIONS//, /$IFS}";
|
||||
|
||||
for i in ${!env_paths[@]}; do
|
||||
env_path=${env_paths[i]};
|
||||
env_path_python=${env_path}/bin/python;
|
||||
for i in ${!env_py_paths[@]}; do
|
||||
env_path_python=${env_py_paths[i]};
|
||||
env_name=${env_names[i]};
|
||||
py_version=${py_versions[i]};
|
||||
|
||||
|
|
@ -19,6 +18,8 @@ for i in ${!env_paths[@]}; do
|
|||
${CONDA_BIN} install --name ${env_name} --channel conda-forge --yes --quiet \
|
||||
$(grep -o '^[^#][^ ]*' requirements/conda.txt)
|
||||
|
||||
${env_path_python} -m ensurepip;
|
||||
|
||||
${env_path_python} --version >> build/envs.txt.tmp \
|
||||
2>>build/envs.txt.tmp \
|
||||
1>>build/envs.txt.tmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue