Skip to content
@hep-forge

HEP Forge

Community-maintained distribution of High Energy Physics software and scientific tools for the Conda package manager.

hep-forge

hep-bot version check Render & README Sync

Conda packages for High Energy Physics software that conda-forge doesn't provide, or doesn't build the way HEP users need. The packages are published on the hep-forge channel for linux-64 and linux-aarch64, and they install alongside conda-forge. On Apple Silicon, use the linux-aarch64 packages in Docker. For native macOS or Windows builds, look at conda-forge.

This repository (hep-forge/.github) holds every feedstock as a submodule, plus the shared CI templates, the scripts and hep-bot.

Where to start

I want to... Go to
install a package Install, then pick from the package table
know whether a package is up to date, or why it isn't @hep-bot status <pkg> in any issue or pull request
get software packaged that isn't here Package new software
publish a new version, or fix a broken one Common tasks
learn how hep-forge works comment @hep-bot help on any issue: hep-bot answers with every command and a short guide per topic

Install

conda install -c hep-forge -c conda-forge <package>

ROOT comes from conda-forge: every hep-forge package that uses ROOT is built on conda-forge's root_base and pins the exact build it was compiled with.

conda install -c hep-forge -c conda-forge root rivet lhapdf pythia

Pythia and Geant pick the generation by version: pythia is PYTHIA 8 and "pythia<8" is PYTHIA 6; geant is Geant4 and "geant<4" is Geant3.

For a reproducible setup, use an environment.yml:

name: myhep
channels: [hep-forge, conda-forge]
dependencies: [root, lhapdf, cernlib]
conda env create -f environment.yml && conda activate myhep

Packages

"Latest tag" is the feedstock's newest release tag. "Published" is what anaconda.org serves. render-sync refreshes this table every day.

Last refreshed: 2026-11-14 (python3 scripts/update_readme_status.py)

