-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize the sample notebooks (#1003)
* Version 1.14.2-dev * Normalize the sample notebooks (#1002) * Fix issues that `normalize` did not fix * Remove outputs and metadata when they exist * Use Path rather than path * Test that text notebooks are normalized * Regenerate mirror text notebooks Following the normalization of ipynb notebooks * Skip test if recent nbformat is not available * Add Python 3.11 + Use Py3.9 for conda * Update CHANGELOG.md * Jupytext is tested against Python 3.10 and 3.11 on the CI * Don't include test failure in coverage
- Loading branch information
Showing
25 changed files
with
297 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
- uses: pre-commit/[email protected] | ||
|
||
analyse: | ||
|
@@ -41,7 +41,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
# a pull request then we can check out the head. | ||
fetch-depth: 2 | ||
|
||
# If this run was triggered by a pull request event, then checkout | ||
|
@@ -64,7 +64,7 @@ jobs: | |
if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }} | ||
strategy: | ||
matrix: | ||
python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10"] | ||
python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10", "3.11"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -116,7 +116,7 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] | ||
python-version: [ 3.7 ] | ||
python-version: [ 3.9 ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
|
@@ -173,7 +173,7 @@ jobs: | |
if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }} | ||
strategy: | ||
matrix: | ||
python-version: [ 3.7 ] | ||
python-version: [ 3.9 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -200,7 +200,7 @@ jobs: | |
if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }} | ||
strategy: | ||
matrix: | ||
python-version: [ 3.7 ] | ||
python-version: [ 3.9 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -224,7 +224,7 @@ jobs: | |
if: ${{ needs.skip_duplicate.outputs.should_skip == 'false' }} | ||
strategy: | ||
matrix: | ||
python-version: [ 3.7 ] | ||
python-version: [ 3.9 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -254,10 +254,10 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
python-version: 3.9 | ||
- name: Build package | ||
run: | | ||
pip install wheel jupyter-packaging jupyterlab>=3 | ||
|
@@ -280,10 +280,10 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v2 | ||
- name: Set up Python 3.7 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
python-version: 3.9 | ||
- name: Build package | ||
run: | | ||
pip install wheel jupyter-packaging jupyterlab>=3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
comment: | ||
after_n_builds: 11 | ||
after_n_builds: 12 | ||
|
||
coverage: | ||
status: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Jupytext's version number""" | ||
|
||
__version__ = "1.14.1" | ||
__version__ = "1.14.2-dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"cells": [ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.