Billingegroup / staged-recipes-cookiecutter

Cookiecutter for uploading to conda-forge.
Other
1 stars 4 forks source link

Update meta.yml based on diffpy.snmf conda forge PR feedback #10

Closed bobleesj closed 1 month ago

bobleesj commented 2 months ago

We received feedback from the conda-forge reviewer on diffpy.snmf

https://github.com/conda-forge/staged-recipes/pull/27265

The major feedback is

Then, if needed, we shall update meta.yaml in here in staged-recipes cookiecutter , and updating the meta.yaml for all the projects already on conda-forge

caineblood commented 2 months ago

The above comment asking you to download a file is malware to steal your account; do not under any circumstances download or run it. The post needs to be removed. If you have attempted to run it please have your system cleaned and your account secured immediately.

bobleesj commented 2 months ago

It was suggested by the diffpy.snmf conda-forge reviewer that we do not use SHA as a variable:

We want to minimise the use of Jinja in conda-forge as this has regularly come up as a source of issues with the tooling we have built for conda-forge (mostly in smithy and the autotick bot). Thus if you use a value only once, don't put it in a jinja variable.

source: https://github.com/conda-forge/staged-recipes/pull/27265#discussion_r1736210779

I will try to make a pull request. This was suggested by @sbillinge to make an update in this repo and meta.yml files in all other projects so that conform to conda-forge's best practice.

@Sparks29032

bobleesj commented 1 month ago

Closing this - all recommendations were implemented in https://github.com/Billingegroup/staged-recipes-cookiecutter/pull/11 and https://github.com/Billingegroup/staged-recipes-cookiecutter/pull/19 except preserve_egg_dir=true, the PR still being open.