Feedstock Latest tag Published amd64 arm64
acts 46.8.1 46.8.1 ✅ ✅
afterburner 0.2.1 0.2.1 ✅ ✅
apfel 3.1.1 3.1.1 ✅ ✅
apfelgrid 1.0.1 1.0.1 ✅ ✅
apfelxx 4.10.0 4.10.0 ✅ ✅
applgrid 1.6.49 1.6.49 ✅ ✅
cernlib 2024.09.16.0-free 2024.09.16.0.free ✅ ✅
cfg 10.5.9 10.5.9 ✅ ✅
chaplin 1.2 1.2 ✅ ✅
cm 10.3.13 10.3.13 ✅ ✅
collier 1.2.10 1.2.10 ✅ ✅
combiner 0.1.1 0.1.1 ✅ ✅
covfie 0.15.6 0.15.6 ✅ ✅
cuba 4.2.2 4.2.2 ✅ ✅
cubature 1.0.4 1.0.4 ✅ ✅
curlpp 0.8.1.1 0.8.1.1 ✅ ✅
cuttools 2.0 2.0 ✅ ✅
dd4hep 1.37 1.37 ✅ ✅
delphes 3.5.1 3.5.1 ✅ ✅
difftop 1.0.0 1.0.0 ✅ ✅
djangoh 4.6.21 4.6.21 ✅ ✅
dyturbo 1.4.2 1.4.2 ✅ ✅
edm4hep 1.0.0 1.0.0 ✅ ✅
eic-smear 1.2.3 1.2.3 ✅ ✅
eko 0.14.6 0.14.6 ✅ ✅
emela 1.0.1 1.0.1 ✅ ✅
epic 26.06.0 26.06.0 ✅ ✅
escalade v9.08.26 v9.08.26 ✅ ✅
estarlight 1.2.0 1.2.0 ✅ ✅
fairmq 1.11.0 1.11.0 ✅ ✅
fastjet-contrib 1.105 1.105 ✅ ✅
fastjet 3.5.3 3.5.3 ✅ ✅
fastnlo 2.6.0 2.6.0 ✅ ✅
framel 8.50.3 8.50.3 ✅ ✅
framel-root 8.50.3 8.50.3 ✅ ✅
g4hepem 20251114 20251114 ✅ ✅
gaudi 40.6 40.6 ✅ ✅
geant 11.4.3 11.4.3 ✅ ✅
gosam 3.0.3 3.0.3 ✅ ✅
hammer 2.0.0 2.0.0 ✅ ✅
hathor 2.0 2.0 ✅ ✅
hell 3.1 3.1 ✅ ✅
hellx 3.0 3.0 ✅ ✅
hepmc 3.3.1 3.3.1 ✅ ✅
hepmc-merger 2.4.0 2.4.0 ✅ ✅
herwig7 7.3.0 7.3.0 ✅ ✅
hoppet 2.2.0 2.2.0 ✅ ✅
inih r60 r60 ✅ ✅
iregi 1.1.0 1.1.0 ✅ ✅
jana 2026.03.01 2026.03.01 ✅ ✅
jetphox 1.3.1_4 1.3.1.4 ✅ ✅
kalman 1.0.0 1.0.0 ✅ ✅
kfrlib-benchmark 2026.06.23 2026.06.23 ✅ ✅
kfrlib 7.2.0 7.2.0 ✅ ✅
lcg-relax 6.1.2 6.1.2 ✅ ✅
lhapdf 6.5.6 6.5.6 ✅ ✅
libdate-tz 3.0.5 3.0.5 ✅ ✅
looptools 2.16 2.16 ✅ ✅
mcfm 10.3-applgrid 10.3.applgrid ✅ ✅
mg5amcnlo 3.8.1 3.8.1 ✅ ✅
minio-cpp 0.3.0.1 0.3.0.1 ✅ ✅
mpfun90 2024.12.06 2024.12.06 ✅ ✅
nestdaq 1.0.0 1.0.0 ✅ ✅
ninja-hep-ph 1.2.1 1.2.1 ✅ ✅
nlojetxx 4.1.3 4.1.3 ✅ ✅
nnlojet 1.0.0 1.0.0 ✅ ✅
nnpdf 4.0.9 4.0.9 ✅ ✅
npsim 1.6.1 1.6.1 ✅ ✅
numdiff 5.9.0 5.9.0 ✅ ✅
oneloop 3.7.2 3.7.2 ✅ ✅
pepper 1.14.1 1.14.1 ✅ ✅
phlex 0.4.3 0.4.3 ✅ ✅
pineappl 0.8.6 0.8.6 ✅ ✅
ploughshare 0.0.20 0.0.20 ✅ ✅
podio 1.7.0 1.7.0 ✅ ✅
professor 2.5.9 2.5.9 ✅ ✅
pythia 8.3.12 8.3.12 ✅ ✅
qcdloop 2.1.0 2.1.0 ✅ ✅
qcdnum 18.00.00 18.00.00 ✅ ✅
rapgap 3.310 3.310 ✅ ✅
rave 0.6.25 0.6.25 ✅ ✅
rivet 4.1.3 4.1.3 ✅ ✅
root-plus gamma gamma ✅ ✅
roounfold 3.1.0 3.1.0 ✅ ✅
scirooplot 3.3.3 3.3.3 ✅ ✅
sherpa 2.2.16 2.2.16 ✅ ✅
sz3 3.4.0 3.4.0 ✅ ✅
thepeg 2.3.0 2.3.0 ✅ ✅
troll 3.3 3.3 ✅ ✅
vgm 5.5 5.5 ✅ ✅
vmc 2.2 2.2 ✅ ✅
xfitter-dev 2.2.1 2.2.1 ✅ ✅
xfitter 2.2.1 2.2.1 ✅ ✅
yadism 0.12.5 0.12.5 ✅ ✅
yoda 2.1.4 2.1.4 ✅ ✅

⚠️ = the latest feedstock tag is not published on anaconda.org (build failed or still running); tag X-y publishes as X.y.

Working with hep-bot

hep-bot does the routine work for you. You talk to it in GitHub issues: write @hep-bot <command> in a new issue or a comment, in this repo or in any feedstock. It reacts with 👀 and answers in the same thread, usually within a minute. A repo it doesn't know yet (a feedstock made by hand) gets its answer from the sweep within 20 minutes.

Commands

Command What it does Who
@hep-bot help [<topic>] Lists every command with a short guide per topic, or posts one guide anyone
@hep-bot status [<pkg>] The feedstock's tags, its last builds and what is published on anaconda.org anyone
@hep-bot new <pkg> <upstream-url> [license=<spdx>] [maintainers=a,b] [summary] Creates hep-forge/<pkg>-feedstock with a starter recipe members
@hep-bot rerun [<pkg>] <tag> Rebuilds and publishes an existing tag, using the recipe as it was at that tag members
@hep-bot rerender [<pkg>] Refreshes the feedstock's CI and bot files, and registers it here if needed members

"Members" means org members and repo collaborators. Inside a feedstock, <pkg> is that feedstock and can be left out. Plain wording works ("@hep-bot, please rerender"), and so do questions: @hep-bot how do I publish a new version? gets the guide about releases. In pull requests hep-bot answers help and status only. The New feedstock and Rerender feedstock forms under New issue do the same as new and rerender.

The guides are short pages in scripts/hep_bot/guide/, also readable on GitHub: new (package new software), recipe, release (tags, head, labels), rerun, rerender, updates (the daily version check) and install.

