osl-incubator / scicookie

Cookiecutter template for a Python package.
https://osl-incubator.github.io/scicookie
Other
14 stars 18 forks source link

fix: Fix comment about semantic-release #303

Closed YurelyCamacho closed 4 months ago

YurelyCamacho commented 4 months ago

Pull Request description

Fixing comment about semantic-release in poetry/pyproject.toml file

Pull Request checklists

This PR is a:

About this PR:

Author's checklist:

Reviewer's Checklist

YurelyCamacho commented 4 months ago

@xmnlab When running the test that fails locally it appears:

16:00 $ ./tests/smoke/linters.sh
-------------------- Smoke test for use_bandit=yes -------------------
+ PATH_ORI=/home/usuario/miniconda3/envs/scicookie/bin:/home/usuario/miniconda3/condabin:/home/usuario/.sdkman/candidates/sbt/current/bin:/home/usuario/.sdkman/candidates/java/current/bin:/home/usuario/.pyenv/plugins/pyenv-virtualenv/shims:/home/usuario/.pyenv/shims:/home/usuario/.pyenv/bin:/home/usuario/miniconda3/envs/tesis/bin:/home/usuario/miniconda3/condabin:/home/usuario/.poetry/bin:/home/usuario/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/usuario/.local/share/coursier/bin
++ pwd
+ PWD_ORI=/home/usuario/projects/cookiecutter-python
+++ dirname /home/usuario/projects/cookiecutter-python/tests/smoke/base.sh
++ cd /home/usuario/projects/cookiecutter-python/tests/smoke
++ cd ../..
++ pwd
+ PROJECT_PATH=/home/usuario/projects/cookiecutter-python
++ ensureconda --conda --no-install
++ sed 's:/mamba$:/conda:'
/home/usuario/projects/cookiecutter-python/tests/smoke/base.sh: línea 9: ensureconda: orden no encontrada
+ CONDA_PATH=
++ ensureconda --mamba --no-install
++ sed 's:/conda$:/mamba:'
/home/usuario/projects/cookiecutter-python/tests/smoke/base.sh: línea 10: ensureconda: orden no encontrada
+ MAMBA_PATH=
+ [[ ! -f '' ]]
+ echo '[EE] '\''mamba'\'' not found.'
[EE] 'mamba' not found.
+ exit 1
xmnlab commented 4 months ago

Could you also change the pre-commit-config.yaml in the template side, chaging ruff linter to ruff check?

About the error you mentioned. Do you have mamba locally?

xmnlab commented 4 months ago

Could you also change the pre-commit-config.yaml in the template side, chaging ruff linter to ruff check?

About the error you mentioned. Do you have mamba locally?

a friendly reminder about this

YurelyCamacho commented 4 months ago

@xmnlab Sorry I had not seen this until now. I'm going to do it

YurelyCamacho commented 4 months ago

@xmnlab Done

xmnlab commented 4 months ago

Thanks @YurelyCamacho Just to give some context, semantic relase is configured to search by a specific string in that file and uses " # semantic-release" as part of its search .. anything different would return nothing. That it is why it is important, it is not just a comment :)

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 0.9.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: