File tree Expand file tree Collapse file tree 16 files changed +33
-26
lines changed
example-autograder-correct
autograder-r-requirements-correct
test_run/files/autograder/source Expand file tree Collapse file tree 16 files changed +33
-26
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ** v6.1.5 (unreleased):**
4+
5+ * Pin miniforge version in grading image to v25.3.1-0
6+ * Upgrade ottr in grading image to v1.5.2
7+
38** v6.1.4:**
49
510* Fixed R assignment grading to assign partial credit for all test cases (restoring an unintended change to pre-v6 behavior) per [ #935 ] ( https://github.com/ucbds-infra/otter-grader/issues/935 )
Original file line number Diff line number Diff line change 2323
2424DEFAULT_PYTHON_VERSION = "3.12"
2525JINJA_ENV = Environment (loader = PackageLoader (__name__ ), keep_trailing_newline = True )
26+ MINIFORGE_VERSION = "25.3.1-0"
2627OTTER_ENV_NAME = "otter-env"
27- OTTR_VERSION = "1.5.0 "
28+ OTTR_VERSION = "1.5.2 "
2829TEMPLATE_DIR = importlib .resources .files (__name__ ) / "templates"
2930
3031
@@ -251,6 +252,7 @@ def main(
251252 "ottr_version" : OTTR_VERSION ,
252253 "channel_priority_strict" : channel_priority_strict ,
253254 "has_r_requirements" : False ,
255+ "miniforge_version" : MINIFORGE_VERSION ,
254256 }
255257
256258 if plugin_collection is None :
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dpkg -i /tmp/pandoc.deb
1313
1414# install mamba
1515if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
16- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
16+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/{{ miniforge_version }} /Miniforge3-Linux-aarch64.sh \
1717 -O {{ autograder_dir }}/source/mamba_install.sh ; \
18- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
18+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/{{ miniforge_version }} /Miniforge3-Linux-x86_64.sh \
1919 -O {{ autograder_dir }}/source/mamba_install.sh ; \
2020fi
2121chmod +x {{ autograder_dir }}/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ dpkg -i /tmp/pandoc.deb
1818
1919# install mamba
2020if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
21- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
21+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/{{ miniforge_version }} /Miniforge3-Linux-aarch64.sh \
2222 -O {{ autograder_dir }}/source/mamba_install.sh ; \
23- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
23+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/{{ miniforge_version }} /Miniforge3-Linux-x86_64.sh \
2424 -O {{ autograder_dir }}/source/mamba_install.sh ; \
2525fi
2626chmod +x {{ autograder_dir }}/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dpkg -i /tmp/pandoc.deb
1313
1414# install mamba
1515if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
16- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
16+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-aarch64.sh \
1717 -O /autograder/source/mamba_install.sh ; \
18- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
18+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-x86_64.sh \
1919 -O /autograder/source/mamba_install.sh ; \
2020fi
2121chmod +x /autograder/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dpkg -i /tmp/pandoc.deb
1313
1414# install mamba
1515if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
16- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
16+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-aarch64.sh \
1717 -O /autograder/source/mamba_install.sh ; \
18- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
18+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-x86_64.sh \
1919 -O /autograder/source/mamba_install.sh ; \
2020fi
2121chmod +x /autograder/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ dependencies:
2323 - r-stringi
2424 - r-testthat
2525 - r-usethis
26- - r-ottr==1.5.0
26+ - r-ottr==1.5.2
2727 - pip :
2828 - otter-grader[grading,plugins,r]==6.1.4
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ dpkg -i /tmp/pandoc.deb
1818
1919# install mamba
2020if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
21- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
21+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-aarch64.sh \
2222 -O /autograder/source/mamba_install.sh ; \
23- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
23+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-x86_64.sh \
2424 -O /autograder/source/mamba_install.sh ; \
2525fi
2626chmod +x /autograder/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dpkg -i /tmp/pandoc.deb
1313
1414# install mamba
1515if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
16- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
16+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-aarch64.sh \
1717 -O /autograder/source/mamba_install.sh ; \
18- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
18+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-x86_64.sh \
1919 -O /autograder/source/mamba_install.sh ; \
2020fi
2121chmod +x /autograder/source/mamba_install.sh
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ dpkg -i /tmp/pandoc.deb
1313
1414# install mamba
1515if [ $( uname -p) = " arm" ] || [ $( uname -p) = " aarch64" ] ; \
16- then wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-aarch64.sh \
16+ then wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-aarch64.sh \
1717 -O /autograder/source/mamba_install.sh ; \
18- else wget -nv https://github.com/conda-forge/miniforge/releases/latest/ download/Miniforge3-Linux-x86_64.sh \
18+ else wget -nv https://github.com/conda-forge/miniforge/releases/download/25.3.1-0 /Miniforge3-Linux-x86_64.sh \
1919 -O /autograder/source/mamba_install.sh ; \
2020fi
2121chmod +x /autograder/source/mamba_install.sh
You can’t perform that action at this time.
0 commit comments