Commit Graph

203 Commits

Author SHA1 Message Date
Stefan Kögl 4d9adf195b Merge commit '1fc5e2022ff2c5796bd28af56646b135ede4ee71' 2017-07-17 21:18:24 +02:00
Tristan Seligmann e8fbd18d93 Avoid double work (#62)
In the case where the optimized patch is not invalid, we shouldn't need to calculate the patch again.
2017-07-09 17:37:42 +02:00
Stefan Kögl 1fc5e2022f Bump version to 1.16 2017-06-15 17:41:06 +02:00
Stefan Kögl 18887df8af Merge branch 'mrhadenough-fix_optimization_bugs' 2017-06-15 17:34:43 +02:00
Kostya e18a131be0 don't apply patch optimization when it's incorrect 2017-04-27 17:05:55 +03:00
kostya 05d9aceda8 Fix: python 3.2 tests 2017-03-08 13:30:40 +02:00
kostya d1f317a2b7 Fix: optimization bugs #55, #54, add more tests 2017-03-08 13:18:16 +02:00
Stefan Kögl 27f1f987e0 bump version to 1.15 2017-01-12 22:26:56 +01:00
Stefan Kögl 8b46602074 bump version to 1.14 2017-01-12 22:24:24 +01:00
Stefan Kögl a01bec732f Update trove classification to include Python 3.6 2017-01-12 22:23:52 +01:00
Rémy HUBSCHER 1dbc03c62c Run tests with Python 3.6 2017-01-06 16:17:14 +01:00
Greg Cockburn 4e95310fae If there is no diff print nothing; exit 1 if a diff is found (#53)
if there is no diff print nothing, and exit 1 if a diff is found
2016-10-02 16:41:55 +02:00
Stefan Kögl 55e0c4372c Merge pull request #52 from haypo/signature
Use inspect.signature() on Python 3
2016-07-22 20:16:20 +02:00
Victor Stinner d6e9a0047b Use inspect.signature() on Python 3
The inspect.getargspec() function has been deprecated in Python 3:
https://docs.python.org/3/library/inspect.html#inspect.getargspec
2016-07-22 19:16:39 +02:00
Stefan Kögl c9ac1d9f0a Merge pull request #50 from go1dshtein/master
Fix KeyError in add/remove optimization
2016-05-31 18:47:33 +02:00
Kirill Goldshtein 72a90e3ff1 Fix KeyError in add/remove optimization 2016-05-04 09:53:57 +03:00
Stefan Kögl 5cc9bee572 Update trove classification to include Python 3.5 2016-02-13 19:04:55 +01:00
Stefan Kögl b15d8f1ec1 bump version to 1.13 2016-02-13 19:00:29 +01:00
Stefan Kögl 9ce8487179 Remove import of ``pudb`` 2016-02-13 15:50:48 +01:00
Stefan Kögl cf0da04dca Print test comments when external tests fail
Makes it easier to locate the failing tests in the test file
2016-02-13 15:42:27 +01:00
Stefan Kögl 4443d3241b Make ``move`` operation with from == path a no-op 2016-02-13 15:41:18 +01:00
Stefan Kögl a33021bf5a Optimize "deep" ``replace`` operation, fixes #36 2016-02-13 15:40:03 +01:00
Stefan Kögl 32dcbb03d8 Create "universal" wheel packages 2016-02-13 14:49:05 +01:00
Stefan Kögl 5c2a9b9189 Add encoding info to setup.py 2016-02-13 14:46:53 +01:00
Stefan Kögl d877f1d95d bump version to 1.12 2015-11-03 20:14:30 +01:00
Stefan Kögl 46ad04c19b Merge pull request #46 from apinkney97/master, fixes #40
Fix bug in _split_by_common_seq using wrong range in right subtree
2015-11-03 20:02:17 +01:00
Stefan Kögl 2a02d21d7b Add failing test for #40 2015-11-03 20:00:48 +01:00
Alex Pinkney 3f2328eb63 Fix bug in _split_by_common_seq using wrong range in right subtree 2015-11-03 17:04:12 +00:00
Stefan Kögl 99bf6166a4 Merge pull request #43 from selurvedu/separate-tests
Allow running certain tests separately
2015-10-28 20:21:34 +01:00
selurvedu 0ae80ba696 Allow running certain tests separately
E.g. `python2 -m unittest tests.MakePatchTestCase.test_objects`
or `nose tests:MakePatchTestCase.test_objects`.
2015-10-24 01:55:38 +00:00
Stefan Kögl a2ba02f808 Merge pull request #45 from selurvedu/py32_coverage
Fix build failure on Travis CI with Python 3.2
2015-10-22 22:16:12 +02:00
selurvedu 70306faa2b Fix build failure on Travis CI with Python 3.2
See https://bitbucket.org/ned/coveragepy/issues/407
2015-10-18 14:12:54 +00:00
Stefan Kögl 5ee8e9e3fd Add Travis tests for Python 3.5 2015-09-18 16:27:39 +02:00
Stefan Kögl dc9260e513 bump version to 1.11 2015-05-08 18:07:36 +02:00
Stefan Kögl 23f9b1a34b Fix tests for Python 3.2 2015-05-07 18:12:48 +02:00
Stefan Kögl 348ec1d9ed bump version to 1.10 2015-05-07 18:10:41 +02:00
Stefan Kögl b8275b58ec Require pypandoc instead of pandoc for setup.py 2015-05-07 18:09:03 +02:00
Stefan Kögl 5d1980dec7 Fix make_patch with unicode paths 2015-05-07 18:08:37 +02:00
Stefan Kögl 50a5e0d7e3 Enable container-based builds on Travis-CI 2015-04-23 22:08:06 +02:00
Stefan Kögl 66c4fa4ba1 bump version to 1.9 2014-11-03 18:49:46 +01:00
Stefan Kögl d07a8b9da1 require jsonpointer>=1.5 2014-11-03 18:49:16 +01:00
Stefan Kögl 2d930dfdc6 Use ABCs instead of list/dict, fixes #33 2014-11-03 18:35:46 +01:00
Stefan Kögl c2e0cfad28 Convert readme from markdown to rst for PyPI 2014-10-25 15:28:04 +02:00
Omer Katz 2497b47158 Added Python 3.4 and PyPy3 to the build matrix.
Also used travis_retry in order to avoid build failures due to networking problems and removed --use-mirrors since it's deprecated.
2014-10-05 10:59:39 +03:00
Stefan Kögl e4da658a5d bump version to 1.8 2014-09-26 17:26:30 +02:00
Stefan Kögl 6f7fc9bf72 Fix installation of commandline scripts (fixes #31) 2014-09-26 17:25:43 +02:00
Stefan Kögl 98e272e717 raise JsonPatchException on missing patch attributes 2014-07-03 22:44:03 +02:00
Stefan Kögl 3f2f609e42 Add wheel as dev dependency for wheel packages 2014-07-03 22:13:05 +02:00
Stefan Kögl 6b0c193108 bump version to 1.7 2014-07-03 22:03:51 +02:00
Stefan Kögl 45b44b7e41 [Setup] use utf-8 explicitly in setup.py 2014-06-30 22:42:03 +02:00