Package new software

  1. Check that it belongs here: compiled HEP software that conda-forge doesn't have, or doesn't build the way HEP users need. Pure-Python packages are already on pip, and generic libraries belong on conda-forge.
  2. Open a New feedstock issue, or comment @hep-bot new mypkg https://github.com/org/mypkg license=MIT in an issue here. hep-bot creates hep-forge/mypkg-feedstock and replies with the link.
  3. Write the recipe in recipe/ (version and sha256, dependencies, build.sh, a real test) in a PR on the feedstock. @hep-bot help recipe lists what it needs. Coding agents should read AGENTS.md first.
  4. Once the PR is merged, push the version as a tag on main: git tag 1.2.3 && git push origin 1.2.3. That builds and publishes it, and from then on the daily version check keeps it up to date.

If the feedstock repo already exists (made by hand or by an agent), use @hep-bot rerender mypkg instead of step 2. Locally, make new-feedstock NAME=mypkg REPO=<upstream-url> does the same as step 2.

Common tasks

Task How
See what is built and published @hep-bot status <pkg>
Fix a feedstock made by hand @hep-bot rerender in that feedstock
Publish a release push the version tag on main (git tag 1.2.3 && git push origin 1.2.3), or wait for the next daily version check
Re-publish a recipe fix under the same version merge the fix, then move the tag: git tag -f 1.2.3 && git push -f origin refs/tags/1.2.3 (rerun would rebuild the recipe as it was at the tag)
Retry a build that failed outside the recipe (runner, download, missing dependency) @hep-bot rerun 1.2.3
Follow upstream main create a head tag once; hep-bot moves it whenever upstream gets a new commit

Nothing is published without a tag. Merging a PR or pushing to main only changes the recipe.

How a feedstock builds

  • Only a tag builds. Pushing a tag such as 3.5.3 to a feedstock runs autoupload.yml: conda build recipe on linux-64 and linux-aarch64 (macos-arm64 is compiled but not published), then an upload to anaconda.org. Merging a PR or pushing to main publishes nothing.
  • A numeric tag is a release: tag X-y publishes as X.y, and the tag must be a key of the versions dict in recipe/meta.yaml.
  • head is the tag that tracks upstream main/master. The recipe maps the version head to the upstream branch (with a git source, git_rev: {{ versions.get(version, "HEAD") }} already does that). It publishes as version head, which conda ranks below every release, so you only get it if you ask for it: conda install -c hep-forge xfitter=head. hep-bot rebuilds head when upstream main moves.
  • Branches are anaconda labels. main publishes to main, and a legacy branch publishes to legacy (conda install -c hep-forge/label/legacy pythia). A tag builds the branch it was created from.
  • Each label keeps its newest 2 versions. Older versions are deleted unless they are listed in extra.lts in the recipe or carry the keep label (anaconda copy hep-forge/<pkg>/<version> --from-label main --to-label keep).
  • Recipes pin their own compilers and a glibc 2.17 floor in recipe/conda_build_config.yaml. No conda-forge global pinning is applied. make check-glibc finds packages that leak newer glibc symbols anyway.

Rendering, and what conda-smithy does here

conda smithy rerender does not produce the hep-forge CI. It writes conda-forge's own workflows, which hep-forge doesn't use. The hep-forge render copies a few files from this repo into every registered feedstock:

File in the feedstock Source here
.github/workflows/autoupload.yml scripts/templates/autoupload.yml
.github/workflows/hep-bot-comment.yml scripts/templates/hep-bot-comment.yml
AGENTS.md scripts/templates/AGENTS.md
README.md scripts/generate_readme.py

render-sync does this every day for every feedstock that is a submodule here. A feedstock that is not registered never gets rendered. That is why a repo created by hand ends up with stale or missing workflows. @hep-bot rerender <pkg> registers it and renders it straight away.

I keep the hep-forge specifics in these templates and scripts instead of a conda-smithy fork, because a fork would have to follow every conda-smithy release.

How hep-bot works

hep-bot is GitHub Actions workflows in this repo plus the code in scripts/hep_bot/. There is no server and no separate bot account: it acts with the org secret HEP_BOT_TOKEN, so its comments, pushes and tags appear under the token owner's name. Each feedstock only carries .github/workflows/hep-bot-comment.yml, which runs the code from this repo.

Workflow When What it does
version check Daily, or manually (dry run by default) For every feedstock: bumps the recipe to a newer upstream patch/minor release and tags it, so it builds and publishes. Tags recipes that are ahead of their newest tag, and rebuilds head when upstream main has moved or the recipe changed. Lists new major versions and git sources in the issue [hep-bot] upstream updates that need a human
render-sync Daily, on template changes, or manually Renders every feedstock, refreshes the table above and moves the submodule pointers
ordered rebuild Manually Rebuilds a package and everything that depends on it, tier by tier (dag.yaml)
new feedstock @hep-bot new or the issue form Creates and registers a feedstock
sweep Every 10 minutes Answers @hep-bot requests in any hep-forge repo that the repo's own workflow didn't handle
channel maintenance Mondays, or manually Trims old versions channel-wide and moves master labels to main

