-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Create PULL_REQUEST_TEMPLATE.md [skip ci] #550
Conversation
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but couldn't find any. |
@ocefpaf I opened a new one here. |
[skip ci]
Nice idea. Will try to review later. I believe one can use |
True. There is also |
I would not worry about |
@@ -0,0 +1,37 @@ | |||
Recipes added with this pull request (max 5): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure that we should have a hard limit on this. For some people, dumping everything in one go is the easiest way to get started. Admittedly, we may end up breaking it up in the end, but it would be better for reviewers and contributors to work together to strike a healthy balance for this on a case-by-case basis.
Maybe some wording can be added to encourage a small number of recipes.
Took a look. Largely in favor of most of it. Some things need tweaks. Here are a couple big points.
|
👍 Correct. See ref. |
I will be out till Monday. Please feel free to open another pull request based on this one and add your comments directly there if you want to merge this as soon as possible. |
- nose | ||
|
||
commands: | ||
- nosetests -sv package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO the point of testing is not really to run CI for the packages that are given to us. Instead it is here to guarantee the following things.
- The compiler didn't mess something up.
- Something didn't go wrong in the linking stage.
- That the package will work in the environment defined.
The first two don't really apply to pure Python packages so let's ignore that for now. As far as solving the last one, importing modules seems to be sufficient for the most part. Running the full test suite is something the developer(s) hopefully are doing on releases at least if not during development as part of CI. Thus, there isn't really much value in us doing it to for pure Python packages. If the Python code does have compiled portions, that is a totally different story.
In the end, there may be a few packages that need something like run_test.py
to do a few more things, but that will probably be determined after it is a feedstock.
In short, I don't think this should be a hard requirement for pure Python packages.
@jakirkham since you have written the guidelines and this is really urgent for people adding adding new recipes, why don't you create another pull request based on this one and add your comments directly to it? so that we can have this merged as fast as possible. We can always iterate this later. |
Closing as "stale." |
@conda-forge/core I create a pull request template. What do you think?