Giter Club home page Giter Club logo

Comments (2)

nibheis avatar nibheis commented on August 25, 2024

The docker image build process is getting stuck : after investigations, we found out that our docker server is hosted somewhere where the "defaults" channel is not accessible. Downloads from the "defaults" channel receive HTTP 429... + retry in ~ 7 hours.

Side note: this happens when the organization is "in violation of Anaconda's terms of use". I don't know exactly what is going on for our hosting partner, but I'm SURE it falls into the exceptions since it is a public provider for the academic world here in Switzerland (switch.ch).

Anyway, I have not found a way to customize the environment.yml file generation ; we have to fix it manually, inside the .zip, file between the 'assign' and 'grade' steps.

Would you consider removing the problematic 'defaults' channel? or providing a way to get it removed on request?

from otter-grader.

chrispyles avatar chrispyles commented on August 25, 2024

@joelostblom for Python environments, otter includes some packages by default as a legacy from its roots as an autograder designed for data science courses. I agree that we could trim out all of the dependencies not specifically required by otter, but that's a breaking change (not sure how many users rely on those packages so that they don't need to use their own requirements.txt). The R dependencies are another matter -- all of the listed dependencies besides r-base, r-devtools, and r-ottr were added to fix issues with images builds as they cropped up. I'm not sure if it will be possible to remove them without breaking R image builds. That being said, I do agree that these environments are bloated, and it would be nice to slim them down; I'm just not sure how much it will be possible. I'm tagging this for v6 but it may get pushed to a later major version depending on whether I get a chance to look into it.

@nibheis thanks for pointing this out. It should be relatively easy to add a configuration that allows you to remove the defaults channel from the environment.yml files produced by otter; I've opened #778 as an FR for that.

from otter-grader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.