From 5abf08839c6bee36885cc26962f3b13558d6be66 Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:07:01 -0500 Subject: [PATCH] pin pygments --- environment-docs.yml | 1 + pyproject.toml | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/environment-docs.yml b/environment-docs.yml index f8442cd8..3cb97332 100644 --- a/environment-docs.yml +++ b/environment-docs.yml @@ -10,6 +10,7 @@ dependencies: - ipython - ipykernel - nbsphinx + - pygments <2.19 # FIXME: Newest pygments breaks sphinx-codeautolink. See: https://github.com/felix-hilden/sphinx-codeautolink/issues/153 - sphinx-autoapi - sphinx-codeautolink - sphinx-copybutton diff --git a/pyproject.toml b/pyproject.toml index 702825e2..f8a25e07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,39 +52,39 @@ dependencies = [ [project.optional-dependencies] dev = [ # Dev tools and testing - "pip >=24.2.0", + "black ==24.8.0", + "blackdoc ==0.3.9", "bump-my-version >=0.26.0", - "watchdog >=4.0.0", + "coverage >=7.5.0", + "coveralls >=4.0.1", "flake8 >=7.1.1", "flake8-rst-docstrings >=0.3.0", "flit >=3.9.0,<4.0", - "tox >=4.18.0", - "coverage >=7.5.0", - "coveralls >=4.0.1", + "isort ==5.13.2", "mypy", "numpydoc >=1.8.0", + "pip >=24.2.0", + "pre-commit >=3.5.0", "pytest >=8.3.2", "pytest-cov >=5.0.0", - "black ==24.8.0", - "blackdoc ==0.3.9", - "isort ==5.13.2", "ruff >=0.5.7", - "pre-commit >=3.5.0" + "tox >=4.18.0", + "watchdog >=4.0.0" ] docs = [ # Documentation and examples + "furo >=2023.07.26", + "ipykernel", + "ipython", + "jupyter_client", + "nbsphinx", + "pandoc", + "pygments <2.19", # FIXME: Newest pygments breaks sphinx-codeautolink. See: https://github.com/felix-hilden/sphinx-codeautolink/issues/153 "sphinx >=7.0.0", - "sphinx_codeautolink", - "sphinx_copybutton", "sphinx-intl", "sphinx-mdinclude", - "sphinxcontrib-napoleon", - "nbsphinx", - "pandoc", - "ipython", - "ipykernel", - "jupyter_client", - "furo >=2023.07.26" + "sphinx_codeautolink", + "sphinx_copybutton" ] gis = [ # GIS library support