diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 794f9c1f1..0189b15d0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -41,25 +41,29 @@ jobs: test-pip: needs: pre-commit + continue-on-error: ${{ matrix.experimental || false }} + runs-on: ubuntu-latest strategy: + fail-fast: false matrix: python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11"] - markdown-it-py-version: [2.0] + markdown-it-py-version: ["~=2.0"] kernel: [true] - experimental: [false] include: - - python-version: 3.12 + - python-version: "3.12-dev" + - python-version: "3.13-dev" experimental: true - python-version: 3.9 - markdown-it-py-version: null + markdown-it-py-version: "" - python-version: 3.9 - markdown-it-py-version: 3.0 + markdown-it-py-version: "~=3.0" + - python-version: "3.11" + markdown-it-py-version: "~=4.0" + experimental: true - python-version: 3.9 kernel: false - python-version: 3.9 quarto: true - runs-on: ubuntu-latest - continue-on-error: ${{ matrix.experimental }} steps: - name: Checkout uses: actions/checkout@v3 @@ -78,7 +82,7 @@ jobs: python -m pip install jupyter-fs || true - name: Install markdown-it-py if: ${{ matrix.markdown-it-py-version }} - run: python -m pip install "markdown-it-py~=${{ matrix.markdown-it-py-version }}" + run: python -m pip install markdown-it-py${{ matrix.markdown-it-py-version }} - name: Install from source (required for the pre-commit tests) run: python -m pip install . --no-deps - name: Install a Jupyter Kernel diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1da09d8d6..afee1f593 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,11 +1,12 @@ Jupytext ChangeLog ================== -1.14.7-dev (2023-06-??) +1.14.7 (2023-06-29) ------------------- **Changed** - We have updated the GitHub workflows - thanks to Matthew Feickert and to Cristian Le for their help on this subject ([#1037](https://github.com/mwouts/jupytext/issues/1037)) +- We have removed the upper bound on `markdown-it-py<3`. Now we test Jupytext with `markdown-it-py` in versions `2.x` and `3.x` on the CI ([#1075](https://github.com/mwouts/jupytext/issues/1075)) **Fixed** - Notebooks with an empty YAML header work ([#1070](https://github.com/mwouts/jupytext/issues/1070)) diff --git a/jupytext/version.py b/jupytext/version.py index 365206655..0eccba837 100644 --- a/jupytext/version.py +++ b/jupytext/version.py @@ -1,3 +1,3 @@ """Jupytext's version number""" -__version__ = "1.14.7-dev" +__version__ = "1.14.7" diff --git a/requirements.txt b/requirements.txt index f8e015300..9763a457e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ nbformat pyyaml toml -markdown-it-py>=1.0.0,<3.0.0 +markdown-it-py>=1.0.0 mdit_py_plugins diff --git a/setup.py b/setup.py index 3f6c0565c..56f57956c 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ "nbformat", "pyyaml", "toml", - "markdown-it-py>=1.0.0,<3.0.0", + "markdown-it-py>=1.0.0", "mdit_py_plugins", ], python_requires="~=3.6",