From fa782ba9f2b48c945a411bf27d35d282c7b9def6 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 27 May 2023 15:58:25 -0400 Subject: [PATCH 001/110] Update docs requirements. --- docs/requirements.txt | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index b4d2626..cf3cc7f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,22 +1,22 @@ # -# This file is autogenerated by pip-compile with python 3.11 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: # -# pip-compile docs/requirements.in +# pip-compile --resolver=backtracking docs/requirements.in # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -babel==2.11.0 +babel==2.12.1 # via sphinx -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.2 # via furo -certifi==2022.12.7 +certifi==2023.5.7 # via requests -charset-normalizer==2.1.1 +charset-normalizer==3.1.0 # via requests -docutils==0.19 +docutils==0.20.1 # via sphinx -furo==2022.12.7 +furo==2023.5.20 # via -r docs/requirements.in idna==3.4 # via requests @@ -26,25 +26,23 @@ jinja2==3.1.2 # via sphinx lxml==4.9.2 # via sphinx-json-schema-spec -markupsafe==2.1.1 +markupsafe==2.1.2 # via jinja2 -packaging==22.0 +packaging==23.1 # via sphinx pyenchant==3.2.2 # via sphinxcontrib-spelling -pygments==2.13.0 +pygments==2.15.1 # via # furo # sphinx -pytz==2022.6 - # via babel -requests==2.28.1 +requests==2.31.0 # via sphinx snowballstemmer==2.2.0 # via sphinx -soupsieve==2.3.2.post1 +soupsieve==2.4.1 # via beautifulsoup4 -sphinx==5.3.0 +sphinx==7.0.1 # via # -r docs/requirements.in # furo @@ -55,11 +53,11 @@ sphinx-basic-ng==1.0.0b1 # via furo file:.#egg=sphinx_json_schema_spec # via -r docs/requirements.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.4 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.1 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx @@ -67,7 +65,7 @@ sphinxcontrib-qthelp==1.0.3 # via sphinx sphinxcontrib-serializinghtml==1.1.5 # via sphinx -sphinxcontrib-spelling==7.7.0 +sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in -urllib3==1.26.13 +urllib3==2.0.2 # via requests From 7e19c6b2604012e4b9503ce73be2bcacf101ca38 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 27 May 2023 15:59:52 -0400 Subject: [PATCH 002/110] Add the JSON Schema trove classifier and make minor packaging tweaks. --- docs/conf.py | 203 ++---------------- docs/requirements.in | 1 + docs/requirements.txt | 29 ++- ...ing_wordlist.txt => spelling-wordlist.txt} | 0 noxfile.py | 40 ++-- pyproject.toml | 49 ++++- sphinx_json_schema_spec/__init__.py | 17 +- 7 files changed, 117 insertions(+), 222 deletions(-) rename docs/{spelling_wordlist.txt => spelling-wordlist.txt} (100%) diff --git a/docs/conf.py b/docs/conf.py index befa80a..9c744b1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,39 +1,16 @@ -# -*- coding: utf-8 -*- -# -# Configuration file for the Sphinx documentation builder. -# -# This file does only contain a selection of the most common options. For a -# full list see the documentation: -# http://www.sphinx-doc.org/en/master/config - import importlib.metadata import re -# -- Project information ----------------------------------------------------- - project = "sphinx-json-schema-spec" author = "Julian Berman" copyright = "2013, " + author -# version: The short X.Y version -# release: The full version, including alpha/beta/rc tags. release = importlib.metadata.version("sphinx_json_schema_spec") version = release.partition("-")[0] - -# -- General configuration --------------------------------------------------- - -# If your documentation needs a minimal Sphinx version, state it here. -# -# needs_sphinx = "1.0" - +language = "en" default_role = "any" -primary_domain = "rst" - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named "sphinx.ext.*") or your custom -# ones. extensions = [ "sphinx.ext.autodoc", "sphinx.ext.autosectionlabel", @@ -44,172 +21,33 @@ "sphinx.ext.todo", "sphinx_json_schema_spec", "sphinxcontrib.spelling", + "sphinxext.opengraph", ] -# Add any paths that contain templates here, relative to this directory. -templates_path = ["_templates"] - -# The suffix(es) of source filenames. -# You can specify multiple suffix as a list of string: -# -# source_suffix = [".rst", ".md"] -source_suffix = ".rst" +pygments_style = "lovelace" +pygments_dark_style = "one-dark" -# The master toctree document. -master_doc = "index" - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = "en" - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -# This pattern also affects html_static_path and html_extra_path. -exclude_patterns = [u"_build", "Thumbs.db", ".DS_Store"] - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" - - -# -- Options for HTML output ------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -# html_theme = "furo" -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -# -# html_theme_options = {} - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -# html_static_path = ["_static"] - -# Custom sidebar templates, must be a dictionary that maps document names -# to template names. -# -# The default sidebars (for documents that don't match any pattern) are -# defined by theme itself. Builtin themes are using these templates by -# default: ``["localtoc.html", "relations.html", "sourcelink.html", -# "searchbox.html"]``. -# -# html_sidebars = {} - - -# -- Options for HTMLHelp output --------------------------------------------- - -# Output file base name for HTML help builder. -htmlhelp_basename = "sphinxjsonschemaspecdoc" - - -# -- Options for LaTeX output ------------------------------------------------ - -latex_elements = { - # The paper size ("letterpaper" or "a4paper"). - # - # "papersize": "letterpaper", - - # The font size ("10pt", "11pt" or "12pt"). - # - # "pointsize": "10pt", - - # Additional stuff for the LaTeX preamble. - # - # "preamble": "", - - # Latex figure (float) alignment - # - # "figure_align": "htbp", -} - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, -# author, documentclass [howto, manual, or own class]). -latex_documents = [ - ( - master_doc, - "Sphinx JSON Schema Spec.tex", - project, - author, - "manual", - ), -] - -# -- Options for manual page output ------------------------------------------ - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - ( - master_doc, - project, - project, - [author], - 1, - ), -] +def entire_domain(host): + return r"http.?://" + re.escape(host) + r"($|/.*)" -# -- Options for Texinfo output ---------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - ( - master_doc, - project, - project, - author, - project, - "", - "Miscellaneous", - ), +linkcheck_ignore = [ + entire_domain("img.shields.io"), + "https://github.com/python-jsonschema/sphinx-json-schema-spec/actions", + "https://github.com/python-jsonschema/sphinx-json-schema-spec/workflows/CI/badge.svg", # noqa: E501 ] +# = Extensions = -# -- Options for Epub output ------------------------------------------------- - -# Bibliographic Dublin Core info. -epub_title = project - -# The unique identifier of the text. This can be a ISBN number -# or the project homepage. -# -# epub_identifier = "" - -# A unique identification for the text. -# -# epub_uid = "" - -# A list of files that should not be packed into the epub file. -epub_exclude_files = ["search.html"] - - -# -- Extension configuration ------------------------------------------------- - -# -- Options for autodoc extension ------------------------------------------- - -autodoc_default_options = { - "members": True, - "member-order": "bysource", -} - -# -- Options for autosectionlabel extension ---------------------------------- +# -- autosectionlabel -- autosectionlabel_prefix_document = True -# -- Options for intersphinx extension --------------------------------------- +# -- intersphinx -- -# Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { "jsonschema": ( "https://python-jsonschema.readthedocs.io/en/latest/", None, @@ -219,16 +57,7 @@ "sphinx": ("https://www.sphinx-doc.org/en/master/", None), } -# -- Options for the linkcheck builder ------------------------------------ - +# -- sphinxcontrib-spelling -- -def entire_domain(host): - return r"http.?://" + re.escape(host) + r"($|/.*)" - - -linkcheck_ignore = [ - entire_domain("codecov.io"), - entire_domain("img.shields.io"), - "https://github.com/python-jsonschema/sphinx-json-schema-spec/actions", - "https://github.com/python-jsonschema/sphinx-json-schema-spec/workflows/CI/badge.svg", # noqa: E501 -] +spelling_word_list_filename = "spelling-wordlist.txt" +spelling_show_suggestions = True diff --git a/docs/requirements.in b/docs/requirements.in index cff356e..2ff9d8d 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -2,3 +2,4 @@ file:.#egg=sphinx_json_schema_spec furo sphinx>=5.1 sphinxcontrib-spelling>5 +sphinxext-opengraph diff --git a/docs/requirements.txt b/docs/requirements.txt index cf3cc7f..8a1d301 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -14,8 +14,14 @@ certifi==2023.5.7 # via requests charset-normalizer==3.1.0 # via requests +contourpy==1.0.7 + # via matplotlib +cycler==0.11.0 + # via matplotlib docutils==0.20.1 # via sphinx +fonttools==4.39.4 + # via matplotlib furo==2023.5.20 # via -r docs/requirements.in idna==3.4 @@ -24,20 +30,38 @@ imagesize==1.4.1 # via sphinx jinja2==3.1.2 # via sphinx +kiwisolver==1.4.4 + # via matplotlib lxml==4.9.2 # via sphinx-json-schema-spec markupsafe==2.1.2 # via jinja2 +matplotlib==3.7.1 + # via sphinxext-opengraph +numpy==1.24.3 + # via + # contourpy + # matplotlib packaging==23.1 - # via sphinx + # via + # matplotlib + # sphinx +pillow==9.5.0 + # via matplotlib pyenchant==3.2.2 # via sphinxcontrib-spelling pygments==2.15.1 # via # furo # sphinx +pyparsing==3.0.9 + # via matplotlib +python-dateutil==2.8.2 + # via matplotlib requests==2.31.0 # via sphinx +six==1.16.0 + # via python-dateutil snowballstemmer==2.2.0 # via sphinx soupsieve==2.4.1 @@ -49,6 +73,7 @@ sphinx==7.0.1 # sphinx-basic-ng # sphinx-json-schema-spec # sphinxcontrib-spelling + # sphinxext-opengraph sphinx-basic-ng==1.0.0b1 # via furo file:.#egg=sphinx_json_schema_spec @@ -67,5 +92,7 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in +sphinxext-opengraph==0.8.2 + # via -r docs/requirements.in urllib3==2.0.2 # via requests diff --git a/docs/spelling_wordlist.txt b/docs/spelling-wordlist.txt similarity index 100% rename from docs/spelling_wordlist.txt rename to docs/spelling-wordlist.txt diff --git a/noxfile.py b/noxfile.py index 2d3934d..e8b54b1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -3,6 +3,7 @@ import nox ROOT = Path(__file__).parent +PYPROJECT = ROOT / "pyproject.toml" DOCS = ROOT / "docs" PACKAGE = ROOT / "sphinx_json_schema_spec" @@ -19,44 +20,43 @@ def _session(fn): return _session -@session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"]) +@session(python=["3.8", "3.9", "3.10", "3.11", "pypy3"]) def tests(session): - session.install("pytest", str(ROOT)) - session.run("pytest", "--verbosity=3") + session.install("pytest", ROOT) + session.run("pytest", *session.posargs, PACKAGE) + + +@session() +def audit(session): + session.install("pip-audit", ROOT) + session.run("python", "-m", "pip_audit") @session(tags=["build"]) def build(session): session.install("build") tmpdir = session.create_tmp() - session.run("python", "-m", "build", str(ROOT), "--outdir", tmpdir) + session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) @session(tags=["style"]) def readme(session): session.install("build", "twine") tmpdir = session.create_tmp() - session.run("python", "-m", "build", str(ROOT), "--outdir", tmpdir) + session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) session.run("python", "-m", "twine", "check", tmpdir + "/*") @session(tags=["style"]) def style(session): - session.install( - "flake8", - "flake8-broken-line", - "flake8-bugbear", - "flake8-commas", - "flake8-quotes", - "flake8-tidy-imports", - ) - session.run("python", "-m", "flake8", str(PACKAGE), __file__) + session.install("ruff") + session.run("ruff", "check", ROOT) @session() def typing(session): - session.install("mypy", "types-docutils", "types-lxml", str(ROOT)) - session.run("python", "-m", "mypy", str(PACKAGE)) + session.install("mypy", "types-docutils", "types-lxml", ROOT) + session.run("python", "-m", "mypy", PACKAGE) @session(tags=["docs"]) @@ -74,7 +74,7 @@ def typing(session): ], ) def docs(session, builder): - session.install("-r", str(DOCS / "requirements.txt")) + session.install("-r", DOCS / "requirements.txt") tmpdir = Path(session.create_tmp()) argv = ["-n", "-T", "-W"] if builder != "spelling": @@ -85,8 +85,8 @@ def docs(session, builder): "sphinx", "-b", builder, - str(DOCS), - str(tmpdir / builder), + DOCS, + tmpdir / builder, *argv, ) @@ -98,4 +98,4 @@ def docs_style(session): "pygments", "pygments-github-lexers", ) - session.run("python", "-m", "doc8", "--max-line-length", "1000", str(DOCS)) + session.run("python", "-m", "doc8", "--config", PYPROJECT, DOCS) diff --git a/pyproject.toml b/pyproject.toml index 45d9c5d..18f89a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,8 +9,8 @@ source = "vcs" name = "sphinx_json_schema_spec" description = "Sphinx support for the JSON Schema specifications" readme = "README.rst" -requires-python = ">=3.7" license = {text = "MIT"} +requires-python = ">=3.8" keywords = ["json schema", "jsonschema", "data validation", "sphinx", "json"] authors = [ {email = "Julian+sphinx-json-schema-spec@GrayVines.com"}, @@ -21,36 +21,75 @@ classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", + "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", - "Programming Language :: Python", "Framework :: Sphinx :: Extension", "Topic :: Documentation :: Sphinx", + "Topic :: File Formats :: JSON :: JSON Schema", ] dynamic = ["version"] dependencies = [ "lxml", "sphinx>=5.1.1", - "importlib_metadata;python_version<'3.8'", ] [project.urls] +Documentation = "https://sphinx-json-schema-spec.readthedocs.io/" Homepage = "https://github.com/python-jsonschema/sphinx-json-schema-spec" Issues = "https://github.com/python-jsonschema/sphinx-json-schema-spec/issues/" Funding = "https://github.com/sponsors/Julian" Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec" [tool.doc8] -max-line-length=1000 +ignore = [ + "D001", # one sentence per line, so max length doesn't make sense +] [tool.isort] +combine_as_imports = true from_first = true include_trailing_comma = true multi_line_output = 3 + +[tool.ruff] +line-length = 79 +target-version = "py38" +select = ["B", "D", "E", "F", "Q", "UP", "W"] +ignore = [ + # raise SomeException(...) is fine. + "B904", + # It's fine to not have docstrings for magic methods. + "D105", + # This rule makes diffs uglier when expanding docstrings (and it's uglier) + "D200", + # No blank lines before docstrings. + "D203", + # Start docstrings on the second line. + "D212", + # This rule misses sassy docstrings ending with ! or ?. + "D400", + # Section headers should end with a colon not a newline + "D406", + # Underlines aren't needed + "D407", + # Plz spaces after section headers + "D412", + # We support 3.8 + 3.9 + "UP007", +] +extend-exclude = ["suite"] + +[tool.ruff.flake8-quotes] +docstring-quotes = "double" + +[tool.ruff.per-file-ignores] +"docs/*" = ["ANN", "D"] +"sphinx_json_schema_spec/tests/*" = ["ANN", "D"] +"noxfile.py" = ["ANN", "D"] diff --git a/sphinx_json_schema_spec/__init__.py b/sphinx_json_schema_spec/__init__.py index 0a82c8c..fa7acf7 100644 --- a/sphinx_json_schema_spec/__init__.py +++ b/sphinx_json_schema_spec/__init__.py @@ -1,3 +1,6 @@ +""" +Sphinx support for interlinking to the JSON Schema specifications. +""" from contextlib import suppress from datetime import datetime from pathlib import Path @@ -35,7 +38,6 @@ def setup(app): the Sphinx application context """ - app.add_config_value("cache_path", "_cache", "") CACHE = Path(app.config.cache_path) @@ -70,7 +72,6 @@ def fetch_or_load(cache_path, url): the URL of the document """ - version = metadata.version("sphinx-json-schema-spec") headers = {"User-Agent": f"sphinx-json-schema-spec v{version}"} @@ -111,7 +112,7 @@ def keyword(name, raw_text, text, lineno, inliner): the name of the role in the document - raw_source (str): + raw_text (str): the raw text (role with argument) @@ -134,7 +135,6 @@ def keyword(name, raw_text, text, lineno, inliner): a 2-tuple of nodes to insert into the document and an iterable of system messages, both possibly empty """ - hardcoded = HARDCODED.get(text) if hardcoded is not None: return [nodes.reference(raw_text, text, refuri=hardcoded)], [] @@ -153,9 +153,7 @@ def keyword(name, raw_text, text, lineno, inliner): uri = urljoin(vocabulary_url, header.find("a").attrib["href"]) break else: - inliner.reporter.warning( - "Didn't find a target for {0}".format(text), - ) + inliner.reporter.warning(f"Didn't find a target for {text}") uri = BASE_URL reference = nodes.reference(raw_text, text, refuri=uri) @@ -165,7 +163,9 @@ def keyword(name, raw_text, text, lineno, inliner): def missing_reference(glossary): - + """ + Get callbacked for Sphinx's missing reference hook. + """ terms = { link.lstrip("#") for _, _, link, _ in glossary.iterlinks() @@ -176,7 +176,6 @@ def _missing_reference(app, env, node, contnod): """ Resolve a reference to a JSON Schema Glossary term. """ - if node["reftype"] != "term": return From 7c3fc3ce4cb672f5433b7bdf7611fd648708b536 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jul 2023 22:31:16 +0000 Subject: [PATCH 003/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v3.0.0](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.9-for-vscode...v3.0.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3bbffba..d032cbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0-alpha.9-for-vscode" + rev: "v3.0.0" hooks: - id: prettier From 22fe7f83dd856fe27ab3cd15ad57220404af91fa Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Tue, 18 Jul 2023 17:30:21 +0200 Subject: [PATCH 004/110] Don't use nox.session.create_tmp. It's basically a footgun, in that it: * doesn't create a pseudorandom temporary directory, it just gives you the path 'tmp/' * thereby then doesn't create separate directories if you call it multiple times * mutates the global (shell) environment state by setting TMPDIR to this 'new' directory so other processes can now 'accidentally' end up sticking things in it (In particular I was really confused how/why non-distribution files were being plopped into my python -m build's outdir, but it was because TMPDIR was sticking around) --- noxfile.py | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/noxfile.py b/noxfile.py index e8b54b1..83d2d58 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,4 +1,6 @@ from pathlib import Path +from tempfile import TemporaryDirectory +import os import nox @@ -34,17 +36,10 @@ def audit(session): @session(tags=["build"]) def build(session): - session.install("build") - tmpdir = session.create_tmp() - session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) - - -@session(tags=["style"]) -def readme(session): session.install("build", "twine") - tmpdir = session.create_tmp() - session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) - session.run("python", "-m", "twine", "check", tmpdir + "/*") + with TemporaryDirectory() as tmpdir: + session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) + session.run("twine", "check", "--strict", tmpdir + "/*") @session(tags=["style"]) @@ -75,20 +70,21 @@ def typing(session): ) def docs(session, builder): session.install("-r", DOCS / "requirements.txt") - tmpdir = Path(session.create_tmp()) - argv = ["-n", "-T", "-W"] - if builder != "spelling": - argv += ["-q"] - session.run( - "python", - "-m", - "sphinx", - "-b", - builder, - DOCS, - tmpdir / builder, - *argv, - ) + with TemporaryDirectory() as tmpdir_str: + tmpdir = Path(tmpdir_str) + argv = ["-n", "-T", "-W"] + if builder != "spelling": + argv += ["-q"] + session.run( + "python", + "-m", + "sphinx", + "-b", + builder, + DOCS, + tmpdir / builder, + *argv, + ) @session(tags=["docs", "style"], name="docs(style)") From 463fe2ba9457e46369c5ffc0a7616d0f35b70a18 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Tue, 18 Jul 2023 17:57:46 +0200 Subject: [PATCH 005/110] Unused import. --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 83d2d58..212d48e 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,6 +1,5 @@ from pathlib import Path from tempfile import TemporaryDirectory -import os import nox From 1a3ce94e4d61cd40dd64f02876bb25f07b592309 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 28 Jul 2023 13:54:58 +0200 Subject: [PATCH 006/110] More correct listing of nox envs for the GitHub actions workflow What was here would break with noxenv docstrings. --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114da69..14a7c8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,7 @@ jobs: - id: noxenvs-matrix run: | echo >>$GITHUB_OUTPUT noxenvs=$( - nox --list-sessions | - grep '^* ' | - cut -d ' ' -f 2- | - jq --raw-input --slurp 'split("\n") | map(select(. != ""))' + nox --list-sessions --json | jq '[.[].session]' ) ci: From 2665b3302e04f547f362e2f2368bc0d016333029 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 28 Jul 2023 13:55:36 +0200 Subject: [PATCH 007/110] Update docs requirements. --- docs/requirements.txt | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 8a1d301..1042bf0 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --resolver=backtracking docs/requirements.in +# pip-compile --config=pyproject.toml --resolver=backtracking docs/requirements.in # alabaster==0.7.13 # via sphinx @@ -10,19 +10,19 @@ babel==2.12.1 # via sphinx beautifulsoup4==4.12.2 # via furo -certifi==2023.5.7 +certifi==2023.7.22 # via requests -charset-normalizer==3.1.0 +charset-normalizer==3.2.0 # via requests -contourpy==1.0.7 +contourpy==1.1.0 # via matplotlib cycler==0.11.0 # via matplotlib docutils==0.20.1 # via sphinx -fonttools==4.39.4 +fonttools==4.41.1 # via matplotlib -furo==2023.5.20 +furo==2023.7.26 # via -r docs/requirements.in idna==3.4 # via requests @@ -32,13 +32,13 @@ jinja2==3.1.2 # via sphinx kiwisolver==1.4.4 # via matplotlib -lxml==4.9.2 +lxml==4.9.3 # via sphinx-json-schema-spec -markupsafe==2.1.2 +markupsafe==2.1.3 # via jinja2 -matplotlib==3.7.1 +matplotlib==3.7.2 # via sphinxext-opengraph -numpy==1.24.3 +numpy==1.25.1 # via # contourpy # matplotlib @@ -46,7 +46,7 @@ packaging==23.1 # via # matplotlib # sphinx -pillow==9.5.0 +pillow==10.0.0 # via matplotlib pyenchant==3.2.2 # via sphinxcontrib-spelling @@ -66,7 +66,7 @@ snowballstemmer==2.2.0 # via sphinx soupsieve==2.4.1 # via beautifulsoup4 -sphinx==7.0.1 +sphinx==7.1.1 # via # -r docs/requirements.in # furo @@ -74,7 +74,7 @@ sphinx==7.0.1 # sphinx-json-schema-spec # sphinxcontrib-spelling # sphinxext-opengraph -sphinx-basic-ng==1.0.0b1 +sphinx-basic-ng==1.0.0b2 # via furo file:.#egg=sphinx_json_schema_spec # via -r docs/requirements.in @@ -94,5 +94,5 @@ sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in sphinxext-opengraph==0.8.2 # via -r docs/requirements.in -urllib3==2.0.2 +urllib3==2.0.4 # via requests From d16c86bd05c59fe462f49af0082d0fb4b3580a0d Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 2 Aug 2023 18:12:28 +0200 Subject: [PATCH 008/110] Bump docs requirements. --- docs/requirements.txt | 6 +++--- noxfile.py | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 1042bf0..5db1537 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --config=pyproject.toml --resolver=backtracking docs/requirements.in +# pip-compile --config=pyproject.toml docs/requirements.in # alabaster==0.7.13 # via sphinx @@ -38,7 +38,7 @@ markupsafe==2.1.3 # via jinja2 matplotlib==3.7.2 # via sphinxext-opengraph -numpy==1.25.1 +numpy==1.25.2 # via # contourpy # matplotlib @@ -66,7 +66,7 @@ snowballstemmer==2.2.0 # via sphinx soupsieve==2.4.1 # via beautifulsoup4 -sphinx==7.1.1 +sphinx==7.1.2 # via # -r docs/requirements.in # furo diff --git a/noxfile.py b/noxfile.py index 212d48e..02f2043 100644 --- a/noxfile.py +++ b/noxfile.py @@ -74,6 +74,7 @@ def docs(session, builder): argv = ["-n", "-T", "-W"] if builder != "spelling": argv += ["-q"] + posargs = session.posargs or [tmpdir / builder] session.run( "python", "-m", @@ -81,8 +82,8 @@ def docs(session, builder): "-b", builder, DOCS, - tmpdir / builder, *argv, + *posargs, ) @@ -94,3 +95,16 @@ def docs_style(session): "pygments-github-lexers", ) session.run("python", "-m", "doc8", "--config", PYPROJECT, DOCS) + + +@session(default=False) +def requirements(session): + session.install("pip-tools") + for each in [DOCS / "requirements.in"]: + session.run( + "pip-compile", + "--resolver", + "backtracking", + "-U", + each.relative_to(ROOT), + ) From c2e921d0772c1993526fe2b362ec138b7b66c895 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 2 Aug 2023 18:12:35 +0200 Subject: [PATCH 009/110] Declare support for 3.12. --- .github/workflows/ci.yml | 9 ++++++++- noxfile.py | 2 +- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14a7c8b..04c4ac6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,14 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: | + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 + pypy3.10 + allow-prereleases: true - name: Set up nox uses: wntrblm/nox@2023.04.22 - name: Run nox diff --git a/noxfile.py b/noxfile.py index 02f2043..b8faca4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ def _session(fn): return _session -@session(python=["3.8", "3.9", "3.10", "3.11", "pypy3"]) +@session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]) def tests(session): session.install("pytest", ROOT) session.run("pytest", *session.posargs, PACKAGE) diff --git a/pyproject.toml b/pyproject.toml index 18f89a1..08dffbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,11 +22,11 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Sphinx :: Extension", From fe363d2e60357f726f3fb0da249740b690db6d55 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Aug 2023 23:10:11 +0000 Subject: [PATCH 010/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v3.0.0 → v3.0.2](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0...v3.0.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d032cbd..0652788 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.0" + rev: "v3.0.2" hooks: - id: prettier From b0cdd40483be9b6f81963728df6f32c83816a066 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:11:02 +0000 Subject: [PATCH 011/110] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04c4ac6..3a81d8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.x" @@ -28,7 +28,7 @@ jobs: outputs: noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up nox uses: wntrblm/nox@2023.04.22 - id: noxenvs-matrix @@ -47,7 +47,7 @@ jobs: noxenv: ${{ fromJson(needs.list.outputs.noxenvs) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: > sudo apt-get update && @@ -83,7 +83,7 @@ jobs: id-token: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: From 8f38bba9100b1c73c6c6533332e02aefdf3e6eb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 23:17:02 +0000 Subject: [PATCH 012/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v3.0.2 → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.2...v3.0.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0652788..c06d366 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.2" + rev: "v3.0.3" hooks: - id: prettier From cd5f76af9c9ba9c387bd01917f37ff1666d04d23 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 20 Sep 2023 09:40:08 -0400 Subject: [PATCH 013/110] Update the readthedocs config. --- .readthedocs.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index f78bde4..e6ab173 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,5 +1,10 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.11" + sphinx: builder: dirhtml configuration: docs/conf.py @@ -8,8 +13,5 @@ sphinx: formats: all python: - version: "3.8" install: - requirements: docs/requirements.txt - - method: pip - path: . From 49dafc9bf1110b0be3ccf33a6d1e78d16762f6cb Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 20 Sep 2023 09:42:33 -0400 Subject: [PATCH 014/110] Update requirements. --- docs/requirements.txt | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 5db1537..1fb35b7 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --config=pyproject.toml docs/requirements.in +# pip-compile docs/requirements.in # alabaster==0.7.13 # via sphinx @@ -14,15 +14,15 @@ certifi==2023.7.22 # via requests charset-normalizer==3.2.0 # via requests -contourpy==1.1.0 +contourpy==1.1.1 # via matplotlib cycler==0.11.0 # via matplotlib docutils==0.20.1 # via sphinx -fonttools==4.41.1 +fonttools==4.42.1 # via matplotlib -furo==2023.7.26 +furo==2023.9.10 # via -r docs/requirements.in idna==3.4 # via requests @@ -30,15 +30,15 @@ imagesize==1.4.1 # via sphinx jinja2==3.1.2 # via sphinx -kiwisolver==1.4.4 +kiwisolver==1.4.5 # via matplotlib lxml==4.9.3 # via sphinx-json-schema-spec markupsafe==2.1.3 # via jinja2 -matplotlib==3.7.2 +matplotlib==3.8.0 # via sphinxext-opengraph -numpy==1.25.2 +numpy==1.26.0 # via # contourpy # matplotlib @@ -46,15 +46,15 @@ packaging==23.1 # via # matplotlib # sphinx -pillow==10.0.0 +pillow==10.0.1 # via matplotlib pyenchant==3.2.2 # via sphinxcontrib-spelling -pygments==2.15.1 +pygments==2.16.1 # via # furo # sphinx -pyparsing==3.0.9 +pyparsing==3.1.1 # via matplotlib python-dateutil==2.8.2 # via matplotlib @@ -64,35 +64,40 @@ six==1.16.0 # via python-dateutil snowballstemmer==2.2.0 # via sphinx -soupsieve==2.4.1 +soupsieve==2.5 # via beautifulsoup4 -sphinx==7.1.2 +sphinx==7.2.6 # via # -r docs/requirements.in # furo # sphinx-basic-ng # sphinx-json-schema-spec + # sphinxcontrib-applehelp + # sphinxcontrib-devhelp + # sphinxcontrib-htmlhelp + # sphinxcontrib-qthelp + # sphinxcontrib-serializinghtml # sphinxcontrib-spelling # sphinxext-opengraph sphinx-basic-ng==1.0.0b2 # via furo file:.#egg=sphinx_json_schema_spec # via -r docs/requirements.in -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==1.0.7 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.5 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.0.4 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.6 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==1.1.9 # via sphinx sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in sphinxext-opengraph==0.8.2 # via -r docs/requirements.in -urllib3==2.0.4 +urllib3==2.0.5 # via requests From b37d91d12d3f5e3c12710605d76bfaaf1e553e19 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:29:04 +0000 Subject: [PATCH 015/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c06d366..b17c29b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-ast - id: check-docstring-first From 8576e5239f1425d9f82af9220f9d7c93c2472db3 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 30 Oct 2023 08:57:59 -0400 Subject: [PATCH 016/110] Update docs requirements. --- docs/requirements.txt | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 1fb35b7..fcc4f2d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -6,22 +6,16 @@ # alabaster==0.7.13 # via sphinx -babel==2.12.1 +babel==2.13.1 # via sphinx beautifulsoup4==4.12.2 # via furo certifi==2023.7.22 # via requests -charset-normalizer==3.2.0 +charset-normalizer==3.3.1 # via requests -contourpy==1.1.1 - # via matplotlib -cycler==0.11.0 - # via matplotlib docutils==0.20.1 # via sphinx -fonttools==4.42.1 - # via matplotlib furo==2023.9.10 # via -r docs/requirements.in idna==3.4 @@ -30,38 +24,20 @@ imagesize==1.4.1 # via sphinx jinja2==3.1.2 # via sphinx -kiwisolver==1.4.5 - # via matplotlib lxml==4.9.3 # via sphinx-json-schema-spec markupsafe==2.1.3 # via jinja2 -matplotlib==3.8.0 - # via sphinxext-opengraph -numpy==1.26.0 - # via - # contourpy - # matplotlib -packaging==23.1 - # via - # matplotlib - # sphinx -pillow==10.0.1 - # via matplotlib +packaging==23.2 + # via sphinx pyenchant==3.2.2 # via sphinxcontrib-spelling pygments==2.16.1 # via # furo # sphinx -pyparsing==3.1.1 - # via matplotlib -python-dateutil==2.8.2 - # via matplotlib requests==2.31.0 # via sphinx -six==1.16.0 - # via python-dateutil snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 @@ -97,7 +73,7 @@ sphinxcontrib-serializinghtml==1.1.9 # via sphinx sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in -sphinxext-opengraph==0.8.2 +sphinxext-opengraph==0.9.0 # via -r docs/requirements.in -urllib3==2.0.5 +urllib3==2.0.7 # via requests From ba03c04d48f4bf0bbd347b584d80383a4813e3a5 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 3 Nov 2023 10:53:26 -0400 Subject: [PATCH 017/110] Apparently this setting is now autodetected. Thanks mastodocs (https://mastodon.social/deck/@hynek/111347150437324121) --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 08dffbe..24ee867 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,6 @@ multi_line_output = 3 [tool.ruff] line-length = 79 -target-version = "py38" select = ["B", "D", "E", "F", "Q", "UP", "W"] ignore = [ # raise SomeException(...) is fine. From 0e521c2bc9fabf0264ee5840a5d34cb4969aeaff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 18:29:58 +0000 Subject: [PATCH 018/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v3.1.0](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v3.1.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b17c29b..2a13248 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.3" + rev: "v3.1.0" hooks: - id: prettier From 6f56b61abd8cafd8b73226c3ce37018af62f7bc4 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 7 Dec 2023 14:27:08 -0500 Subject: [PATCH 019/110] Update pre-commit hooks. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a13248..a355508 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,6 @@ repos: hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.1.0" + rev: "v4.0.0-alpha.3-1" hooks: - id: prettier From ca97f152bd760478526ec6a0694f96ba40d1e840 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 18:27:49 +0000 Subject: [PATCH 020/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/isort: 5.12.0 → 5.13.0](https://github.com/PyCQA/isort/compare/5.12.0...5.13.0) - [github.com/pre-commit/mirrors-prettier: v4.0.0-alpha.3-1 → v4.0.0-alpha.4](https://github.com/pre-commit/mirrors-prettier/compare/v4.0.0-alpha.3-1...v4.0.0-alpha.4) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a355508..f55a6e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,10 +14,10 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.0 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.3-1" + rev: "v4.0.0-alpha.4" hooks: - id: prettier From 8e942f3947fe037f8766ed66b1338c8cef5a5695 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 19:14:03 +0000 Subject: [PATCH 021/110] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a81d8a..750e1bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" - uses: pre-commit/action@v3.0.0 @@ -57,7 +57,7 @@ jobs: run: brew install enchant if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs') - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: | 3.8 @@ -85,7 +85,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install dependencies From f003f2cc989f198539778004ae5b6934af43d72a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 18:23:27 +0000 Subject: [PATCH 022/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/isort: 5.13.0 → 5.13.2](https://github.com/PyCQA/isort/compare/5.13.0...5.13.2) - [github.com/pre-commit/mirrors-prettier: v4.0.0-alpha.4 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v4.0.0-alpha.4...v4.0.0-alpha.8) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f55a6e3..0f6b7db 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,10 +14,10 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/PyCQA/isort - rev: 5.13.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.4" + rev: "v4.0.0-alpha.8" hooks: - id: prettier From a31057b96d0392a6da581c607e40e534df9ce9d0 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 5 Jan 2024 13:40:06 -0500 Subject: [PATCH 023/110] Fix the fromutctimestamp warning on 3.12. Drop old versions, as generally we build docs using a recent version. --- noxfile.py | 2 +- pyproject.toml | 5 +---- sphinx_json_schema_spec/__init__.py | 10 +++------- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/noxfile.py b/noxfile.py index b8faca4..a7961d1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -21,7 +21,7 @@ def _session(fn): return _session -@session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3"]) +@session(python=["3.11", "3.12"]) def tests(session): session.install("pytest", ROOT) session.run("pytest", *session.posargs, PACKAGE) diff --git a/pyproject.toml b/pyproject.toml index 24ee867..de820b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ name = "sphinx_json_schema_spec" description = "Sphinx support for the JSON Schema specifications" readme = "README.rst" license = {text = "MIT"} -requires-python = ">=3.8" +requires-python = ">=3.11" keywords = ["json schema", "jsonschema", "data validation", "sphinx", "json"] authors = [ {email = "Julian+sphinx-json-schema-spec@GrayVines.com"}, @@ -22,9 +22,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", diff --git a/sphinx_json_schema_spec/__init__.py b/sphinx_json_schema_spec/__init__.py index fa7acf7..fe4bcd9 100644 --- a/sphinx_json_schema_spec/__init__.py +++ b/sphinx_json_schema_spec/__init__.py @@ -2,17 +2,13 @@ Sphinx support for interlinking to the JSON Schema specifications. """ from contextlib import suppress -from datetime import datetime +from datetime import UTC, datetime +from importlib import metadata from pathlib import Path from urllib.parse import urljoin import ssl import urllib.request -try: - from importlib import metadata -except ImportError: - import importlib_metadata as metadata # type: ignore - from docutils import nodes from lxml import html @@ -76,7 +72,7 @@ def fetch_or_load(cache_path, url): headers = {"User-Agent": f"sphinx-json-schema-spec v{version}"} with suppress(FileNotFoundError): - modified = datetime.utcfromtimestamp(cache_path.stat().st_mtime) + modified = datetime.fromtimestamp(cache_path.stat().st_mtime, UTC) date = modified.strftime("%a, %d %b %Y %I:%M:%S UTC") headers["If-Modified-Since"] = date From 29e2270b8dd01160285991c0526ac9fa04445ede Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 5 Jan 2024 13:44:45 -0500 Subject: [PATCH 024/110] Update requirements. --- docs/requirements.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index fcc4f2d..78120b6 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,30 +1,30 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # -# pip-compile docs/requirements.in +# pip-compile --strip-extras docs/requirements.in # alabaster==0.7.13 # via sphinx -babel==2.13.1 +babel==2.14.0 # via sphinx beautifulsoup4==4.12.2 # via furo -certifi==2023.7.22 +certifi==2023.11.17 # via requests -charset-normalizer==3.3.1 +charset-normalizer==3.3.2 # via requests docutils==0.20.1 # via sphinx furo==2023.9.10 # via -r docs/requirements.in -idna==3.4 +idna==3.6 # via requests imagesize==1.4.1 # via sphinx jinja2==3.1.2 # via sphinx -lxml==4.9.3 +lxml==5.0.0 # via sphinx-json-schema-spec markupsafe==2.1.3 # via jinja2 @@ -32,7 +32,7 @@ packaging==23.2 # via sphinx pyenchant==3.2.2 # via sphinxcontrib-spelling -pygments==2.16.1 +pygments==2.17.2 # via # furo # sphinx @@ -73,7 +73,7 @@ sphinxcontrib-serializinghtml==1.1.9 # via sphinx sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in -sphinxext-opengraph==0.9.0 +sphinxext-opengraph==0.9.1 # via -r docs/requirements.in -urllib3==2.0.7 +urllib3==2.1.0 # via requests From 3d778d65a43dca5746cc702ed7e39774fa2617ff Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 5 Jan 2024 13:51:56 -0500 Subject: [PATCH 025/110] Enable the rest of the ruff rulesets. --- docs/conf.py | 2 +- noxfile.py | 44 +++++++++++++-- pyproject.toml | 85 ++++++++++++++++++++--------- sphinx_json_schema_spec/__init__.py | 6 +- 4 files changed, 101 insertions(+), 36 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9c744b1..ba105a0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,7 @@ def entire_domain(host): linkcheck_ignore = [ entire_domain("img.shields.io"), "https://github.com/python-jsonschema/sphinx-json-schema-spec/actions", - "https://github.com/python-jsonschema/sphinx-json-schema-spec/workflows/CI/badge.svg", # noqa: E501 + "https://github.com/python-jsonschema/sphinx-json-schema-spec/workflows/CI/badge.svg", ] # = Extensions = diff --git a/noxfile.py b/noxfile.py index a7961d1..85d9421 100644 --- a/noxfile.py +++ b/noxfile.py @@ -8,33 +8,51 @@ DOCS = ROOT / "docs" PACKAGE = ROOT / "sphinx_json_schema_spec" +REQUIREMENTS = dict( + docs=DOCS / "requirements.txt", +) +REQUIREMENTS_IN = [ # this is actually ordered, as files depend on each other + path.parent / f"{path.stem}.in" for path in REQUIREMENTS.values() +] + +SUPPORTED = ["3.11", "3.12"] +LATEST = "3.12" nox.options.sessions = [] -def session(default=True, **kwargs): +def session(default=True, python=LATEST, **kwargs): # noqa: D103 def _session(fn): if default: nox.options.sessions.append(kwargs.get("name", fn.__name__)) - return nox.session(**kwargs)(fn) + return nox.session(python=python, **kwargs)(fn) return _session -@session(python=["3.11", "3.12"]) +@session(python=SUPPORTED) def tests(session): + """ + Run the test suite with a corresponding Python version. + """ session.install("pytest", ROOT) session.run("pytest", *session.posargs, PACKAGE) @session() def audit(session): + """ + Audit dependencies for vulnerabilities. + """ session.install("pip-audit", ROOT) session.run("python", "-m", "pip_audit") @session(tags=["build"]) def build(session): + """ + Build a distribution suitable for PyPI and check its validity. + """ session.install("build", "twine") with TemporaryDirectory() as tmpdir: session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) @@ -43,12 +61,18 @@ def build(session): @session(tags=["style"]) def style(session): + """ + Check Python code style. + """ session.install("ruff") session.run("ruff", "check", ROOT) @session() def typing(session): + """ + Check static typing. + """ session.install("mypy", "types-docutils", "types-lxml", ROOT) session.run("python", "-m", "mypy", PACKAGE) @@ -68,7 +92,10 @@ def typing(session): ], ) def docs(session, builder): - session.install("-r", DOCS / "requirements.txt") + """ + Build the documentation using a specific Sphinx builder. + """ + session.install("-r", REQUIREMENTS["docs"]) with TemporaryDirectory() as tmpdir_str: tmpdir = Path(tmpdir_str) argv = ["-n", "-T", "-W"] @@ -89,6 +116,9 @@ def docs(session, builder): @session(tags=["docs", "style"], name="docs(style)") def docs_style(session): + """ + Check the documentation style. + """ session.install( "doc8", "pygments", @@ -99,12 +129,16 @@ def docs_style(session): @session(default=False) def requirements(session): + """ + Update the project's pinned requirements. Commit the result. + """ session.install("pip-tools") - for each in [DOCS / "requirements.in"]: + for each in REQUIREMENTS_IN: session.run( "pip-compile", "--resolver", "backtracking", + "--strip-extras", "-U", each.relative_to(ROOT), ) diff --git a/pyproject.toml b/pyproject.toml index de820b4..a089c38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,9 +8,9 @@ source = "vcs" [project] name = "sphinx_json_schema_spec" description = "Sphinx support for the JSON Schema specifications" +requires-python = ">=3.11" readme = "README.rst" license = {text = "MIT"} -requires-python = ">=3.11" keywords = ["json schema", "jsonschema", "data validation", "sphinx", "json"] authors = [ {email = "Julian+sphinx-json-schema-spec@GrayVines.com"}, @@ -31,61 +31,92 @@ classifiers = [ "Topic :: File Formats :: JSON :: JSON Schema", ] dynamic = ["version"] - dependencies = [ "lxml", "sphinx>=5.1.1", ] [project.urls] -Documentation = "https://sphinx-json-schema-spec.readthedocs.io/" Homepage = "https://github.com/python-jsonschema/sphinx-json-schema-spec" +Documentation = "https://sphinx-json-schema-spec.readthedocs.io/" Issues = "https://github.com/python-jsonschema/sphinx-json-schema-spec/issues/" Funding = "https://github.com/sponsors/Julian" Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec" [tool.doc8] ignore = [ + "D000", # see PyCQA/doc8#125 "D001", # one sentence per line, so max length doesn't make sense ] [tool.isort] combine_as_imports = true +ensure_newline_before_comments = true from_first = true include_trailing_comma = true multi_line_output = 3 +use_parentheses = true [tool.ruff] line-length = 79 -select = ["B", "D", "E", "F", "Q", "UP", "W"] +select = ["ALL"] ignore = [ - # raise SomeException(...) is fine. - "B904", - # It's fine to not have docstrings for magic methods. - "D105", - # This rule makes diffs uglier when expanding docstrings (and it's uglier) - "D200", - # No blank lines before docstrings. - "D203", - # Start docstrings on the second line. - "D212", - # This rule misses sassy docstrings ending with ! or ?. - "D400", - # Section headers should end with a colon not a newline - "D406", - # Underlines aren't needed - "D407", - # Plz spaces after section headers - "D412", - # We support 3.8 + 3.9 - "UP007", + "A001", # It's fine to shadow builtins + "A002", + "A003", + "ARG", # This is all wrong whenever an interface is involved + "ANN", # Just let the type checker do this + "B006", # Mutable arguments require care but are OK if you don't abuse them + "B008", # It's totally OK to call functions for default arguments. + "B904", # raise SomeException(...) is fine. + "B905", # No need for explicit strict, this is simply zip's default behavior + "C408", # Calling dict is fine when it saves quoting the keys + "C901", # Not really something to focus on + "D105", # It's fine to not have docstrings for magic methods. + "D107", # __init__ especially doesn't need a docstring + "D200", # This rule makes diffs uglier when expanding docstrings + "D203", # No blank lines before docstrings. + "D212", # Start docstrings on the second line. + "D400", # This rule misses sassy docstrings ending with ! or ? + "D401", # This rule is too flaky. + "D406", # Section headers should end with a colon not a newline + "D407", # Underlines aren't needed + "D412", # Plz spaces after section headers + "EM101", # These don't bother me, it's fine there's some duplication. + "EM102", + "FBT", # It's worth avoiding boolean args but I don't care to enforce it + "FIX", # Yes thanks, if I could it wouldn't be there + "I001", # We can't yet use ruff's isort + "N", # These naming rules are silly + "PLR0912", # These metrics are fine to be aware of but not to enforce + "PLR0913", + "PLR0915", + "PLW2901", # Shadowing for loop variables is occasionally fine. + "PT006", # pytest parametrize takes strings as well + "PYI025", # wat, I'm not confused, thanks. + "RET502", # Returning None implicitly is fine + "RET503", + "RET505", # These push you to use `if` instead of `elif`, but for no reason + "RET506", + "RSE102", # Ha, what, who even knew you could leave the parens off. But no. + "S", # Security warnings with lots of false positives, as usual + "SIM300", # Not sure what heuristic this uses, but it's easily incorrect + "SLF001", # Private usage within this package itself is fine + "TD", # These TODO style rules are also silly ] extend-exclude = ["suite"] +[tool.ruff.lint.flake8-pytest-style] +mark-parentheses = false + [tool.ruff.flake8-quotes] docstring-quotes = "double" +[tool.ruff.lint.isort] +combine-as-imports = true +from-first = true + [tool.ruff.per-file-ignores] -"docs/*" = ["ANN", "D"] -"sphinx_json_schema_spec/tests/*" = ["ANN", "D"] -"noxfile.py" = ["ANN", "D"] +"noxfile.py" = ["ANN", "D100", "S101", "T201"] +"docs/*" = ["ANN", "D", "INP001"] +"sphinx_json_schema_spec/tests/*" = ["ANN", "D", "RUF012", "S", "PLR", "TRY"] diff --git a/sphinx_json_schema_spec/__init__.py b/sphinx_json_schema_spec/__init__.py index fe4bcd9..87111b5 100644 --- a/sphinx_json_schema_spec/__init__.py +++ b/sphinx_json_schema_spec/__init__.py @@ -18,9 +18,9 @@ "validation": urljoin(BASE_URL, "json-schema-validation.html"), } HARDCODED = { - "$dynamicRef": "https://json-schema.org/draft/2020-12/json-schema-core.html#dynamic-ref", # noqa: E501 + "$dynamicRef": "https://json-schema.org/draft/2020-12/json-schema-core.html#dynamic-ref", "$ref": "https://json-schema.org/draft/2020-12/json-schema-core.html#ref", - "format": "https://json-schema.org/draft/2020-12/json-schema-validation.html#name-implementation-requirements", # noqa: E501 + "format": "https://json-schema.org/draft/2020-12/json-schema-validation.html#name-implementation-requirements", } @@ -80,7 +80,7 @@ def fetch_or_load(cache_path, url): context = ssl.create_default_context() response = urllib.request.urlopen(request, context=context) - if response.code == 200: + if response.code == 200: # noqa: PLR2004 with cache_path.open("w+b") as out: out.writelines(response) out.seek(0) From 78b2681bc325a9a2522ecb4ad0bd52b476885ff2 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 5 Jan 2024 13:56:35 -0500 Subject: [PATCH 026/110] Dead file. --- .flake8 | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 .flake8 diff --git a/.flake8 b/.flake8 deleted file mode 100644 index c8d89a3..0000000 --- a/.flake8 +++ /dev/null @@ -1,10 +0,0 @@ -[flake8] -ban-relative-imports = true -inline-quotes = " -ignore = - # Barring function calls in default args. Ha, no. - B008, - # See https://github.com/PyCQA/flake8-bugbear/issues/131 - B306, - # (flake8 default) old PEP8 boolean operator line breaks - W503, From ce16c77e90daa54e67168162d5e1ba37c94ac282 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 5 Feb 2024 13:34:35 -0500 Subject: [PATCH 027/110] Ruff -> pre-commit --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f6b7db..98aa1ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,11 @@ repos: - id: mixed-line-ending args: [--fix, lf] - id: trailing-whitespace + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.2.0" + hooks: + - id: ruff + args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/PyCQA/isort rev: 5.13.2 hooks: From 3d767f56c6fde9326abdebfb77a5bfea6428bfea Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 5 Feb 2024 13:36:41 -0500 Subject: [PATCH 028/110] Ruff deprecation noise. --- pyproject.toml | 8 +++++--- sphinx_json_schema_spec/__init__.py | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a089c38..85bfc5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,9 @@ use_parentheses = true [tool.ruff] line-length = 79 +extend-exclude = ["suite"] + +[tool.ruff.lint] select = ["ALL"] ignore = [ "A001", # It's fine to shadow builtins @@ -104,19 +107,18 @@ ignore = [ "SLF001", # Private usage within this package itself is fine "TD", # These TODO style rules are also silly ] -extend-exclude = ["suite"] [tool.ruff.lint.flake8-pytest-style] mark-parentheses = false -[tool.ruff.flake8-quotes] +[tool.ruff.lint.flake8-quotes] docstring-quotes = "double" [tool.ruff.lint.isort] combine-as-imports = true from-first = true -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "noxfile.py" = ["ANN", "D100", "S101", "T201"] "docs/*" = ["ANN", "D", "INP001"] "sphinx_json_schema_spec/tests/*" = ["ANN", "D", "RUF012", "S", "PLR", "TRY"] diff --git a/sphinx_json_schema_spec/__init__.py b/sphinx_json_schema_spec/__init__.py index 87111b5..5212521 100644 --- a/sphinx_json_schema_spec/__init__.py +++ b/sphinx_json_schema_spec/__init__.py @@ -33,6 +33,7 @@ def setup(app): app (sphinx.application.Sphinx): the Sphinx application context + """ app.add_config_value("cache_path", "_cache", "") @@ -67,6 +68,7 @@ def fetch_or_load(cache_path, url): url: the URL of the document + """ version = metadata.version("sphinx-json-schema-spec") headers = {"User-Agent": f"sphinx-json-schema-spec v{version}"} @@ -130,6 +132,7 @@ def keyword(name, raw_text, text, lineno, inliner): a 2-tuple of nodes to insert into the document and an iterable of system messages, both possibly empty + """ hardcoded = HARDCODED.get(text) if hardcoded is not None: From f9781c362cf9059d83893eafb9748b16d3bd0e89 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 5 Feb 2024 13:37:19 -0500 Subject: [PATCH 029/110] Update docs requirements. --- docs/requirements.txt | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 78120b6..645e5d8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,29 +4,29 @@ # # pip-compile --strip-extras docs/requirements.in # -alabaster==0.7.13 +alabaster==0.7.16 # via sphinx babel==2.14.0 # via sphinx -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via furo -certifi==2023.11.17 +certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests docutils==0.20.1 # via sphinx -furo==2023.9.10 +furo==2024.1.29 # via -r docs/requirements.in idna==3.6 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.2 +jinja2==3.1.3 # via sphinx -lxml==5.0.0 +lxml==5.1.0 # via sphinx-json-schema-spec -markupsafe==2.1.3 +markupsafe==2.1.5 # via jinja2 packaging==23.2 # via sphinx @@ -48,32 +48,27 @@ sphinx==7.2.6 # furo # sphinx-basic-ng # sphinx-json-schema-spec - # sphinxcontrib-applehelp - # sphinxcontrib-devhelp - # sphinxcontrib-htmlhelp - # sphinxcontrib-qthelp - # sphinxcontrib-serializinghtml # sphinxcontrib-spelling # sphinxext-opengraph sphinx-basic-ng==1.0.0b2 # via furo file:.#egg=sphinx_json_schema_spec # via -r docs/requirements.in -sphinxcontrib-applehelp==1.0.7 +sphinxcontrib-applehelp==1.0.8 # via sphinx -sphinxcontrib-devhelp==1.0.5 +sphinxcontrib-devhelp==1.0.6 # via sphinx -sphinxcontrib-htmlhelp==2.0.4 +sphinxcontrib-htmlhelp==2.0.5 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.6 +sphinxcontrib-qthelp==1.0.7 # via sphinx -sphinxcontrib-serializinghtml==1.1.9 +sphinxcontrib-serializinghtml==1.1.10 # via sphinx sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in sphinxext-opengraph==0.9.1 # via -r docs/requirements.in -urllib3==2.1.0 +urllib3==2.2.0 # via requests From 13815e564ba148817646c6fa3583c01bd8c844be Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:13:59 +0000 Subject: [PATCH 030/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.2.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.2.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98aa1ef..e64bcf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.0" + rev: "v0.2.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b11cbf1af6928f94f7b5ff6dfc93ca3675958e60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:26:53 +0000 Subject: [PATCH 031/110] Bump pre-commit/action from 3.0.0 to 3.0.1 Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/pre-commit/action/releases) - [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1) --- updated-dependencies: - dependency-name: pre-commit/action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 750e1bb..5e836af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.x" - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 list: runs-on: ubuntu-latest From 1f76c1133f2ea7d1c51e818507d4c25a178eb5ba Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Wed, 21 Feb 2024 08:54:44 -0500 Subject: [PATCH 032/110] I'm one person, not two. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 85bfc5c..323d595 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,8 +13,7 @@ readme = "README.rst" license = {text = "MIT"} keywords = ["json schema", "jsonschema", "data validation", "sphinx", "json"] authors = [ - {email = "Julian+sphinx-json-schema-spec@GrayVines.com"}, - {name = "Julian Berman"}, + { name = "Julian Berman", email = "Julian+sphinx-json-schema-spec@GrayVines.com" }, ] classifiers = [ "Development Status :: 4 - Beta", From 17fc673bffcd0e7d75ac7f29ee1e4f80a4423d9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:44:15 +0000 Subject: [PATCH 033/110] Bump wntrblm/nox from 2023.04.22 to 2024.03.02 Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2023.04.22 to 2024.03.02. - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](https://github.com/wntrblm/nox/compare/2023.04.22...2024.03.02) --- updated-dependencies: - dependency-name: wntrblm/nox dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e836af..b100b52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up nox - uses: wntrblm/nox@2023.04.22 + uses: wntrblm/nox@2024.03.02 - id: noxenvs-matrix run: | echo >>$GITHUB_OUTPUT noxenvs=$( @@ -68,7 +68,7 @@ jobs: pypy3.10 allow-prereleases: true - name: Set up nox - uses: wntrblm/nox@2023.04.22 + uses: wntrblm/nox@2024.03.02 - name: Run nox run: nox -s "${{ matrix.noxenv }}" From 50e9fd3b6c7e3593adc43c28cb292d36d8e1b819 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 19:38:44 +0000 Subject: [PATCH 034/110] Bump softprops/action-gh-release from 1 to 2 Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b100b52..d5dc8a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 - name: Create a Release if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | dist/* From a5b9c9ca8ba933a7814538243fd72f424fd0b143 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 22:11:20 +0000 Subject: [PATCH 035/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.1...v0.3.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e64bcf9..6ee9d28 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.2.1" + rev: "v0.3.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 86ad46ae21c27692e3a35aa7de4522c525a8007f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:31:50 +0000 Subject: [PATCH 036/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.2...v0.3.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ee9d28..1f955e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.2" + rev: "v0.3.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 0ab590514a6b91add1afbd393372fd33d3a1aa1b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:23:58 +0000 Subject: [PATCH 037/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f955e3..655fe72 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.3" + rev: "v0.3.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 7acfab441ecacc60cd68a9962cfece744fdea973 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 19:23:20 +0000 Subject: [PATCH 038/110] Bump wntrblm/nox from 2024.03.02 to 2024.04.15 Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.03.02 to 2024.04.15. - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](https://github.com/wntrblm/nox/compare/2024.03.02...2024.04.15) --- updated-dependencies: - dependency-name: wntrblm/nox dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5dc8a3..4974b1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up nox - uses: wntrblm/nox@2024.03.02 + uses: wntrblm/nox@2024.04.15 - id: noxenvs-matrix run: | echo >>$GITHUB_OUTPUT noxenvs=$( @@ -68,7 +68,7 @@ jobs: pypy3.10 allow-prereleases: true - name: Set up nox - uses: wntrblm/nox@2024.03.02 + uses: wntrblm/nox@2024.04.15 - name: Run nox run: nox -s "${{ matrix.noxenv }}" From 22265ebf0d6db9fdc32a0ecf1971e6b156ea6506 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 19:38:08 +0000 Subject: [PATCH 039/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.3.7) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 655fe72..2295224 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-ast - id: check-docstring-first @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.4" + rev: "v0.3.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6c643f36c4b2b7ec6726f0eac8f8eb42c6e47edf Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sun, 21 Apr 2024 19:37:47 +0300 Subject: [PATCH 040/110] Update requirements. --- docs/requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 645e5d8..623765a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -14,21 +14,21 @@ certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests -docutils==0.20.1 +docutils==0.21.1 # via sphinx furo==2024.1.29 # via -r docs/requirements.in -idna==3.6 +idna==3.7 # via requests imagesize==1.4.1 # via sphinx jinja2==3.1.3 # via sphinx -lxml==5.1.0 +lxml==5.2.1 # via sphinx-json-schema-spec markupsafe==2.1.5 # via jinja2 -packaging==23.2 +packaging==24.0 # via sphinx pyenchant==3.2.2 # via sphinxcontrib-spelling @@ -42,7 +42,7 @@ snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 # via beautifulsoup4 -sphinx==7.2.6 +sphinx==7.3.7 # via # -r docs/requirements.in # furo @@ -70,5 +70,5 @@ sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in sphinxext-opengraph==0.9.1 # via -r docs/requirements.in -urllib3==2.2.0 +urllib3==2.2.1 # via requests From 72c6af302d5913e82f9fed94276b67e1efd3b48b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:25:37 +0000 Subject: [PATCH 041/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2295224..cb72822 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.7" + rev: "v0.4.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 22f6c36d4bf3ad5470075a3b1fd4d390040b8c89 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sun, 28 Apr 2024 06:59:09 +0300 Subject: [PATCH 042/110] Pin pyenchant to pre from below until pyenchant/pyenchant#302 is released. Refs: pyenchant/pyenchant#308 --- docs/requirements.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/requirements.in b/docs/requirements.in index 2ff9d8d..a9c3608 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -3,3 +3,6 @@ furo sphinx>=5.1 sphinxcontrib-spelling>5 sphinxext-opengraph + +# Until pyenchant/pyenchant#302 is released... +pyenchant>=3.3.0rc1 From 74a568994670213fefe5aed44e34580d29d10103 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:42:31 +0000 Subject: [PATCH 043/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb72822..ab4376c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.1" + rev: "v0.4.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From a52946cfa39ed105a123a2def65c9ad64312c32d Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 4 May 2024 08:29:37 -0400 Subject: [PATCH 044/110] Update pre-commit hooks. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ab4376c..04d5372 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.2" + rev: "v0.4.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From ba0b7212387a1c3ca5dab77b5a38d4aed997dfb7 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 4 May 2024 08:41:20 -0400 Subject: [PATCH 045/110] Update requirements. --- docs/requirements.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 623765a..eec2d12 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -14,9 +14,9 @@ certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests -docutils==0.21.1 +docutils==0.21.2 # via sphinx -furo==2024.1.29 +furo==2024.4.27 # via -r docs/requirements.in idna==3.7 # via requests @@ -30,8 +30,10 @@ markupsafe==2.1.5 # via jinja2 packaging==24.0 # via sphinx -pyenchant==3.2.2 - # via sphinxcontrib-spelling +pyenchant==3.3.0rc1 + # via + # -r docs/requirements.in + # sphinxcontrib-spelling pygments==2.17.2 # via # furo From a0d38afa9802a3f61e632ac831b74ae1cf737903 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 19:26:20 +0000 Subject: [PATCH 046/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 04d5372..3e71edf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.3" + rev: "v0.4.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From abc2846ef0012a29b0da73192b33dfcdb3a3879c Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 20 May 2024 18:29:49 +0300 Subject: [PATCH 047/110] Update requirements. --- docs/requirements.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index eec2d12..a6be1ed 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -6,7 +6,7 @@ # alabaster==0.7.16 # via sphinx -babel==2.14.0 +babel==2.15.0 # via sphinx beautifulsoup4==4.12.3 # via furo @@ -16,15 +16,15 @@ charset-normalizer==3.3.2 # via requests docutils==0.21.2 # via sphinx -furo==2024.4.27 +furo==2024.5.6 # via -r docs/requirements.in idna==3.7 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.3 +jinja2==3.1.4 # via sphinx -lxml==5.2.1 +lxml==5.2.2 # via sphinx-json-schema-spec markupsafe==2.1.5 # via jinja2 @@ -34,7 +34,7 @@ pyenchant==3.3.0rc1 # via # -r docs/requirements.in # sphinxcontrib-spelling -pygments==2.17.2 +pygments==2.18.0 # via # furo # sphinx From 4c4f752f33001abaceeb2a37567c5ad8e5d5d108 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:38:53 +0000 Subject: [PATCH 048/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.8) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e71edf..58e4b90 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.4" + rev: "v0.4.8" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From a0eae22919a9aa1a5730586f9b5e9e0fd0a0cff6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:33:54 +0000 Subject: [PATCH 049/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.8...v0.4.9) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58e4b90..b7dadc3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.8" + rev: "v0.4.9" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 2527dddaaae50197dd1be7d40abc34760a7f626f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 20:01:36 +0000 Subject: [PATCH 050/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.9...v0.5.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b7dadc3..86e309f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.9" + rev: "v0.5.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 1cea1fe2e411fb13e8eb6a626fe120bd65ba4745 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 6 Jul 2024 10:34:45 -0400 Subject: [PATCH 051/110] Update requirements. --- docs/requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index a6be1ed..8383b3f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -10,7 +10,7 @@ babel==2.15.0 # via sphinx beautifulsoup4==4.12.3 # via furo -certifi==2024.2.2 +certifi==2024.7.4 # via requests charset-normalizer==3.3.2 # via requests @@ -28,7 +28,7 @@ lxml==5.2.2 # via sphinx-json-schema-spec markupsafe==2.1.5 # via jinja2 -packaging==24.0 +packaging==24.1 # via sphinx pyenchant==3.3.0rc1 # via @@ -38,7 +38,7 @@ pygments==2.18.0 # via # furo # sphinx -requests==2.31.0 +requests==2.32.3 # via sphinx snowballstemmer==2.2.0 # via sphinx @@ -72,5 +72,5 @@ sphinxcontrib-spelling==8.0.0 # via -r docs/requirements.in sphinxext-opengraph==0.9.1 # via -r docs/requirements.in -urllib3==2.2.1 +urllib3==2.2.2 # via requests From 33a531a8d9a6b64170267c48296f3a5ef7161b88 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:04:37 +0000 Subject: [PATCH 052/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86e309f..a19879c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.0" + rev: "v0.5.6" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 0f0838161c381541ba4491a9d702c7a29adf046b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:43:06 +0000 Subject: [PATCH 053/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.5.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a19879c..6895642 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.6" + rev: "v0.5.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 72a5822b1617b8b212cdd8c870be80484d24655f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 19:47:21 +0000 Subject: [PATCH 054/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6895642..b1fe54e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.7" + rev: "v0.6.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 4d7ebb1fc08a347bf4012c2aabf683613d220992 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:43:55 +0000 Subject: [PATCH 055/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.1...v0.6.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1fe54e..8f1e1e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.1" + rev: "v0.6.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6abf825f57c8e47190fbaf58d8459a5f3052add6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 19:50:39 +0000 Subject: [PATCH 056/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.6.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.6.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f1e1e4..5d5a98e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.3" + rev: "v0.6.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From e8cbc25efdacefea3f470ff850279e25a47e8c64 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:49:23 +0000 Subject: [PATCH 057/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.4 → v0.6.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.4...v0.6.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d5a98e..86e3cf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.4" + rev: "v0.6.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From eee4f625695768f3aa9e0f1afa4991cd5634bf0f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 20:49:06 +0000 Subject: [PATCH 058/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.7 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.7...v0.6.9) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86e3cf9..2df8df2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-docstring-first @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.7" + rev: "v0.6.9" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 70febe17cee02a8c0391dbf2a958b4a083552171 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 19:48:02 +0000 Subject: [PATCH 059/110] Bump wntrblm/nox from 2024.04.15 to 2024.10.09 Bumps [wntrblm/nox](https://github.com/wntrblm/nox) from 2024.04.15 to 2024.10.09. - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](https://github.com/wntrblm/nox/compare/2024.04.15...2024.10.09) --- updated-dependencies: - dependency-name: wntrblm/nox dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4974b1c..377b246 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up nox - uses: wntrblm/nox@2024.04.15 + uses: wntrblm/nox@2024.10.09 - id: noxenvs-matrix run: | echo >>$GITHUB_OUTPUT noxenvs=$( @@ -68,7 +68,7 @@ jobs: pypy3.10 allow-prereleases: true - name: Set up nox - uses: wntrblm/nox@2024.04.15 + uses: wntrblm/nox@2024.10.09 - name: Run nox run: nox -s "${{ matrix.noxenv }}" From f2e5fbe022ce0a30d799a2477c9e680c8efee901 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 20:02:34 +0000 Subject: [PATCH 060/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2df8df2..1bcf2b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.9" + rev: "v0.7.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From d2e0357bc00034a044cb78de6266be42eddd2c7f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:13:08 +0000 Subject: [PATCH 061/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1bcf2b1..e7d153d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.0" + rev: "v0.7.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b7b0431a4b6b86c7a1be1d0bf9dc0f4882d3998b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 20:08:27 +0000 Subject: [PATCH 062/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7d153d..261cffe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.1" + rev: "v0.7.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 0f6cfb75f00db7e6a868716c5b38bcdf63a6f992 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:55:44 +0000 Subject: [PATCH 063/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.7.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 261cffe..8739f99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.2" + rev: "v0.7.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From c469ba3db36594b15ff011649077070046775e78 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:57:24 +0000 Subject: [PATCH 064/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.7.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8739f99..bd07a7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.3" + rev: "v0.7.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 559067f43ed9e8b893e7e2cefa9e83a3f5ade6d7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:55:30 +0000 Subject: [PATCH 065/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd07a7b..4db20af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.7.4" + rev: "v0.8.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 11ebf8a762fde9e75fa40654760669b394c8f018 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:08:43 +0000 Subject: [PATCH 066/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4db20af..360ad75 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.0" + rev: "v0.8.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From ac838712a3432cde6413d5d42c361f7d82184e5f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 19:58:12 +0000 Subject: [PATCH 067/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 360ad75..b52e7f8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.1" + rev: "v0.8.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 2773c33655a7b7dcd012083515276e5d81569e79 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:04:08 +0000 Subject: [PATCH 068/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b52e7f8..ade68f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.3" + rev: "v0.8.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From bbba456e4b241f2216f2198c40adf16b594d9a98 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:22:09 +0000 Subject: [PATCH 069/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ade68f4..4e9da32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.4" + rev: "v0.8.6" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 67ec520276f9b331b7332f81789a1d25dfe19695 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 19:57:18 +0000 Subject: [PATCH 070/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e9da32..b29ea18 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.6" + rev: "v0.9.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 69ab118e0607cc7c2fe3f8d8f00026cca1fe6993 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 13 Jan 2025 15:04:17 -0500 Subject: [PATCH 071/110] Update requirements. --- docs/requirements.txt | 44 ++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 8383b3f..b8dd4ae 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,47 +4,49 @@ # # pip-compile --strip-extras docs/requirements.in # -alabaster==0.7.16 +alabaster==1.0.0 # via sphinx -babel==2.15.0 +babel==2.16.0 # via sphinx beautifulsoup4==4.12.3 # via furo -certifi==2024.7.4 +certifi==2024.12.14 # via requests -charset-normalizer==3.3.2 +charset-normalizer==3.4.1 # via requests docutils==0.21.2 # via sphinx -furo==2024.5.6 +furo==2024.8.6 # via -r docs/requirements.in -idna==3.7 +idna==3.10 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.4 +jinja2==3.1.5 # via sphinx -lxml==5.2.2 +lxml==5.3.0 # via sphinx-json-schema-spec -markupsafe==2.1.5 +markupsafe==3.0.2 # via jinja2 -packaging==24.1 +packaging==24.2 # via sphinx pyenchant==3.3.0rc1 # via # -r docs/requirements.in # sphinxcontrib-spelling -pygments==2.18.0 +pygments==2.19.1 # via # furo # sphinx requests==2.32.3 - # via sphinx + # via + # sphinx + # sphinxcontrib-spelling snowballstemmer==2.2.0 # via sphinx -soupsieve==2.5 +soupsieve==2.6 # via beautifulsoup4 -sphinx==7.3.7 +sphinx==8.1.3 # via # -r docs/requirements.in # furo @@ -56,21 +58,21 @@ sphinx-basic-ng==1.0.0b2 # via furo file:.#egg=sphinx_json_schema_spec # via -r docs/requirements.in -sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.10 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -sphinxcontrib-spelling==8.0.0 +sphinxcontrib-spelling==8.0.1 # via -r docs/requirements.in sphinxext-opengraph==0.9.1 # via -r docs/requirements.in -urllib3==2.2.2 +urllib3==2.3.0 # via requests From 20e91ef24b8f7ef655794777d3e1fe15977ce83e Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 13 Jan 2025 15:22:05 -0500 Subject: [PATCH 072/110] Update requirements. --- docs/requirements.in | 2 +- docs/requirements.txt | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/requirements.in b/docs/requirements.in index a9c3608..b1df148 100644 --- a/docs/requirements.in +++ b/docs/requirements.in @@ -1,4 +1,4 @@ -file:.#egg=sphinx_json_schema_spec +file:. furo sphinx>=5.1 sphinxcontrib-spelling>5 diff --git a/docs/requirements.txt b/docs/requirements.txt index b8dd4ae..abf36ac 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,9 +1,5 @@ -# -# This file is autogenerated by pip-compile with Python 3.12 -# by the following command: -# -# pip-compile --strip-extras docs/requirements.in -# +# This file was autogenerated by uv via the following command: +# uv pip compile --output-file /Users/julian/Development/sphinx-json-schema-spec/docs/requirements.txt docs/requirements.in alabaster==1.0.0 # via sphinx babel==2.16.0 @@ -56,7 +52,7 @@ sphinx==8.1.3 # sphinxext-opengraph sphinx-basic-ng==1.0.0b2 # via furo -file:.#egg=sphinx_json_schema_spec +sphinx-json-schema-spec @ file:. # via -r docs/requirements.in sphinxcontrib-applehelp==2.0.0 # via sphinx From 44f95b6a3a16510a3113419a43bcbd379c60e81a Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Mon, 13 Jan 2025 15:22:20 -0500 Subject: [PATCH 073/110] Add 3.13 and run via uv in CI. --- .github/workflows/ci.yml | 59 ++++++++++++++++++---------------------- noxfile.py | 31 +++++++++++---------- pyproject.toml | 1 + 3 files changed, 45 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 377b246..e8f87e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,44 +2,37 @@ name: CI on: push: + branches-ignore: + - "wip*" + tags: + - "v*" pull_request: - release: - types: [published] schedule: # Daily at 3:11 - cron: "11 3 * * *" - -env: - PIP_DISABLE_PIP_VERSION_CHECK: "1" - PIP_NO_PYTHON_VERSION_WARNING: "1" + workflow_dispatch: jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - uses: pre-commit/action@v3.0.1 - list: runs-on: ubuntu-latest outputs: noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }} steps: - uses: actions/checkout@v4 - - name: Set up nox - uses: wntrblm/nox@2024.10.09 + - name: Set up uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true - id: noxenvs-matrix run: | echo >>$GITHUB_OUTPUT noxenvs=$( - nox --list-sessions --json | jq '[.[].session]' + uvx nox --list-sessions --json | jq '[.[].session]' ) ci: needs: list runs-on: ${{ matrix.os }} + strategy: fail-fast: false matrix: @@ -60,17 +53,18 @@ jobs: uses: actions/setup-python@v5 with: python-version: | - 3.8 - 3.9 - 3.10 3.11 3.12 - pypy3.10 + 3.13 allow-prereleases: true - - name: Set up nox - uses: wntrblm/nox@2024.10.09 + + - name: Set up uv + uses: astral-sh/setup-uv@v5 + with: + enable-cache: true + - name: Run nox - run: nox -s "${{ matrix.noxenv }}" + run: uvx nox -s "${{ matrix.noxenv }}" packaging: needs: ci @@ -78,20 +72,21 @@ jobs: environment: name: PyPI url: https://pypi.org/p/sphinx-json-schema-spec + permissions: contents: write id-token: write steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 + - name: Set up uv + uses: astral-sh/setup-uv@v5 with: - python-version: "3.x" - - name: Install dependencies - run: python -m pip install build - - name: Create packages - run: python -m build . + enable-cache: true + + - name: Build our distributions + run: uv run --with 'build[uv]' -m build --installer=uv + - name: Publish to PyPI if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/noxfile.py b/noxfile.py index 85d9421..831991b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -12,12 +12,13 @@ docs=DOCS / "requirements.txt", ) REQUIREMENTS_IN = [ # this is actually ordered, as files depend on each other - path.parent / f"{path.stem}.in" for path in REQUIREMENTS.values() + (path.parent / f"{path.stem}.in", path) for path in REQUIREMENTS.values() ] -SUPPORTED = ["3.11", "3.12"] -LATEST = "3.12" +SUPPORTED = ["3.11", "3.12", "3.13"] +LATEST = SUPPORTED[-1] +nox.options.default_venv_backend = "uv|virtualenv" nox.options.sessions = [] @@ -130,15 +131,17 @@ def docs_style(session): @session(default=False) def requirements(session): """ - Update the project's pinned requirements. Commit the result. + Update the project's pinned requirements. + + You should commit the result afterwards. """ - session.install("pip-tools") - for each in REQUIREMENTS_IN: - session.run( - "pip-compile", - "--resolver", - "backtracking", - "--strip-extras", - "-U", - each.relative_to(ROOT), - ) + if session.venv_backend == "uv": + cmd = ["uv", "pip", "compile"] + else: + session.install("pip-tools") + cmd = ["pip-compile", "--resolver", "backtracking", "--strip-extras"] + + for each, out in REQUIREMENTS_IN: + # otherwise output files end up with silly absolute path comments... + relative = each.relative_to(ROOT) + session.run(*cmd, "--upgrade", "--output-file", out, relative) diff --git a/pyproject.toml b/pyproject.toml index 323d595..ee4e382 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Sphinx :: Extension", From c422f9255d9fbcda12bb9f2862f26391bf8c8052 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 16 Jan 2025 15:52:09 -0500 Subject: [PATCH 074/110] Use uv for build noxenv too. --- noxfile.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index 831991b..de5c55f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -54,9 +54,15 @@ def build(session): """ Build a distribution suitable for PyPI and check its validity. """ - session.install("build", "twine") + session.install("build[uv]", "twine") with TemporaryDirectory() as tmpdir: - session.run("python", "-m", "build", ROOT, "--outdir", tmpdir) + session.run( + "pyproject-build", + "--installer=uv", + ROOT, + "--outdir", + tmpdir, + ) session.run("twine", "check", "--strict", tmpdir + "/*") From 446ed239761cb7a2daa247ee8383564744c98a94 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 16 Jan 2025 15:54:31 -0500 Subject: [PATCH 075/110] Use the now-recommended PEP 639 for license info. --- pyproject.toml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ee4e382..1fba154 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,8 @@ name = "sphinx_json_schema_spec" description = "Sphinx support for the JSON Schema specifications" requires-python = ">=3.11" readme = "README.rst" -license = {text = "MIT"} +license = "MIT" +license-files = ["COPYING"] keywords = ["json schema", "jsonschema", "data validation", "sphinx", "json"] authors = [ { name = "Julian Berman", email = "Julian+sphinx-json-schema-spec@GrayVines.com" }, @@ -18,7 +19,6 @@ authors = [ classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.11", @@ -45,21 +45,12 @@ Source = "https://github.com/python-jsonschema/sphinx-json-schema-spec" [tool.doc8] ignore = [ - "D000", # see PyCQA/doc8#125 - "D001", # one sentence per line, so max length doesn't make sense + "D000", # see PyCQA/doc8#125 + "D001", # one sentence per line, so max length doesn't make sense ] -[tool.isort] -combine_as_imports = true -ensure_newline_before_comments = true -from_first = true -include_trailing_comma = true -multi_line_output = 3 -use_parentheses = true - [tool.ruff] line-length = 79 -extend-exclude = ["suite"] [tool.ruff.lint] select = ["ALL"] @@ -67,6 +58,7 @@ ignore = [ "A001", # It's fine to shadow builtins "A002", "A003", + "A005", "ARG", # This is all wrong whenever an interface is involved "ANN", # Just let the type checker do this "B006", # Mutable arguments require care but are OK if you don't abuse them @@ -89,7 +81,6 @@ ignore = [ "EM102", "FBT", # It's worth avoiding boolean args but I don't care to enforce it "FIX", # Yes thanks, if I could it wouldn't be there - "I001", # We can't yet use ruff's isort "N", # These naming rules are silly "PLR0912", # These metrics are fine to be aware of but not to enforce "PLR0913", From a54aece92daf72ca8d53fe29a3c2f46b5fda7ade Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 16 Jan 2025 15:55:59 -0500 Subject: [PATCH 076/110] Update pre-commit hooks. --- .pre-commit-config.yaml | 10 ++++++---- docs/conf.py | 3 ++- sphinx_json_schema_spec/__init__.py | 2 ++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b29ea18..f2a515e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,14 +14,16 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.1" + rev: "v0.9.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + - repo: https://github.com/psf/black + rev: 24.10.0 hooks: - - id: isort + - name: black + id: black + args: ["--line-length", "79"] - repo: https://github.com/pre-commit/mirrors-prettier rev: "v4.0.0-alpha.8" hooks: diff --git a/docs/conf.py b/docs/conf.py index ba105a0..f3524e8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,8 @@ def entire_domain(host): intersphinx_mapping = { "jsonschema": ( - "https://python-jsonschema.readthedocs.io/en/latest/", None, + "https://python-jsonschema.readthedocs.io/en/latest/", + None, ), "packaging": ("https://packaging.python.org/", None), "python": ("https://docs.python.org/", None), diff --git a/sphinx_json_schema_spec/__init__.py b/sphinx_json_schema_spec/__init__.py index 5212521..85919a9 100644 --- a/sphinx_json_schema_spec/__init__.py +++ b/sphinx_json_schema_spec/__init__.py @@ -1,6 +1,7 @@ """ Sphinx support for interlinking to the JSON Schema specifications. """ + from contextlib import suppress from datetime import UTC, datetime from importlib import metadata @@ -186,4 +187,5 @@ def _missing_reference(app, env, node, contnod): text = contnod.astext() if node["refexplicit"] else target return nodes.reference(text, text, internal=False, refuri=uri) + return _missing_reference From 203c435576cb519e3436fe7e4d86b559459b1b3a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 20:21:10 +0000 Subject: [PATCH 077/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.4) - [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f2a515e..eb6ae32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.2" + rev: "v0.9.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - name: black id: black From d8728a71db5756d86e95cb6031369cab9f76125f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:03:19 +0000 Subject: [PATCH 078/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb6ae32..5266d65 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.4" + rev: "v0.9.6" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6537e96299d1b14979215b7b0a4deec7ad3efb08 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 18:06:05 +0000 Subject: [PATCH 079/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.11.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.11.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5266d65..9788e41 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.9.6" + rev: "v0.11.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From c022624fd39c7d4d49c0680b09da8a9f35fa7751 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Mar 2025 18:02:07 +0000 Subject: [PATCH 080/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.0 → v0.11.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.0...v0.11.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9788e41..f682a9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.0" + rev: "v0.11.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From dd24b846c1e40801dc6b7a07fb6146e936b80da6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:13:03 +0000 Subject: [PATCH 081/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.11.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f682a9a..dd7431d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.2" + rev: "v0.11.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 01b773988785f9fdafed9f30453e2aec7e8eecbd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Apr 2025 17:59:27 +0000 Subject: [PATCH 082/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.4...v0.11.5) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd7431d..282eb6b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.4" + rev: "v0.11.5" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 14e2fe704be07950d51d2ed15e7e0525602bb7f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Apr 2025 21:21:32 +0000 Subject: [PATCH 083/110] Bump astral-sh/setup-uv from 5 to 6 Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 6. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8f87e8..ed3b17a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: enable-cache: true - id: noxenvs-matrix @@ -59,7 +59,7 @@ jobs: allow-prereleases: true - name: Set up uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: enable-cache: true @@ -80,7 +80,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up uv - uses: astral-sh/setup-uv@v5 + uses: astral-sh/setup-uv@v6 with: enable-cache: true From 485bd699f81d43ccf268030a93d15e4131ede544 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Jun 2025 17:59:12 +0000 Subject: [PATCH 084/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.5 → v0.11.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.5...v0.11.13) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 282eb6b..fae92a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.5" + rev: "v0.11.13" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From a17f3780e55078b920036dc7844931e7e93b2e6a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 18:05:11 +0000 Subject: [PATCH 085/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.12.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fae92a5..4eb3e38 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.11.13" + rev: "v0.12.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6223800640c7298aaad710f285a576c766873ff4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 17:55:43 +0000 Subject: [PATCH 086/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.0 → v0.12.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.0...v0.12.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4eb3e38..462bb01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.0" + rev: "v0.12.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 94e519205490f024252194d1950f1116d5933d8f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 18:13:08 +0000 Subject: [PATCH 087/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.1 → v0.12.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.1...v0.12.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 462bb01..08e24d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.1" + rev: "v0.12.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 1ab9db9ea2cd3e8e4f17ce67dfc58452fb66ef34 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 18:01:08 +0000 Subject: [PATCH 088/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.12.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.2...v0.12.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08e24d6..f946f72 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.2" + rev: "v0.12.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 6914a23e89cb38cc5a5f7330376c9bdc4aa88d56 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:07:49 +0000 Subject: [PATCH 089/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.12.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.3...v0.12.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f946f72..4d319f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.3" + rev: "v0.12.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 133515d74a2e8caaace2d5b9b3c681d99f9e18a7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Aug 2025 18:21:33 +0000 Subject: [PATCH 090/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.4 → v0.12.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.4...v0.12.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d319f3..a639ead 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.4" + rev: "v0.12.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From f86a3f990433786fff94cf000b93718f0fa18214 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 18:28:21 +0000 Subject: [PATCH 091/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.12.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.7...v0.12.8) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a639ead..e09ecd1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-ast - id: check-docstring-first @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.7" + rev: "v0.12.8" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 1251c55726cd57d0e4e481f41084d62970f0e28f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 04:44:42 +0000 Subject: [PATCH 092/110] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed3b17a..9271b9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: outputs: noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up uv uses: astral-sh/setup-uv@v6 with: @@ -40,7 +40,7 @@ jobs: noxenv: ${{ fromJson(needs.list.outputs.noxenvs) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install dependencies run: > sudo apt-get update && @@ -78,7 +78,7 @@ jobs: id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up uv uses: astral-sh/setup-uv@v6 with: From d2cc3a5dac2a1630cef58308cbc795f8d92b3a1f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 18:13:37 +0000 Subject: [PATCH 093/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.8 → v0.12.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.8...v0.12.9) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e09ecd1..2513dd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.8" + rev: "v0.12.9" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 4ab29267dff0cf2d4992ba8fe8fad39009c5f7ed Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Sep 2025 18:11:57 +0000 Subject: [PATCH 094/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.9 → v0.12.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.9...v0.12.11) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2513dd2..3c7c629 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.9" + rev: "v0.12.11" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From e1561537494e02329664fd49228fbd4dd0004392 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 18:17:13 +0000 Subject: [PATCH 095/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.12.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.11...v0.12.12) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c7c629..cdb8b73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.11" + rev: "v0.12.12" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From dd5310cd0a74ced5cc196316ab3ec50b0f86ac40 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 20:17:22 +0000 Subject: [PATCH 096/110] Bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9271b9d..2613d76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: run: brew install enchant if: runner.os == 'macOS' && startsWith(matrix.noxenv, 'docs') - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: | 3.11 From 8406435715f8499f9cebabe9f8c3ef15f0dc98a7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 18:17:40 +0000 Subject: [PATCH 097/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.13.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.13.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cdb8b73..de1e5af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.12.12" + rev: "v0.13.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 92bda1a56b0eabf3e8a9ca69fb7effcb7538baa7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 18:25:38 +0000 Subject: [PATCH 098/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.0 → v0.13.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.0...v0.13.1) - [github.com/psf/black: 25.1.0 → 25.9.0](https://github.com/psf/black/compare/25.1.0...25.9.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de1e5af..f5bf99e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.0" + rev: "v0.13.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 25.1.0 + rev: 25.9.0 hooks: - name: black id: black From 30991d47004ac4b1d0977684d7f7d999a0182104 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 18:10:01 +0000 Subject: [PATCH 099/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.1 → v0.13.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.1...v0.13.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f5bf99e..b002c9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.1" + rev: "v0.13.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From d76db78bdbe63570a6fd6b33b9ff0137462ace71 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Oct 2025 19:09:18 +0000 Subject: [PATCH 100/110] Bump astral-sh/setup-uv from 6 to 7 Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2613d76..b5de688 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Set up uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true - id: noxenvs-matrix @@ -59,7 +59,7 @@ jobs: allow-prereleases: true - name: Set up uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true @@ -80,7 +80,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Set up uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true From 9c02e41024cff156b50ac4ee61f8fd2165955467 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Oct 2025 20:24:00 +0000 Subject: [PATCH 101/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.2 → v0.14.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.2...v0.14.1) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b002c9c..98ad690 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,11 +14,11 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.13.2" + rev: "v0.14.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - - repo: https://github.com/psf/black + - repo: https://github.com/psf/black-pre-commit-mirror rev: 25.9.0 hooks: - name: black From e590e84c7cd0c016aa72fada6d57511ec0c890c8 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 25 Oct 2025 15:20:22 -0400 Subject: [PATCH 102/110] Remove running pip-audit from CI. pip has had a recent CVE, and as a library (and not an app) it is difficult to run pip-audit in a way that has value but is segregated from pip-audit's own deps such that we don't encounter this kind of false positive. Downstream applications should themselves run pip-audit as it is more suited for being run by applications rather than libraries. --- noxfile.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/noxfile.py b/noxfile.py index de5c55f..f385768 100644 --- a/noxfile.py +++ b/noxfile.py @@ -40,15 +40,6 @@ def tests(session): session.run("pytest", *session.posargs, PACKAGE) -@session() -def audit(session): - """ - Audit dependencies for vulnerabilities. - """ - session.install("pip-audit", ROOT) - session.run("python", "-m", "pip_audit") - - @session(tags=["build"]) def build(session): """ From e0c1fca9aefc30ad1ec180b47b7a18e5a661e097 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 25 Oct 2025 21:20:40 -0400 Subject: [PATCH 103/110] Update pre-commit hooks. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 98ad690..30f02c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.1" + rev: "v0.14.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From a9e99f75bffb3f65a8b0b401f1f866ab12c6be28 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 25 Oct 2025 21:20:48 -0400 Subject: [PATCH 104/110] Update requirements. --- docs/requirements.txt | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index abf36ac..04666da 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,48 +1,53 @@ # This file was autogenerated by uv via the following command: # uv pip compile --output-file /Users/julian/Development/sphinx-json-schema-spec/docs/requirements.txt docs/requirements.in +accessible-pygments==0.0.5 + # via furo alabaster==1.0.0 # via sphinx -babel==2.16.0 +babel==2.17.0 # via sphinx -beautifulsoup4==4.12.3 +beautifulsoup4==4.14.2 # via furo -certifi==2024.12.14 +certifi==2025.10.5 # via requests -charset-normalizer==3.4.1 +charset-normalizer==3.4.4 # via requests docutils==0.21.2 # via sphinx -furo==2024.8.6 +furo==2025.9.25 # via -r docs/requirements.in -idna==3.10 +idna==3.11 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.5 +jinja2==3.1.6 # via sphinx -lxml==5.3.0 +lxml==6.0.2 # via sphinx-json-schema-spec -markupsafe==3.0.2 +markupsafe==3.0.3 # via jinja2 -packaging==24.2 +packaging==25.0 # via sphinx -pyenchant==3.3.0rc1 +pyenchant==3.3.0 # via # -r docs/requirements.in # sphinxcontrib-spelling -pygments==2.19.1 +pygments==2.19.2 # via + # accessible-pygments # furo # sphinx -requests==2.32.3 +requests==2.32.5 # via # sphinx # sphinxcontrib-spelling -snowballstemmer==2.2.0 +roman-numerals-py==3.1.0 + # via sphinx +snowballstemmer==3.0.1 # via sphinx -soupsieve==2.6 +soupsieve==2.8 # via beautifulsoup4 -sphinx==8.1.3 +sphinx==8.2.3 # via # -r docs/requirements.in # furo @@ -68,7 +73,9 @@ sphinxcontrib-serializinghtml==2.0.0 # via sphinx sphinxcontrib-spelling==8.0.1 # via -r docs/requirements.in -sphinxext-opengraph==0.9.1 +sphinxext-opengraph==0.13.0 # via -r docs/requirements.in -urllib3==2.3.0 +typing-extensions==4.15.0 + # via beautifulsoup4 +urllib3==2.5.0 # via requests From 5c905dbb9ec0fed67695b4a1c67986b1538f2fa6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 18:22:39 +0000 Subject: [PATCH 105/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.2 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.2...v0.14.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30f02c6..666f7b8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.2" + rev: "v0.14.3" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 9aa08681b4c9781ad0d75aa6a069c612224450c0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:18:36 +0000 Subject: [PATCH 106/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.3...v0.14.5) - [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...25.11.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 666f7b8..4e0c1c6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.3" + rev: "v0.14.5" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 25.11.0 hooks: - name: black id: black From bd69d1c0801aaae153bfea6fe9209eb8f0062065 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 18:29:02 +0000 Subject: [PATCH 107/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.5 → v0.14.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.5...v0.14.6) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e0c1c6..1c1d226 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.5" + rev: "v0.14.6" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 63cb198efe48c985e24a6ed4bcdc20c6dbe6fbc3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:35:48 +0000 Subject: [PATCH 108/110] Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5de688..935e20f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: outputs: noxenvs: ${{ steps.noxenvs-matrix.outputs.noxenvs }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up uv uses: astral-sh/setup-uv@v7 with: @@ -40,7 +40,7 @@ jobs: noxenv: ${{ fromJson(needs.list.outputs.noxenvs) }} steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Install dependencies run: > sudo apt-get update && @@ -78,7 +78,7 @@ jobs: id-token: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up uv uses: astral-sh/setup-uv@v7 with: From 572ebcc9f8c2aa5880e319d093c1eacc8139e082 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Dec 2025 18:33:47 +0000 Subject: [PATCH 109/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.6 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.6...v0.14.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c1d226..732d678 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.6" + rev: "v0.14.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b806ea7d5ff152888c61931a11c01ccf496a964a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:30:23 +0000 Subject: [PATCH 110/110] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.7...v0.14.8) - [github.com/psf/black-pre-commit-mirror: 25.11.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/25.11.0...25.12.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 732d678..ad17df0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,12 +14,12 @@ repos: args: [--fix, lf] - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.7" + rev: "v0.14.8" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.11.0 + rev: 25.12.0 hooks: - name: black id: black