Skip to content

ENH extra-deps.txt and Dockerfile.extra to add dependencies to a running challenge - #11

Open
tomMoral wants to merge 1 commit into
benchopt:mainfrom
tomMoral:extra-deps
Open

tomMoral wants to merge 1 commit into
benchopt:mainfrom
tomMoral:extra-deps

Conversation

@tomMoral

@tomMoral tomMoral commented Nov 5, 2026

Copy link
Copy Markdown
Member

Adds extra-deps.txt (empty) for dependencies requested during the challenge, and tools/Dockerfile.extra, which installs it on top of the running image (IMAGE build arg, pinned by digest). The installed packages are frozen as pip constraints, so adding a package cannot upgrade the stack under submissions that are already scored: pip fails the build instead.

requirements.txt includes extra-deps.txt, so local installs and CI pick the extras up, and tools/Dockerfile copies both files. The Participate page says the platform installs nothing, that benchopt solver requirements are ignored, and that a new package comes through a PR to extra-deps.txt.

To ship a new dependency after merge (workers pull the image on every submission, no restage):

docker build -f tools/Dockerfile.extra -t <image>:v1 . && docker push <image>:v1

🤖 Generated with Claude Code

https://claude.ai/code/session_01E9FcXdX5JiHY3tJ46C8LeU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant