Comments (2)
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.
@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)
- ottr::export fails when pdf canβt be generated HOT 16
- ottr::export force_save isn't working HOT 14
- Blank tests summary when exporting student's notebook from tutorial HOT 1
- Remove support for nbconvert<6
- Provide a way to remove the conda defaults channel from the environment.yml file HOT 1
- Migrate PDF via HTML exporter from wkhtmltopdf to nbconvert's webpdf exporter
- Enable PDF via HTML exports in grading containers
- Running the otter-grader tutorial HOT 4
- Convert python notebook to a python script file HOT 2
- Otter run --debug flag does not work
- Gradescope does tests in a different order than in the jupyter notebook HOT 2
- Otter Generate should deduplicate user-specified requirements with otter-provided ones
- Empty assignment config results in AttributeError
- Strip type annotations from generated test files in Otter Assign
- Add process for retrieving the executed notebook to docs
- Add metadata to last solution cell to run hidden test cases if question has no public tests
- Add manually graded questions within the same gradescope assignment
- Add Points Per Question and Total Points to final_grades.csv HOT 2
- Trying to implement a different container engine other than Docker, questions about image build HOT 1
- Otter-grader problems with juno app on ios HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otter-grader.