Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stefankoegl/python-json-patch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.46
Choose a base ref
...
head repository: stefankoegl/python-json-patch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.47
Choose a head ref
  • 20 commits
  • 19 files changed
  • 2 contributors

Commits on Nov 10, 2026

  1. Remove Python 2 leftovers and a redundant copy from jsonpatch.py

    - drop the coding line, explicit object base classes and two-argument super()
    - drop JsonPatch.__nonzero__, which only Python 2 used
    - drop the __ne__ methods; Python 3 derives the same result from __eq__
    - don't deep-copy the values of generated test operations in DiffBuilder:
      from_diff copies all operations of the patch since 2e37755, so they
      were copied twice
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 10, 2026
    Configuration menu
    Copy the full SHA
    055f6a1 View commit details
    Browse the repository at this point in the history
  2. Close the input files of the jsonpatch command line program

    jsondiff closed its inputs, but jsonpatch never closed PATCH, and closed
    ORIGINAL only with --in-place. Both now use the same helper, which leaves
    stdin open. Also fixes a tab, trailing whitespace and blank lines that
    flake8 reported.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 10, 2026
    Configuration menu
    Copy the full SHA
    843b366 View commit details
    Browse the repository at this point in the history
  3. Fix packaging and documentation inconsistencies

    - setup.py: close the files it reads, drop the package_data entry for
      requirements.txt, which matched nothing as there is no such package
    - MANIFEST.in: ship doc/conf.py, doc/Makefile, doc/requirements.txt,
      requirements-dev.txt and the makefile, so that the docs, which the
      sdist already contained, can be built from it, and its tests be run
    - README: fix the doubled slash in the badge links, link the tutorial on
      Read the Docs instead of pointing to the source code (the relative link
      to doc/tutorial.rst was broken on PyPI), say how to run the tests, and
      drop the note on expected failures, of which there are none any more
    - use readthedocs.io and datatracker.ietf.org, where the old hosts
      redirect to
    - doc: fix the mod-jsonpatch label, which was a comment, and typos in the
      tutorial; remove the empty _static directory, the missing _templates
      directory, u'' prefixes and the placeholder description from conf.py
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 10, 2026
    Configuration menu
    Copy the full SHA
    f0e9bf5 View commit details
    Browse the repository at this point in the history
  4. Clean up the test runners and stale test workarounds

    - tests.py: 'python tests.py' ran the doctests of jsonpatch twice, and
      only the test classes in a hand-maintained list. It now uses
      unittest.main() with load_tests, which finds all classes. tests.js is
      found independent of the working directory and read as UTF-8
    - ext_tests.py: remove the coverage report, which was started after
      jsonpatch was imported and so reported meaningless numbers, and was
      skipped when tests failed; remove the doctests, which tests.py runs
    - property_tests.py: no property is an expected failure any more, so
      drop the 'safe' documents without '-' keys and the test that only
      differed in using them, and let the state machine replace '-' members
      and test values that are equal in Python but not in JSON
    - requirements-dev.txt: drop wheel, which nothing uses
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 10, 2026
    Configuration menu
    Copy the full SHA
    5ad4939 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2026

  1. Drop support for Python 3.10

    Python 3.10 reached its end of life in October 2026.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    2afe893 View commit details
    Browse the repository at this point in the history
  2. Remove the AUTHORS file

    It listed four people and has not been kept up to date; the git history
    names everyone who contributed.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    b08b769 View commit details
    Browse the repository at this point in the history
  3. Use the wording of LICENSE in the source file headers

    The headers of jsonpatch.py and ext_tests.py used an older wording of the
    3-clause BSD license than LICENSE, which is what __license__ and the
    package metadata refer to: 'the author' instead of 'the copyright holder
    and contributors'. They now contain the text of LICENSE.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    7a0a867 View commit details
    Browse the repository at this point in the history
  4. Update the Read the Docs build and the documentation theme

    Build on Ubuntu 24.04 with Python 3.13, the version CI builds the docs
    with. Replace the 'default' theme, a legacy alias of Sphinx's 'classic'
    theme since Read the Docs no longer substitutes its own theme for it, by
    alabaster, the theme Sphinx uses by default.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    c877312 View commit details
    Browse the repository at this point in the history
  5. Don't show the e-mail address in the copyright line of the docs

    The copyright notice was set to __author__, which includes the e-mail
    address, so every page of the documentation showed it in its footer.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    d5e06c8 View commit details
    Browse the repository at this point in the history
  6. Fix the flake8 warnings and make the lint check strict

    CI ran flake8 twice: once for syntax errors and undefined names, and once
    with --exit-zero for everything else, so about 270 style warnings, nearly
    all of them in tests.py and doc/conf.py, never failed a build. They are
    fixed, most of them with autopep8, without changing what the code does.
    Apart from whitespace and comments, the only changes are a renamed
    variable and dropped u'' prefixes in two tests, and 'import sys, os'
    split in two in doc/conf.py.
    
    The check is now a single strict run, configured in .flake8 so that it
    gives the same result locally. It no longer passes --max-complexity=10,
    which three functions exceed (patch_files, AppendOperation._apply and
    JsonPatch.apply): splitting them up is not a style fix.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    6465880 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #262 from stefankoegl/claude/drop-python-3.10

    Drop support for Python 3.10
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    a4d3fb1 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #267 from stefankoegl/claude/remove-authors

    Remove the AUTHORS file
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    afee7e9 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #266 from stefankoegl/claude/license-header-wording

    Use the wording of LICENSE in the source file headers
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    d564984 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #264 from stefankoegl/claude/update-readthedocs

    Update the Read the Docs build and the documentation theme
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    2f1063d View commit details
    Browse the repository at this point in the history
  11. Merge pull request #263 from stefankoegl/claude/flake8-clean

    Fix the flake8 warnings and make the lint check strict
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    42c0338 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #265 from stefankoegl/claude/docs-copyright-no-email

    Don't show the e-mail address in the copyright line of the docs
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    1b31bdb View commit details
    Browse the repository at this point in the history
  13. Add support for Python 3.15

    Test on Python 3.15 in CI and declare it in the classifiers. The code
    needs no change.
    
    Co-Authored-By: Claude Fable 5.2 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6
    claude committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    1364cbd View commit details
    Browse the repository at this point in the history
  14. Merge pull request #261 from stefankoegl/claude/inspiring-turing-zftuu5

    Clean up leftovers and inconsistencies found in a project audit
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    f54a754 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #268 from stefankoegl/claude/python-3.15

    Add support for Python 3.15
    stefankoegl authored Nov 11, 2026
    Configuration menu
    Copy the full SHA
    7be7113 View commit details
    Browse the repository at this point in the history
  16. bump version to 1.47

    stefankoegl committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    cc1229a View commit details
    Browse the repository at this point in the history
Loading