https://github.com/catalyst-cooperative/staged-recipes
A place to submit conda recipes before they become fully fledged conda-forge feedstocks
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
546 of 3417 committers (16.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.0%) to scientific vocabulary
Keywords from Contributors
Repository
A place to submit conda recipes before they become fully fledged conda-forge feedstocks
Basic Info
- Host: GitHub
- Owner: catalyst-cooperative
- License: bsd-3-clause
- Language: Python
- Default Branch: main
- Homepage: https://conda-forge.org
- Size: 79.2 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
About
This repo is a holding area for recipes destined for a conda-forge feedstock repo. To find out more about conda-forge, see https://github.com/conda-forge/conda-smithy.
Feedstock conversion status
Failures with the above job are often caused by API rate limits from the various services used by conda-forge. This can result in empty feedstock repositories and will resolve itself automatically. If the issue persists, support can be found on Gitter.
Getting started
- Fork this repository.
- Make a new folder in
recipesfor your package. Look at the example recipe, our documentation and the FAQ for help. - Open a pull request. Building of your package will be tested on Windows, Mac and Linux.
- When your pull request is merged a new repository, called a feedstock, will be created in the github conda-forge organization, and build/upload of your package will automatically be triggered. Once complete, the package is available on conda-forge.
Grayskull - recipe generator for Python packages on pypi
For Python packages available on pypi it is possible to use grayskull to generate the recipe. The user should review the recipe generated, specially the license and dependencies.
Installing grayskull: conda install -c conda-forge grayskull
Generating recipe: grayskull pypi PACKAGE_NAME_HERE
FAQ
1. How do I start editing the recipe?
Look at one of these examples in this repository and modify it as necessary.
Your final recipe should have no comments and follow the order in the example.
If there are details you are not sure about please open a pull request. The conda-forge team will be happy to answer your questions.
2. How do I populate the hash field?
If your package is on PyPI, you can get the sha256 hash from your package's page on PyPI; look for the SHA256 link next to the download link for your package.
You can also generate a hash from the command line on Linux (and Mac if you install the necessary tools below). If you go this route, the sha256 hash is preferable to the md5 hash.
To generate the md5 hash: md5 your_sdist.tar.gz
To generate the sha256 hash: openssl sha256 your_sdist.tar.gz
You may need the openssl package, available on conda-forge:
conda install openssl -c conda-forge
3. How do I exclude a platform?
Use the skip key in the build section along with a selector:
yaml
build:
skip: true # [win]
A full description of selectors is in the conda docs.
If the package can otherwise be noarch you can also skip it by using virtual packages.
Note: As the package will always be built on linux, it needs to be at least available on there.
4. What does the build: 0 entry mean?
The build number is used when the source code for the package has not changed but you need to make a new build. For example, if one of the dependencies of the package was not properly specified the first time you build a package, then when you fix the dependency and rebuild the package you should increase the build number.
When the package version changes you should reset the build number to 0.
5. Do I have to import all of my unit tests into the recipe's test field?
No, you do not.
6. Do all of my package's dependencies have to be in conda(-forge) already?
Short answer: yes. Long answer: In principle, as long as your dependencies are in at least one of your user's conda channels they will be able to install your package. In practice, that is difficult to manage, and we strive to get all dependencies built in conda-forge.
7. When or why do I need to use {{ PYTHON }} -m pip install . -vv?
This should be the default install line for most Python packages. This is preferable to python setup.py because it handles metadata in a conda-friendlier way.
8. Do I need bld.bat and/or build.sh?
In many cases, no. Python packages almost never need it. If the build can be done with one line you can put it in the script line of the build section.
9. What does being a conda-forge feedstock maintainer entail?
The maintainers "job" is to:
- keep the feedstock updated by merging eventual maintenance PRs from conda-forge's bots;
- keep the package updated by bumping the version whenever there is a new release;
- answer eventual question about the package on the feedstock issue tracker.
10. Why are there recipes already in the recipes directory? Should I do something about it?
When a PR of recipe(s) is ready to go, it is merged into main. This will trigger a CI build specially designed to convert the recipe(s). However, for any number of reasons the recipe(s) may not be converted right away. In the interim, the recipe(s) will remain in main until they can be converted. There is no action required on the part of recipe contributors to resolve this. Also it should have no impact on any other PRs being proposed. If these recipe(s) pending conversion do cause issues for your submission, please ping conda-forge/core for help.
11. Some checks failed, but it wasn't my recipe! How do I trigger a rebuild?
Sometimes, some of the CI tools' builds fail due to no error within your recipe. If that happens, you can trigger a rebuild by re-creating the last commit and force pushing it to your branch:
```bash
edit your last commit, giving it a new time stamp and hash
(you can just leave the message as it is)
git commit --amend
push to github, overwriting your branch
git push -f ```
If the problem was due to scripts in the staged-recipes repository, you may be asked to "rebase" once these are fixed. To do so, run:
```bash
If you didn't add a remote for conda-forge/staged-recipes yet, also run
these lines:
git remote add upstream https://github.com/conda-forge/staged-recipes.git
git fetch --all
git rebase upstream/main git push -f ```
12. My pull request passes all checks, but hasn't received any attention. How do I call attention to my PR? What is the customary amount of time to wait?
If your PR is passing all checks, but has not been acted on by the staged recipes maintainers, you can ping @conda-forge/staged-recipes to request action. You do not need to wait any specific amount of time once the recipe is ready to go.
Due to GitHub limitations first time contributors to conda-forge are unable
to ping these teams. You can ping the team
using a special command in a comment on the PR to get the attention of the staged-recipes team.
If your recipe still does not receive any attention after a few days, you may attempt to re-ping @conda-forge/staged-recipes. You may also attempt to bring the PR up in our Gitter chat room at https://gitter.im/conda-forge/conda-forge.github.io.
All apologies in advance if your recipe PR does not recieve prompt attention. This is a high volume repository and issues can easily be missed. We are always looking for more staged-recipe reviewers. If you are interested in volunteering, please contact a member of @conda-forge/core. We'd love to have the help!
Owner
- Name: Catalyst Cooperative
- Login: catalyst-cooperative
- Kind: organization
- Email: hello@catalyst.coop
- Location: United States of America
- Website: https://catalyst.coop
- Twitter: CatalystCoop
- Repositories: 82
- Profile: https://github.com/catalyst-cooperative
Catalyst is a small data engineering cooperative working on electricity regulation and climate change.
GitHub Events
Total
Last Year
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Travis-CI on github.com/conda-forge/staged-recipes | c****e@g****m | 8,519 |
| conda-forge-admin | p****e@g****m | 2,621 |
| Jan Janssen | j****n | 2,023 |
| Matt Chan | t****n@g****m | 1,196 |
| Isuru Fernando | i****f@g****m | 1,058 |
| Anthony Scopatz | s****z@g****m | 1,020 |
| Filipe Fernandes | o****f@g****m | 994 |
| Christian Brueffer | c****n@b****o | 984 |
| John Kirkham | k****j@j****g | 875 |
| Gonzalo Peña-Castellanos | g****a@g****m | 854 |
| Pete[r] M. Landwehr | p****r@g****m | 681 |
| BastianZim | 1****m | 651 |
| Devon Ryan | d****9@g****m | 635 |
| Mark Harfouche | m****e@g****m | 577 |
| Nicholas Bollweg | n****g@g****m | 551 |
| Patrick Sodré | p****e@g****m | 521 |
| rluria14 | r****4@g****m | 516 |
| Matthew R Becker | b****r@g****m | 483 |
| Silvio Traversaro | s****o@t****t | 478 |
| oblute | o****e@g****m | 474 |
| Sanny Kumar | s****p@g****m | 461 |
| Tobias Fischer | i****o@t****o | 414 |
| Chris Burr | c****r | 410 |
| Jaime Rodríguez-Guerra | j****p | 406 |
| Sugato Ray | s****y | 400 |
| Marius van Niekerk | m****k@g****m | 357 |
| sarthakpati | s****i@h****m | 351 |
| Duncan Macleod | d****d@l****g | 342 |
| Ista Zahn | i****n@g****m | 325 |
| Julian Rüth | j****h@f****g | 320 |
| and 3,387 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- zschira (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/github-script v6 composite
- actions/checkout v2 composite
- beckermr/turnstyle-python v1 composite