Skip to content

Commit 61bf4a3

Browse files
authored
Merge pull request #605 from jhamrick/0.3.x
Create 0.3.2 release
2 parents dea6320 + e64f702 commit 61bf4a3

13 files changed

Lines changed: 101 additions & 44 deletions

File tree

conda.recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
22
name: nbgrader
3-
version: "0.3.1"
3+
version: "0.3.2"
44

55
source:
66
path: ..

dev-requirements-windows.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pytest
2+
pytest-cov
3+
pytest-rerunfailures
4+
coverage
5+
selenium
6+
invoke
7+
sphinx
8+
codecov
9+
cov-core

dev-requirements.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
pytest
2-
pytest-cov
3-
coverage
4-
selenium
5-
invoke
6-
sphinx
7-
codecov
8-
cov-core
1+
-r dev-requirements-windows.txt
92
pyenchant
103
sphinxcontrib-spelling
114
sphinx_rtd_theme

nbgrader/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (0, 3, 1)
1+
version_info = (0, 3, 2)
22
__version__ = '.'.join(map(str, version_info))

nbgrader/apps/notebookapp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
from tornado import ioloop
22
from notebook.notebookapp import NotebookApp
33

4+
45
class FormgradeNotebookApp(NotebookApp):
56
"""A Subclass of the regular NotebookApp that can be spawned by the form grader."""
67
open_browser = False
8+
token = '' # Notebook >=4.3
79

810
def _profile_default(self):
911
return 'nbgrader'

nbgrader/docs/source/changelog.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ A summary of changes to nbgrader.
88
0.3.x
99
-----
1010

11+
0.3.2
12+
~~~~~
13+
14+
Version 0.3.2 of nbgrader includes a few bugfixes pertaining to building nbgrader on conda-forge.
15+
16+
- PR #608: Fix Windows tests
17+
- PR #601: Add shell config for invoke on windows
18+
- PR #593: Send xsrf token in the X-XSRF-Token header for ajax
19+
- PR #588: `basename` to wordslist
20+
- PR #584: Changes for Notebook v4.3 tests
21+
22+
Thanks to lgpage, who made all the changes necessary for the 0.3.2 release!
23+
1124
0.3.1
1225
~~~~~
1326

nbgrader/docs/source/contributor_guide/documentation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ the rst version of it to ``.gitignore``.
3030
Building documentation locally
3131
------------------------------
3232

33+
.. warning::
34+
35+
Building the docs is not currently well-supported on Windows. This is because one of
36+
the dependencies (enchant) does not install easily in Windows.
37+
3338
If you have made changes to the user guide or other notebooks that need to be
3439
executed, please make sure you re-run all the documentation before committing.
3540
While the documentation gets built automatically on Read The Docs, the notebooks do **not** get execute by Read The Docs -- they must be executed manually.

nbgrader/docs/source/contributor_guide/installation_developer.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ nbgrader installs and builds with one command::
1515

1616
pip install -r dev-requirements.txt -e .
1717

18+
Currently, building docs is not supported on Windows because some of the dependencies (enchant)
19+
are not easily installable. Instead of the above command, run the following on windows::
20+
21+
pip install -r dev-requirements-windows.txt -e .
22+
1823
Installing notebook extensions
1924
------------------------------
2025
Install the notebook extensions. The ``--symlink`` option is recommended since it

nbgrader/docs/source/spelling_wordlist.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
admin
22
Afterwards
3+
ajax
34
alchemyst
45
alope
56
app
@@ -16,6 +17,7 @@ autograder
1617
Autograder
1718
autograding
1819
backends
20+
basename
1921
Bitdiddle
2022
bugfix
2123
bugfixes
@@ -152,6 +154,9 @@ whositwhatnow
152154
Wildcards
153155
willingc
154156
wordlist
157+
wordslist
155158
Workflow
156159
workflow
157-
workflows
160+
workflows
161+
xsrf
162+
XSRF

