Following the docs, I'm trying to write my own recipe provider.
I've tried both provider.py and provider/__init__.py.
Reproducer:
config.yaml
test.py
from gftools.builder.recipeproviders import RecipeProviderBase
class TestProvider(RecipeProviderBase):
def write_recipe(self):
raise NotImplementedError("but it works")
Run: uvx gftools builder config.yaml (or set up & activate a venv more traditionally, same outcome)
Interestingly, it works when invoking gftools.builder under a debugger
Following the docs, I'm trying to write my own recipe provider.
I've tried both
provider.pyandprovider/__init__.py.Reproducer:
config.yamltest.pyRun:
uvx gftools builder config.yaml(or set up & activate a venv more traditionally, same outcome)Interestingly, it works when invoking
gftools.builderunder a debugger