[STDERR]
ERROR × Multiple setup.py found and couldn’t decide which one to use: Found: [
"/app/ri.jemma.main.job.00000002-f0a5-8992-aeba-b3d43d8d1f8d-dce72e1c-bf76-4b0b-b900-b6bfae105b0f/repo/transforms-model-training/src/setup.py",
"/app/ri.jemma.main.job.00000002-f0a5-8992-aeba-b3d43d8d1f8d-dce72e1c-bf76-4b0b-b900-b6bfae105b0f/repo/transforms-model-training/src/setup.py.template",
]
What puzzles me is that in the “Project setup” section of the docs both setup.py and setup.py.template are shown side-by-side without any mention of a conflict—and the tutorial itself doesn’t indicate how to tell Foundry which one to pick.
Yes, I did try deleting the setup.py.template file, but that just led to a different error:
[STDERR]
WARN Traceback (most recent call last):
WARN File "/app/ri.jemma.main.job.00000002-f299-1b66-9dc8-8dc784290303-f17780c2-5916-41ff-a526-cd4890d7a212/repo/transforms-model-training/build/conda/run-env/bin/transforms", line 11, in <module>
WARN sys.exit(main())
WARN ^^^^^^
WARN File "/app/ri.jemma.main.job.00000002-f299-1b66-9dc8-8dc784290303-f17780c2-5916-41ff-a526-cd4890d7a212/repo/transforms-model-training/build/conda/run-env/lib/python3.12/site-packages/transforms/bin/__main__.py", line 47, in main
WARN args.function(args)
WARN File "/app/ri.jemma.main.job.00000002-f299-1b66-9dc8-8dc784290303-f17780c2-5916-41ff-a526-cd4890d7a212/repo/transforms-model-training/build/conda/run-env/lib/python3.12/site-packages/transforms/bin/buildgraph.py", line 84, in main
WARN pipeline = Pipeline._from_entry_point(**kwargs)
WARN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
WARN File "/app/ri.jemma.main.job.00000002-f299-1b66-9dc8-8dc784290303-f17780c2-5916-41ff-a526-cd4890d7a212/repo/transforms-model-training/build/conda/run-env/lib/python3.12/site-packages/transforms/api/_pipeline.py", line 272, in _from_entry_point
WARN raise _errors.EntryPointError(
WARN transforms._errors.EntryPointError: "Key root was not found, please check your repo's meta.yaml and setup.py files"
ERROR × User code error
Maestro version 0.479.0
Besides, in the tutorial’s “Project setup” section both setup.cfg and setup.py.template are shown side-by-side without any instruction to remove one. I expected Foundry to handle both files correctly out of the box.