Upstream versions come from each recipe's source URL. Add an override in sources.yaml only when that detection is wrong, and set auto_update: false in dag.yaml to leave a package alone.

Under the hood

Everything below runs in this repo or is copied from it.

 issue / comment in any repo ─┐
                              ├─► comment.py ──► workflow in this repo ──► reply on the issue
 sweep (every 10 min) ────────┘                  (render-sync, new-feedstock)

 version check (daily) ────► push a tag on a feedstock ──► its autoupload.yml builds
                                                           amd64 + arm64 ──► anaconda.org
  • Commands. Each registered feedstock carries hep-bot-comment.yml. When an issue or comment mentions @hep-bot, it checks out scripts/hep_bot/comment.py from this repo and runs it, so changing the bot never touches the feedstocks. Short jobs (rerun, status, help) are done right there. Long ones (rerender, new) start render-sync or new-feedstock here, which report back on the issue when they finish.
  • Sweep. Repos without the workflow (new, or made by hand) can't trigger anything. Every 10 minutes the sweep searches the org for @hep-bot requests and form issues from the last week and handles the unanswered ones with the same code.
  • No double answers. Every bot reply ends with a hidden <!-- hep-bot:<id> --> marker naming the request it answered. The sweep skips requests that already have one, and the bot ignores any text carrying a marker, so it never reacts to its own messages.
  • Rendering. render-sync puts each registered feedstock on its main tip, copies the templates from scripts/templates/ (build workflow, bot workflow, AGENTS.md), regenerates the README, pushes, and moves the submodule pointers here. conda-smithy plays no part in this.
  • Version check. For each feedstock it reads the versions dict and source URL of recipe/meta.yaml, finds the newest upstream release (git ls-remote on the upstream repo, or the download page), and either bumps the recipe and pushes the new tag, tags a recipe that is ahead of its newest tag, moves head (upstream committed, or the recipe changed since head was built), or lists the package in the tracking issue.
  • Publishing. Only a tag push builds. The feedstock's own autoupload.yml builds linux-64 and linux-aarch64, uploads to anaconda.org under the branch's label, and trims old versions.
  • Identity. All of this acts with the org secret HEP_BOT_TOKEN, a fine-grained token with Contents, Workflows, Actions, Issues and Administration rights on the org's repos. Regenerating it means updating the org secret straight away. Uploads use ANACONDA_API_TOKEN.

Maintenance from a clone

git clone --recurse-submodules git@github.com:hep-forge/.github.git hep-feedstocks
cd hep-feedstocks
make status            # tags, labels and the latest run per feedstock (ARGS="--failed")
make inspect pythia    # published versions, tags, runs and error log for one package
make retag fastjet     # move the latest tag to main and rebuild with the current recipe
make rerun fastjet     # rebuild the latest tag as it is
make bot-check         # version check, dry run
make root-bump VERSION=6.40   # add a ROOT version to the downstream build matrices (keeps 2)
make check-glibc       # find published binaries that need a newer glibc than 2.17

Package names are bare (root, not root-feedstock). The full list is in the Makefile.

Self-hosted runners

GitHub-hosted runners stop after 6 hours, which is tight for ROOT. To use your own machine, register an org runner (hep-forge → Settings → Actions → Runners → New self-hosted runner) with the label hep-forge-amd64 or hep-forge-arm64, and set that leg's runs-on in the feedstock's autoupload.yml, e.g. runs-on: [self-hosted, linux, ARM64, hep-forge-arm64]. Don't do that in the template, or render-sync overwrites it for every feedstock.

Analysis replay

analyses/run_analysis.sh runs a Rivet analysis in a locked environment and compares the result with a reference .yoda file in analyses/reference/. The analysis replay workflow runs the same thing on a self-hosted runner.

License

MIT. Each package keeps its own upstream license.

Popular repositories Loading

  1. .github .github Public

    Python

  2. cernlib-feedstock cernlib-feedstock Public

    Makefile

  3. mcfm-feedstock mcfm-feedstock Public

    Shell

  4. xfitter-feedstock xfitter-feedstock Public

    Makefile

  5. applgrid-feedstock applgrid-feedstock Public

    Makefile

  6. dyturbo-feedstock dyturbo-feedstock Public

    Makefile

Repositories

Showing 10 of 101 repositories

Top languages

Loading…

Most used topics

Loading…