Skip to content

Commit

Permalink
Merge pull request #676 from sebhmg/GEOPY-1445
Browse files Browse the repository at this point in the history
GEOPY-1445: force libmamba solver
  • Loading branch information
sebhmg authored Apr 22, 2024
2 parents f8dd47f + 24141d8 commit 43ded14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Install_or_Update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if not exist %MY_CONDA_ENV_FILE% (
)

call "!MY_CONDA!" activate base ^
&& call "!MY_CONDA!" env create --force -n %ENV_NAME% --file %MY_CONDA_ENV_FILE% ^
&& call "!MY_CONDA!" env create -y --solver libmamba -n %ENV_NAME% --file %MY_CONDA_ENV_FILE% ^
&& call "!MY_CONDA!" run -n %ENV_NAME% pip install --upgrade --force-reinstall .[core,apps]

if !errorlevel! neq 0 (
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ You can install the package using ``conda`` and the ``.lock`` files from a conda

.. code-block:: bash
conda env create -n my-env -f environments/[the_desired_env].lock.yml
conda env create --solver libmamba -n my-env -f environments/[the_desired_env].lock.yml
Install with PyPI
-----------------
Expand Down
2 changes: 1 addition & 1 deletion devtools/setup-dev.bat
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set PIP_EXTRA_INDEX_URL=https://test.pypi.org/simple/

set env_path=%project_dir%\.conda-env
call !MY_CONDA_EXE! activate base ^
&& call !MY_CONDA_EXE! env update -p %env_path% --file %project_dir%\environments\py-%PY_VER%-win-64-dev.conda.lock.yml
&& call !MY_CONDA_EXE! env update --solver libmamba -p %env_path% --file %project_dir%\environments\py-%PY_VER%-win-64-dev.conda.lock.yml

if !errorlevel! neq 0 (
pause
Expand Down

0 comments on commit 43ded14

Please sign in to comment.