From 82f8b9811ad7eb17a9c277fb94635b5501ef71c5 Mon Sep 17 00:00:00 2001 From: James Prior Date: Tue, 24 Sep 2024 19:48:18 +0100 Subject: [PATCH 1/3] Test against Python 3.13-rc.2 --- .github/workflows/tests.yaml | 2 +- pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1b92465..2e26535 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"] steps: - uses: actions/checkout@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 5505102..d6eb406 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,10 +21,11 @@ classifiers = [ "Programming Language :: Python :: 3.10", "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", ] -dependencies = ["regex", "iregexp-check>=0.1.3"] +dependencies = ["regex", "iregexp-check>=0.1.4"] [project.urls] Documentation = "https://jg-rp.github.io/python-jsonpath-rfc9535/" @@ -65,7 +66,7 @@ lint = "ruff check ." typing = "mypy" [[tool.hatch.envs.all.matrix]] -python = ["3.8", "3.9", "3.10", "3.11", "3.12"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] [tool.coverage.run] branch = true From c67e3ce26c9ca287f68d369a7db80ba46742a24e Mon Sep 17 00:00:00 2001 From: James Prior Date: Tue, 8 Oct 2024 08:26:54 +0100 Subject: [PATCH 2/3] Test against Python 3.13.0 --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2e26535..06fd9f8 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.2"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0"] steps: - uses: actions/checkout@v4 with: From 33d87ec29a159c85fde399fc56e96de2a23b52bd Mon Sep 17 00:00:00 2001 From: James Prior Date: Fri, 25 Oct 2024 07:51:09 +0100 Subject: [PATCH 3/3] Don't specify patch version number --- .github/workflows/tests.yaml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 06fd9f8..08b2e51 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 with: diff --git a/README.md b/README.md index 7e3bb7f..073bf58 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ products = jsonpath.find("$..products.*", data).values() Apply JSONPath expression _query_ to _value_. _value_ should arbitrary, possible nested, Python dictionaries, lists, strings, integers, floats, Booleans or `None`, as you would get from [`json.load()`](https://docs.python.org/3/library/json.html#json.load). -A list of `JSONPathNode` instances is returned, one node for each value matched by _path_. The returned list will be empty if there were no matches. +A list of `JSONPathNode` instances is returned, one node for each value matched by _query_. The returned list will be empty if there were no matches. Each `JSONPathNode` has: