Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrades --force to --yes for conda commands #44

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ runs:
source $CONDA/etc/profile.d/conda.sh
conda init bash
sed -i 's/- python >=3.*$/- python ${{ inputs.python-version }}.*/' environment.yaml
conda env create -f environment.yaml --name anaconda-packaging-utils --force
conda env create -f environment.yaml --name anaconda-packaging-utils --yes
conda run --name anaconda-packaging-utils pip install .
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache

environment: ## handles environment creation
conda env create -f environment.yaml --name $(CONDA_ENV_NAME) --force
conda env create -f environment.yaml --name $(CONDA_ENV_NAME) --yes
conda run --name $(CONDA_ENV_NAME) pip install .

help:
Expand All @@ -86,7 +86,7 @@ install: clean ## install the package to the active (current environment's)
pip install .

dev: clean ## install the package's development version to a fresh environment
conda env create -f environment.yaml --name $(CONDA_ENV_NAME) --force
conda env create -f environment.yaml --name $(CONDA_ENV_NAME) --yes
conda run --name $(CONDA_ENV_NAME) pip install -e .
$(CONDA_ACTIVATE) $(CONDA_ENV_NAME) && pre-commit install

Expand Down
Loading