Repository navigation
Comparing changes
Open a pull request
base repository: stefankoegl/python-json-patch
base: v1.46
head repository: stefankoegl/python-json-patch
compare: v1.47
- 20 commits
- 19 files changed
- 2 contributors
Commits on Nov 10, 2026
-
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
Configuration menu - View commit details
-
Copy full SHA for 055f6a1 - Browse repository at this point
Copy the full SHA 055f6a1View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 843b366 - Browse repository at this point
Copy the full SHA 843b366View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f0e9bf5 - Browse repository at this point
Copy the full SHA f0e9bf5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5ad4939 - Browse repository at this point
Copy the full SHA 5ad4939View commit details
Commits on Nov 11, 2026
-
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
Configuration menu - View commit details
-
Copy full SHA for 2afe893 - Browse repository at this point
Copy the full SHA 2afe893View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b08b769 - Browse repository at this point
Copy the full SHA b08b769View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 7a0a867 - Browse repository at this point
Copy the full SHA 7a0a867View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c877312 - Browse repository at this point
Copy the full SHA c877312View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d5e06c8 - Browse repository at this point
Copy the full SHA d5e06c8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6465880 - Browse repository at this point
Copy the full SHA 6465880View commit details -
Merge pull request #262 from stefankoegl/claude/drop-python-3.10
Drop support for Python 3.10
Configuration menu - View commit details
-
Copy full SHA for a4d3fb1 - Browse repository at this point
Copy the full SHA a4d3fb1View commit details -
Merge pull request #267 from stefankoegl/claude/remove-authors
Remove the AUTHORS file
Configuration menu - View commit details
-
Copy full SHA for afee7e9 - Browse repository at this point
Copy the full SHA afee7e9View commit details -
Merge pull request #266 from stefankoegl/claude/license-header-wording
Use the wording of LICENSE in the source file headers
Configuration menu - View commit details
-
Copy full SHA for d564984 - Browse repository at this point
Copy the full SHA d564984View commit details -
Merge pull request #264 from stefankoegl/claude/update-readthedocs
Update the Read the Docs build and the documentation theme
Configuration menu - View commit details
-
Copy full SHA for 2f1063d - Browse repository at this point
Copy the full SHA 2f1063dView commit details -
Merge pull request #263 from stefankoegl/claude/flake8-clean
Fix the flake8 warnings and make the lint check strict
Configuration menu - View commit details
-
Copy full SHA for 42c0338 - Browse repository at this point
Copy the full SHA 42c0338View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1b31bdb - Browse repository at this point
Copy the full SHA 1b31bdbView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1364cbd - Browse repository at this point
Copy the full SHA 1364cbdView commit details -
Merge pull request #261 from stefankoegl/claude/inspiring-turing-zftuu5
Clean up leftovers and inconsistencies found in a project audit
Configuration menu - View commit details
-
Copy full SHA for f54a754 - Browse repository at this point
Copy the full SHA f54a754View commit details -
Merge pull request #268 from stefankoegl/claude/python-3.15
Add support for Python 3.15
Configuration menu - View commit details
-
Copy full SHA for 7be7113 - Browse repository at this point
Copy the full SHA 7be7113View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc1229a - Browse repository at this point
Copy the full SHA cc1229aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.46...v1.47