nbgrader/docs/source/user_guide/managing_assignment_files.ipynb

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,9 @@
346346
"output_type": "stream",
347347
"text": [
348348
"total 40\n",
349-
"-rw-r--r-- 1 jhamrick wheel 5733 Sep 22 13:31 jupyter.png\n",
350-
"-rw-r--r-- 1 jhamrick wheel 8174 Sep 22 13:31 problem1.ipynb\n",
351-
"-rw-r--r-- 1 jhamrick wheel 2518 Sep 22 13:31 problem2.ipynb\n"
349+
"-rw-r--r-- 1 jhamrick wheel 5733 Jan 11 09:43 jupyter.png\n",
350+
"-rw-r--r-- 1 jhamrick wheel 8174 Jan 11 09:43 problem1.ipynb\n",
351+
"-rw-r--r-- 1 jhamrick wheel 2518 Jan 11 09:43 problem2.ipynb\n"
352352
]
353353
}
354354
],
@@ -496,8 +496,8 @@
496496
"output_type": "stream",
497497
"text": [
498498
"[SubmitApp | INFO] Source: /private/tmp/student_home/ps1\n",
499-
"[SubmitApp | INFO] Destination: /tmp/exchange/example_course/inbound/jhamrick+ps1+2016-09-22 20:31:47 UTC\n",
500-
"[SubmitApp | INFO] Submitted as: example_course ps1 2016-09-22 20:31:47 UTC\n"
499+
"[SubmitApp | INFO] Destination: /tmp/exchange/example_course/inbound/jhamrick+ps1+2017-01-11 17:44:01 UTC\n",
500+
"[SubmitApp | INFO] Submitted as: example_course ps1 2017-01-11 17:44:01 UTC\n"
501501
]
502502
}
503503
],
@@ -527,9 +527,9 @@
527527
"output_type": "stream",
528528
"text": [
529529
"total 8\n",
530-
"drwxr-xr-x 3 jhamrick wheel 102 Sep 22 13:31 Library\n",
531-
"-rw-r--r-- 1 jhamrick wheel 108 Sep 22 13:31 nbgrader_config.py\n",
532-
"drwxr-xr-x 5 jhamrick wheel 170 Sep 22 13:31 ps1\n"
530+
"drwxr-xr-x 3 jhamrick wheel 102 Jan 11 09:44 Library\n",
531+
"-rw-r--r-- 1 jhamrick wheel 108 Jan 11 09:43 nbgrader_config.py\n",
532+
"drwxr-xr-x 5 jhamrick wheel 170 Jan 11 09:43 ps1\n"
533533
]
534534
}
535535
],
@@ -559,7 +559,7 @@
559559
"output_type": "stream",
560560
"text": [
561561
"[ListApp | INFO] Submitted assignments:\n",
562-
"[ListApp | INFO] example_course jhamrick ps1 2016-09-22 20:31:47 UTC\n"
562+
"[ListApp | INFO] example_course jhamrick ps1 2017-01-11 17:44:01 UTC\n"
563563
]
564564
}
565565
],
@@ -589,8 +589,8 @@
589589
"output_type": "stream",
590590
"text": [
591591
"[SubmitApp | INFO] Source: /private/tmp/student_home/ps1\n",
592-
"[SubmitApp | INFO] Destination: /tmp/exchange/example_course/inbound/jhamrick+ps1+2016-09-22 20:31:50 UTC\n",
593-
"[SubmitApp | INFO] Submitted as: example_course ps1 2016-09-22 20:31:50 UTC\n"
592+
"[SubmitApp | INFO] Destination: /tmp/exchange/example_course/inbound/jhamrick+ps1+2017-01-11 17:44:04 UTC\n",
593+
"[SubmitApp | INFO] Submitted as: example_course ps1 2017-01-11 17:44:04 UTC\n"
594594
]
595595
}
596596
],
@@ -620,8 +620,8 @@
620620
"output_type": "stream",
621621
"text": [
622622
"[ListApp | INFO] Submitted assignments:\n",
623-
"[ListApp | INFO] example_course jhamrick ps1 2016-09-22 20:31:47 UTC\n",
624-
"[ListApp | INFO] example_course jhamrick ps1 2016-09-22 20:31:50 UTC\n"
623+
"[ListApp | INFO] example_course jhamrick ps1 2017-01-11 17:44:01 UTC\n",
624+
"[ListApp | INFO] example_course jhamrick ps1 2017-01-11 17:44:04 UTC\n"
625625
]
626626
}
627627
],
@@ -774,8 +774,8 @@
774774
"output_type": "stream",
775775
"text": [
776776
"[ListApp | INFO] Submitted assignments:\n",
777-
"[ListApp | INFO] example_course jhamrick ps1 2016-09-22 20:31:47 UTC\n",
778-
"[ListApp | INFO] example_course jhamrick ps1 2016-09-22 20:31:50 UTC\n"
777+
"[ListApp | INFO] example_course jhamrick ps1 2017-01-11 17:44:01 UTC\n",
778+
"[ListApp | INFO] example_course jhamrick ps1 2017-01-11 17:44:04 UTC\n"
779779
]
780780
}
781781
],
@@ -832,9 +832,9 @@
832832
"output_type": "stream",
833833
"text": [
834834
"total 0\n",
835-
"drwxr-xr-x 3 jhamrick staff 102 Apr 4 13:05 bitdiddle\n",
836-
"drwxr-xr-x 3 jhamrick staff 102 Apr 4 13:05 hacker\n",
837-
"drwxr-xr-x 3 jhamrick staff 102 Sep 22 13:31 jhamrick\n"
835+
"drwxr-xr-x 3 jhamrick staff 102 Sep 25 17:38 bitdiddle\n",
836+
"drwxr-xr-x 3 jhamrick staff 102 Sep 25 17:38 hacker\n",
837+
"drwxr-xr-x 3 jhamrick staff 102 Jan 11 09:44 jhamrick\n"
838838
]
839839
}
840840
],

0 commit comments

Comments
 (0)