Skip to content

Commit a920421

Browse files
authored
Merge branch 'master' into eval-metadata
2 parents 64c2ad0 + 59fd54f commit a920421

File tree

6 files changed

+51
-10
lines changed

6 files changed

+51
-10
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,35 @@ jobs:
2828
python-version: "3.12"
2929
sphinx: "~=8.0"
3030
myst-parser: "~=4.0"
31+
pillow: "==11.0.0"
3132
- os: macos-latest
3233
python-version: "3.12"
3334
sphinx: "~=8.0"
3435
myst-parser: "~=4.0"
36+
pillow: "==11.0.0"
37+
- os: ubuntu-latest
38+
python-version: "3.12"
39+
sphinx: "~=8.0"
40+
myst-parser: "~=4.0"
41+
pillow: "==11.0.0"
3542
# Oldest known-compatible dependencies
3643
- os: ubuntu-latest
3744
python-version: "3.9"
3845
sphinx: "==5.0.0"
3946
myst-parser: "==1.0.0"
47+
pillow: "==11.0.0"
4048
# Mid-range dependencies
4149
- os: ubuntu-latest
4250
python-version: "3.11"
4351
sphinx: "==7.0.0"
4452
myst-parser: "==3.0.0"
53+
pillow: "==11.0.0"
4554
# Newest known-compatible dependencies
4655
- os: ubuntu-latest
4756
python-version: "3.12"
4857
sphinx: "==8.0.2"
4958
myst-parser: "==4.0.0"
59+
pillow: "==11.0.0"
5060

5161
runs-on: ${{ matrix.os }}
5262

@@ -61,11 +71,7 @@ jobs:
6171
- name: Install myst-nb with Sphinx ${{ matrix.sphinx }}
6272
shell: bash
6373
run: |
64-
# Temporary: for python 3.13 we need the nightly pyarrow wheels
65-
if [[ ${{ matrix.python-version }} == '3.13' ]] ; then
66-
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pip install --pre pyarrow
67-
fi
68-
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" -e .[testing]
74+
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" "pillow${{ matrix.pillow }}" -e .[testing]
6975
pip freeze
7076
7177
- name: Run pytest

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ python:
1414
- requirements: docs/requirements.txt
1515

1616
sphinx:
17+
configuration: docs/conf.py
1718
builder: html
1819
fail_on_warning: true

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Change Log
22

3+
## v1.2.0 - 2025-02-07
4+
5+
([full changelog](https://github.com/executablebooks/MyST-NB/compare/v1.1.2...v1.2.0))
6+
7+
### Enhancements made
8+
9+
- ENH: Support translated notebooks by @OriolAbril in https://github.com/executablebooks/MyST-NB/pull/600
10+
11+
### Bugs Fixed
12+
13+
- BUG: using rstrip to preserve indents by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/637
14+
- FIX: fix path suffix condition in core/read.py by @je-cook in https://github.com/executablebooks/MyST-NB/pull/641
15+
16+
### Maintenance and upkeep improvements
17+
18+
- DOCS: adding changelog for 1.1.2 by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/638
19+
- MAINT: adding python 3.13 to CI and classifiers by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/635
20+
- CI: adding devdeps testing and cron and workflow dispatch by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/639
21+
- TST: fail on warnings by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/647
22+
- add `configuration` key to readthedocs.yml by @sneakers-the-rat in https://github.com/executablebooks/MyST-NB/pull/657
23+
- MAINT: fix CI in prep for release by @bsipocz in https://github.com/executablebooks/MyST-NB/pull/659
24+
25+
### Other merged PRs
26+
27+
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/executablebooks/MyST-NB/pull/569
28+
- Revert "[pre-commit.ci] pre-commit autoupdate" by @agoose77 in https://github.com/executablebooks/MyST-NB/pull/642
29+
30+
### New Contributors
31+
- @sneakers-the-rat made their first contribution in https://github.com/executablebooks/MyST-NB/pull/657
32+
33+
([GitHub contributors page for this release](https://github.com/executablebooks/MyST-NB/graphs/contributors?from=2024-09-24&to=2025-02-07&type=c))
34+
35+
336
## v1.1.2 - 2024-09-24
437

538
([full changelog](https://github.com/executablebooks/MyST-NB/compare/v1.1.1...c6a2d4b61205c2b20943391a656f01a4cc446076))

docs/render/format_code_cells.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,18 @@ This can be set to:
8484
(render/output/group-stderr-stdout)=
8585
### Group into single streams
8686

87-
Cells may print multiple things to `stdout` and `stderr`.
87+
Cells may print multiple things to `stdout` (and/or to `stderr`).
8888
For example, if a cell prints status updates throughout its execution, each of these is often printed to `stdout`.
8989
By default, these outputs may be split across multiple items, and will be rendered as separate "chunks" in your built documentation.
9090

91-
If you'd like each of the outputs in `stderr` and `stdout` to be merged into a single stream for each, use the following configuration:
91+
If you'd like each of the outputs in `stdout` to be merged into a single stream for each, use the following configuration (see {ref}`config/intro`):
9292

9393
```python
9494
nb_merge_streams = True
9595
```
9696

97-
This will ensure that all `stderr` and `stdout` outputs are merged into a single group.
97+
This will ensure that all `stdout` outputs are merged into a single group; likewise, all
98+
`stderr` outputs will be merged into single (separate) group.
9899
This also makes cell outputs more deterministic.
99100
Normally, slight differences in timing may result in different orders of `stderr` and `stdout` in the cell output, while this setting will sort them properly.
100101

myst_nb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""A docutils/sphinx parser for Jupyter Notebooks."""
2-
__version__ = "1.1.2"
2+
__version__ = "1.2.0"
33

44

55
def setup(app):

myst_nb/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def __post_init__(self):
285285
default=False,
286286
metadata={
287287
"validator": instance_of(bool),
288-
"help": "Merge stdout/stderr execution output streams",
288+
"help": "Merge all stdout execution output streams; same with stderr",
289289
"sections": (
290290
Section.global_lvl,
291291
Section.file_lvl,

0 commit comments

Comments
 (0)