Hello community,
here is the log from the commit of package python-pygerrit2 for openSUSE:Factory checked in at 2019-05-24 11:32:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygerrit2 (Old)
and /work/SRC/openSUSE:Factory/.python-pygerrit2.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygerrit2"
Fri May 24 11:32:00 2019 rev:2 rq:704957 version:2.0.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pygerrit2/python-pygerrit2.changes 2018-12-19 13:54:02.490901049 +0100
+++ /work/SRC/openSUSE:Factory/.python-pygerrit2.new.5148/python-pygerrit2.changes 2019-05-24 11:32:01.237396644 +0200
@@ -1,0 +2,11 @@
+Thu May 23 07:50:13 UTC 2019 - pgajdos@suse.com
+
+- version update to 2.0.9
+ * Run livetests against 2.15.11 and 2.16.6
+ * Don't attempt to parse empty response content
+ * Raise exception for error status before attempting to parse content
+ * Add debug log of response content type, status code and encoding
+ * Add a test for PUT request with a json file
+ * Bump pytest from 4.2.1 to 4.3.0
+
+-------------------------------------------------------------------
Old:
----
pygerrit2-2.0.7.tar.gz
New:
----
pygerrit2-2.0.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pygerrit2.spec ++++++
--- /var/tmp/diff_new_pack.Qh5BW3/_old 2019-05-24 11:32:01.757396510 +0200
+++ /var/tmp/diff_new_pack.Qh5BW3/_new 2019-05-24 11:32:01.761396509 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pygerrit2
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pygerrit2
-Version: 2.0.7
+Version: 2.0.9
Release: 0
Summary: Client library for interacting with Gerrit code review
License: MIT
@@ -36,7 +36,7 @@
# SECTION test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pbr >= 0.8.0}
-BuildRequires: %{python_module requests >= 2.10.0}
+BuildRequires: %{python_module requests >= 2.20.0}
# /SECTION
%python_subpackages
++++++ pygerrit2-2.0.7.tar.gz -> pygerrit2-2.0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/AUTHORS new/pygerrit2-2.0.9/AUTHORS
--- old/pygerrit2-2.0.7/AUTHORS 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/AUTHORS 2019-02-28 06:27:03.000000000 +0100
@@ -22,3 +22,5 @@
Peter Theckanath
Vasiliy Kleschov
Vineet Naik
+z-w-k
+z-w-k
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/ChangeLog new/pygerrit2-2.0.9/ChangeLog
--- old/pygerrit2-2.0.7/ChangeLog 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/ChangeLog 2019-02-28 06:27:03.000000000 +0100
@@ -1,6 +1,66 @@
CHANGES
=======
+2.0.9
+-----
+
+* Run livetests against 2.15.11 and 2.16.6
+* Don't attempt to parse empty response content
+* Raise exception for error status before attempting to parse content
+* Add debug log of response content type, status code and encoding
+* Add a test for PUT request with a json file
+* Bump pytest from 4.2.1 to 4.3.0
+* Bump pytest from 4.2.0 to 4.2.1
+* Run live tests against 2.15.10 and 2.16.5
+* Bump pytest from 4.1.1 to 4.2.0
+* Fixed an issue with duplicate output log message
+* Run livetests against 2.15.9 and 2.16.4
+* Set logger format and name
+* Run livetests with 2.14.18, 2.15.8 and 2.16.3
+* Bump pytest from 4.1.0 to 4.1.1
+* Bump pytest from 4.0.2 to 4.1.0
+* Run livetests with 2.16.2
+* Bump pytest from 4.0.1 to 4.0.2
+* Add dependabot badge on the pypi description file
+* Run livetests against 2.16.1
+* Bump requests from 2.20.1 to 2.21.0
+* Bump pytest from 4.0.0 to 4.0.1
+* Drop livetests against 2.13.x
+* Run livetests against 2.16 final release
+* Bump pytest from 3.10.1 to 4.0.0
+* Remove unnecessary warning log
+* Run livetests against 2.14.17 and 2.15.7
+* Bump pytest from 3.10.0 to 3.10.1
+
+2.0.8
+-----
+
+* Bump requests from 2.20.0 to 2.20.1
+* Run livetests against 2.16-rc3
+* Bump pbr from 5.1.0 to 5.1.1
+* Bump pytest from 3.9.3 to 3.10.0
+* Run livetests against 2.16-rc1
+* CVE-2018-18074: Upgrade requests to >=2.20.0
+* Run livetests against 2.16-rc0
+* Bump pytest from 3.9.2 to 3.9.3
+* Run livetests against 2.14.16 and 2.15.6
+* Bump pbr from 5.0.0 to 5.1.0
+* Bump pytest from 3.9.1 to 3.9.2
+* Add dependabot status badge
+* Bump pytest from 3.8.2 to 3.9.1
+* Bump pydocstyle from 2.1.1 to 3.0.0
+* Bump pbr from 4.2.0 to 4.3.0
+* Run livetests against 2.14.14 and 2.15.4
+* Bump pytest from 3.8.1 to 3.8.2
+* Bump pytest from 3.8.0 to 3.8.1
+* Run livetests against 2.14.13
+* Run livetests against 2.14.12
+* Bump pytest from 3.7.4 to 3.8.0
+* Bump pytest from 3.7.3 to 3.7.4
+* Update dependencies
+* Run livetests with Gerrit 2.14.11
+* Update Programming Language classifiers
+
2.0.7
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/PKG-INFO new/pygerrit2-2.0.9/PKG-INFO
--- old/pygerrit2-2.0.7/PKG-INFO 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/PKG-INFO 2019-02-28 06:27:04.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pygerrit2
-Version: 2.0.7
+Version: 2.0.9
Summary: Client library for interacting with Gerrit's REST API
Home-page: https://github.com/dpursehouse/pygerrit2
Author: David Pursehouse
@@ -15,6 +15,8 @@
.. image:: https://travis-ci.org/dpursehouse/pygerrit2.svg?branch=master
+ .. image:: https://api.dependabot.com/badges/status?host=github&repo=dpursehouse/pygerrit2
+
Pygerrit2 provides a simple interface for clients to interact with
`Gerrit Code Review`_ via the REST API.
@@ -43,8 +45,9 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/Pipfile.lock new/pygerrit2-2.0.9/Pipfile.lock
--- old/pygerrit2-2.0.7/Pipfile.lock 2018-07-13 02:28:01.000000000 +0200
+++ new/pygerrit2-2.0.9/Pipfile.lock 2019-02-19 13:48:24.000000000 +0100
@@ -16,10 +16,10 @@
"default": {
"certifi": {
"hashes": [
- "sha256:13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7",
- "sha256:9fa520c1bacfb634fa7af20a76bcbd3d5fb390481724c597da32c719a7dca4b0"
+ "sha256:47f9c83ef4c0c621eaef743f133f09fa8a74a9b75f037e8624f83bd1b6626cb7",
+ "sha256:993f830721089fef441cdfeb4b2c8c9df86f0c63239f06bd025a76a7daddb033"
],
- "version": "==2018.4.16"
+ "version": "==2018.11.29"
},
"chardet": {
"hashes": [
@@ -34,49 +34,48 @@
},
"idna": {
"hashes": [
- "sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",
- "sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
+ "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407",
+ "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"
],
- "version": "==2.7"
+ "version": "==2.8"
},
"pbr": {
"hashes": [
- "sha256:4f2b11d95917af76e936811be8361b2b19616e5ef3b55956a429ec7864378e0c",
- "sha256:e0f23b61ec42473723b2fec2f33fb12558ff221ee551962f01dd4de9053c2055"
+ "sha256:a7953f66e1f82e4b061f43096a4bcc058f7d3d41de9b94ac871770e8bdd831a2",
+ "sha256:d717573351cfe09f49df61906cd272abaa759b3e91744396b804965ff7bff38b"
],
- "version": "==4.1.0"
+ "version": "==5.1.2"
},
"requests": {
"hashes": [
- "sha256:63b52e3c866428a224f97cab011de738c36aec0185aa91cfacd418b5d58911d1",
- "sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a"
+ "sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e",
+ "sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
],
"index": "pypi",
- "version": "==2.19.1"
+ "version": "==2.21.0"
},
"urllib3": {
"hashes": [
- "sha256:a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf",
- "sha256:b5725a0bd4ba422ab0e66e89e030c806576753ea3ee08554382c14e685d117b5"
+ "sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",
+ "sha256:de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
],
- "markers": "python_version != '3.3.*' and python_version != '3.2.*' and python_version < '4' and python_version >= '2.6' and python_version != '3.1.*' and python_version != '3.0.*'",
- "version": "==1.23"
+ "version": "==1.24.1"
}
},
"develop": {
"atomicwrites": {
"hashes": [
- "sha256:240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585",
- "sha256:a24da68318b08ac9c9c45029f4a10371ab5b20e4226738e150e6e7c571630ae6"
+ "sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4",
+ "sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"
],
- "version": "==1.1.5"
+ "version": "==1.3.0"
},
"attrs": {
"hashes": [
- "sha256:4b90b09eeeb9b88c35bc642cbac057e45a5fd85367b985bd2809c62b7b939265",
- "sha256:e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b"
+ "sha256:10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69",
+ "sha256:ca4be454458f9dec299268d472aaa5a11f67a4ff70093396e1ceae9c76cf4bbb"
],
- "version": "==18.1.0"
+ "version": "==18.2.0"
},
"blindspin": {
"hashes": [
@@ -87,10 +86,10 @@
},
"certifi": {
"hashes": [
- "sha256:13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7",
- "sha256:9fa520c1bacfb634fa7af20a76bcbd3d5fb390481724c597da32c719a7dca4b0"
+ "sha256:47f9c83ef4c0c621eaef743f133f09fa8a74a9b75f037e8624f83bd1b6626cb7",
+ "sha256:993f830721089fef441cdfeb4b2c8c9df86f0c63239f06bd025a76a7daddb033"
],
- "version": "==2018.4.16"
+ "version": "==2018.11.29"
},
"chardet": {
"hashes": [
@@ -101,10 +100,10 @@
},
"colorama": {
"hashes": [
- "sha256:463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda",
- "sha256:48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1"
+ "sha256:05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d",
+ "sha256:f8ac84de7840f5b9c4e3347b3c1eaa50f7e49c2b07596221daec5edaabbd7c48"
],
- "version": "==0.3.9"
+ "version": "==0.4.1"
},
"crayons": {
"hashes": [
@@ -115,17 +114,17 @@
},
"docker": {
"hashes": [
- "sha256:52cf5b1c3c394f9abf897638bfc3336d6b63a0f65969d0d4d2da6d3b1d8032b6",
- "sha256:ad077b49660b711d20f50f344f70cfae014d635ef094bf21b0d7df5f0aeedf99"
+ "sha256:2840ffb9dc3ef6d00876bde476690278ab13fa1f8ba9127ef855ac33d00c3152",
+ "sha256:5831256da3477723362bc71a8df07b8cd8493e4a4a60cebd45580483edbe48ae"
],
- "version": "==3.4.1"
+ "version": "==3.7.0"
},
"docker-pycreds": {
"hashes": [
- "sha256:0a941b290764ea7286bd77f54c0ace43b86a8acd6eb9ead3de9840af52384079",
- "sha256:8b0e956c8d206f832b06aa93a710ba2c3bcbacb5a314449c040b0b814355bbff"
+ "sha256:6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4",
+ "sha256:7266112468627868005106ec19cd0d722702d2b7d5912a28e19b826c3d37af49"
],
- "version": "==0.3.0"
+ "version": "==0.4.0"
},
"e1839a8": {
"editable": true,
@@ -141,10 +140,10 @@
},
"idna": {
"hashes": [
- "sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",
- "sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
+ "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407",
+ "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"
],
- "version": "==2.7"
+ "version": "==2.8"
},
"mccabe": {
"hashes": [
@@ -163,35 +162,32 @@
},
"more-itertools": {
"hashes": [
- "sha256:2b6b9893337bfd9166bee6a62c2b0c9fe7735dcf85948b387ec8cba30e85d8e8",
- "sha256:6703844a52d3588f951883005efcf555e49566a48afd4db4e965d69b883980d3",
- "sha256:a18d870ef2ffca2b8463c0070ad17b5978056f403fb64e3f15fe62a52db21cc0"
+ "sha256:0125e8f60e9e031347105eb1682cef932f5e97d7b9a1a28d9bf00c22a5daef40",
+ "sha256:590044e3942351a1bdb1de960b739ff4ce277960f2425ad4509446dbace8d9d1"
],
- "version": "==4.2.0"
+ "markers": "python_version > '2.7'",
+ "version": "==6.0.0"
},
"pbr": {
"hashes": [
- "sha256:4f2b11d95917af76e936811be8361b2b19616e5ef3b55956a429ec7864378e0c",
- "sha256:e0f23b61ec42473723b2fec2f33fb12558ff221ee551962f01dd4de9053c2055"
+ "sha256:a7953f66e1f82e4b061f43096a4bcc058f7d3d41de9b94ac871770e8bdd831a2",
+ "sha256:d717573351cfe09f49df61906cd272abaa759b3e91744396b804965ff7bff38b"
],
- "version": "==4.1.0"
+ "version": "==5.1.2"
},
"pluggy": {
"hashes": [
- "sha256:7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff",
- "sha256:d345c8fe681115900d6da8d048ba67c25df42973bda370783cd58826442dcd7c",
- "sha256:e160a7fcf25762bb60efc7e171d4497ff1d8d2d75a3d0df7a21b76821ecbf5c5"
+ "sha256:8ddc32f03971bfdf900a81961a48ccf2fb677cf7715108f85295c67405798616",
+ "sha256:980710797ff6a041e9a73a5787804f848996ecaa6f8a1b1e08224a5894f2074a"
],
- "markers": "python_version != '3.3.*' and python_version != '3.2.*' and python_version != '3.1.*' and python_version != '3.0.*' and python_version >= '2.7'",
- "version": "==0.6.0"
+ "version": "==0.8.1"
},
"py": {
"hashes": [
- "sha256:3fd59af7435864e1a243790d322d763925431213b6b8529c6ca71081ace3bbf7",
- "sha256:e31fb2767eb657cbde86c454f02e99cb846d3cd9d61b318525140214fdc0e98e"
+ "sha256:bf92637198836372b520efcba9e020c330123be8ce527e535d185ed4b6f45694",
+ "sha256:e76826342cefe3c3d5f7e8ee4316b80d1dd8a300781612ddbc765c17ba25a6c6"
],
- "markers": "python_version != '3.3.*' and python_version != '3.2.*' and python_version != '3.1.*' and python_version != '3.0.*' and python_version >= '2.7'",
- "version": "==1.5.4"
+ "version": "==1.7.0"
},
"pycodestyle": {
"hashes": [
@@ -202,12 +198,12 @@
},
"pydocstyle": {
"hashes": [
- "sha256:08a870edc94508264ed90510db466c6357c7192e0e866561d740624a8fc7d90c",
- "sha256:4d5bcde961107873bae621f3d580c3e35a426d3687ffc6f8fb356f6628da5a97",
- "sha256:af9fcccb303899b83bec82dc9a1d56c60fc369973223a5e80c3dfa9bdf984405"
+ "sha256:2258f9b0df68b97bf3a6c29003edc5238ff8879f1efb6f1999988d934e432bd8",
+ "sha256:5741c85e408f9e0ddf873611085e819b809fca90b619f5fd7f34bd4959da3dd4",
+ "sha256:ed79d4ec5e92655eccc21eb0c6cf512e69512b4a97d215ace46d17e4990f2039"
],
"index": "pypi",
- "version": "==2.1.1"
+ "version": "==3.0.0"
},
"pyflakes": {
"hashes": [
@@ -219,26 +215,26 @@
},
"pytest": {
"hashes": [
- "sha256:0453c8676c2bee6feb0434748b068d5510273a916295fd61d306c4f22fbfd752",
- "sha256:4b208614ae6d98195430ad6bde03641c78553acee7c83cec2e85d613c0cd383d"
+ "sha256:067a1d4bf827ffdd56ad21bd46674703fce77c5957f6c1eef731f6146bfcef1c",
+ "sha256:9687049d53695ad45cf5fdc7bbd51f0c49f1ea3ecfc4b7f3fde7501b541f17f4"
],
"index": "pypi",
- "version": "==3.6.3"
+ "version": "==4.3.0"
},
"requests": {
"hashes": [
- "sha256:63b52e3c866428a224f97cab011de738c36aec0185aa91cfacd418b5d58911d1",
- "sha256:ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a"
+ "sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e",
+ "sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
],
"index": "pypi",
- "version": "==2.19.1"
+ "version": "==2.21.0"
},
"six": {
"hashes": [
- "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
- "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
+ "sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c",
+ "sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
],
- "version": "==1.11.0"
+ "version": "==1.12.0"
},
"snowballstemmer": {
"hashes": [
@@ -249,31 +245,30 @@
},
"testcontainers": {
"hashes": [
- "sha256:3a9e6801106c7f3435635ea3b73de6dfd4cba932e0e89a1217e6098edd816dad"
+ "sha256:46d316ac19aa7257c604d9a2e89e0db4cd67007aeb5ae6d8d7975ba163ec23ff"
],
"index": "pypi",
- "version": "==2.2"
+ "version": "==2.3"
},
"urllib3": {
"hashes": [
- "sha256:a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf",
- "sha256:b5725a0bd4ba422ab0e66e89e030c806576753ea3ee08554382c14e685d117b5"
+ "sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",
+ "sha256:de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
],
- "markers": "python_version != '3.3.*' and python_version != '3.2.*' and python_version < '4' and python_version >= '2.6' and python_version != '3.1.*' and python_version != '3.0.*'",
- "version": "==1.23"
+ "version": "==1.24.1"
},
"websocket-client": {
"hashes": [
- "sha256:18f1170e6a1b5463986739d9fd45c4308b0d025c1b2f9b88788d8f69e8a5eb4a",
- "sha256:db70953ae4a064698b27ae56dcad84d0ee68b7b43cb40940f537738f38f510c1"
+ "sha256:8c8bf2d4f800c3ed952df206b18c28f7070d9e3dcbd6ca6291127574f57ee786",
+ "sha256:e51562c91ddb8148e791f0155fdb01325d99bb52c4cdbb291aee7a3563fd0849"
],
- "version": "==0.48.0"
+ "version": "==0.54.0"
},
"wrapt": {
"hashes": [
- "sha256:d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6"
+ "sha256:4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533"
],
- "version": "==1.10.11"
+ "version": "==1.11.1"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/README.md new/pygerrit2-2.0.9/README.md
--- old/pygerrit2-2.0.7/README.md 2018-07-09 07:37:31.000000000 +0200
+++ new/pygerrit2-2.0.9/README.md 2018-10-17 12:26:43.000000000 +0200
@@ -3,6 +3,7 @@
![Version](https://img.shields.io/pypi/v/pygerrit2.svg)
![License](https://img.shields.io/pypi/l/pygerrit2.svg)
[![Build Status](https://travis-ci.org/dpursehouse/pygerrit2.svg?branch=master)](https://travis-ci.org/dpursehouse/pygerrit2)
+[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=dpursehouse/pygerrit2)](https://dependabot.com)
Pygerrit2 provides a simple interface for clients to interact with
[Gerrit Code Review][gerrit] via the REST API. It is based on [pygerrit][pygerrit]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/description.rst new/pygerrit2-2.0.9/description.rst
--- old/pygerrit2-2.0.7/description.rst 2018-06-16 05:03:43.000000000 +0200
+++ new/pygerrit2-2.0.9/description.rst 2018-12-11 12:24:51.000000000 +0100
@@ -7,6 +7,8 @@
.. image:: https://travis-ci.org/dpursehouse/pygerrit2.svg?branch=master
+.. image:: https://api.dependabot.com/badges/status?host=github&repo=dpursehouse/pygerrit2
+
Pygerrit2 provides a simple interface for clients to interact with
`Gerrit Code Review`_ via the REST API.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/livetests.py new/pygerrit2-2.0.9/livetests.py
--- old/pygerrit2-2.0.7/livetests.py 2018-07-19 03:14:36.000000000 +0200
+++ new/pygerrit2-2.0.9/livetests.py 2019-02-28 06:21:01.000000000 +0100
@@ -52,7 +52,8 @@
api.get("/changes/")
-@pytest.fixture(scope="module", params=["2.13.11", "2.14.10", "2.15.3"])
+@pytest.fixture(scope="module",
+ params=["2.14.18", "2.15.11", "2.16.6"])
def gerrit_api(request):
"""Create a Gerrit container for the given version and return an API."""
with GerritContainer(request.param) as gerrit:
@@ -145,6 +146,13 @@
gerrit_api.put("/changes/" + change_id + "/edit/foo",
data="Content with non base64 valid chars åäö")
+ def test_put_json_content(self, gerrit_api):
+ """Test a PUT request with a json file content (issue #54)."""
+ change_id = self._get_test_change(gerrit_api)["id"]
+ content = """{"foo" : "bar"}"""
+ gerrit_api.put("/changes/" + change_id + "/edit/file.json",
+ data=content)
+
def test_get_base64_data(self, gerrit_api):
"""Test a GET request on an API that returns base64 encoded response.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/pygerrit2/rest/__init__.py new/pygerrit2-2.0.9/pygerrit2/rest/__init__.py
--- old/pygerrit2-2.0.7/pygerrit2/rest/__init__.py 2018-07-13 02:25:14.000000000 +0200
+++ new/pygerrit2-2.0.9/pygerrit2/rest/__init__.py 2019-02-27 08:02:53.000000000 +0100
@@ -28,6 +28,15 @@
from .auth import HTTPBasicAuthFromNetrc
+logger = logging.getLogger("pygerrit2")
+fmt = "%(asctime)s-[%(name)s-%(levelname)s] %(message)s"
+datefmt = "[%y-%m-%d %H:%M:%S]"
+sh = logging.StreamHandler()
+sh.setLevel(logging.WARNING)
+sh.setFormatter(logging.Formatter(fmt, datefmt))
+if not logger.handlers:
+ logger.addHandler(sh)
+
GERRIT_MAGIC_JSON_PREFIX = ")]}\'\n"
GERRIT_AUTH_SUFFIX = "/a"
DEFAULT_HEADERS = {'Accept': 'application/json',
@@ -45,11 +54,16 @@
requests.HTTPError if the response contains an HTTP error status code.
"""
+ content_type = response.headers.get('content-type', '')
+ logger.debug("status[%s] content_type[%s] encoding[%s]" %
+ (response.status_code, content_type, response.encoding))
+ response.raise_for_status()
content = response.content.strip()
if response.encoding:
content = content.decode(response.encoding)
- response.raise_for_status()
- content_type = response.headers.get('content-type', '')
+ if not content:
+ logger.debug("no content in response")
+ return content
if content_type.split(';')[0] != 'application/json':
return content
if content.startswith(GERRIT_MAGIC_JSON_PREFIX):
@@ -57,7 +71,7 @@
try:
return json.loads(content)
except ValueError:
- logging.error('Invalid json content: %s', content)
+ logger.error('Invalid json content: %s', content)
raise
@@ -193,7 +207,6 @@
"""
args = self.translate_kwargs(**kwargs)
- logging.warning(args)
response = self.session.post(self.make_url(endpoint), **args)
decoded_response = _decode_response(response)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/pygerrit2.egg-info/PKG-INFO new/pygerrit2-2.0.9/pygerrit2.egg-info/PKG-INFO
--- old/pygerrit2-2.0.7/pygerrit2.egg-info/PKG-INFO 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/pygerrit2.egg-info/PKG-INFO 2019-02-28 06:27:03.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pygerrit2
-Version: 2.0.7
+Version: 2.0.9
Summary: Client library for interacting with Gerrit's REST API
Home-page: https://github.com/dpursehouse/pygerrit2
Author: David Pursehouse
@@ -15,6 +15,8 @@
.. image:: https://travis-ci.org/dpursehouse/pygerrit2.svg?branch=master
+ .. image:: https://api.dependabot.com/badges/status?host=github&repo=dpursehouse/pygerrit2
+
Pygerrit2 provides a simple interface for clients to interact with
`Gerrit Code Review`_ via the REST API.
@@ -43,8 +45,9 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/pygerrit2.egg-info/pbr.json new/pygerrit2-2.0.9/pygerrit2.egg-info/pbr.json
--- old/pygerrit2-2.0.7/pygerrit2.egg-info/pbr.json 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/pygerrit2.egg-info/pbr.json 2019-02-28 06:27:03.000000000 +0100
@@ -1 +1 @@
-{"git_version": "556bdbb", "is_release": true}
\ No newline at end of file
+{"git_version": "3f6af04", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/pygerrit2.egg-info/requires.txt new/pygerrit2-2.0.9/pygerrit2.egg-info/requires.txt
--- old/pygerrit2-2.0.7/pygerrit2.egg-info/requires.txt 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/pygerrit2.egg-info/requires.txt 2019-02-28 06:27:03.000000000 +0100
@@ -1,2 +1,2 @@
pbr>=0.8.0
-requests<=2.19.1,>=2.10.0
+requests>=2.20.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/requirements.txt new/pygerrit2-2.0.9/requirements.txt
--- old/pygerrit2-2.0.7/requirements.txt 2018-06-28 11:42:27.000000000 +0200
+++ new/pygerrit2-2.0.9/requirements.txt 2018-11-03 01:14:10.000000000 +0100
@@ -1,2 +1,2 @@
pbr>=0.8.0
-requests>=2.10.0,<=2.19.1
+requests>=2.20.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygerrit2-2.0.7/setup.cfg new/pygerrit2-2.0.9/setup.cfg
--- old/pygerrit2-2.0.7/setup.cfg 2018-07-19 06:01:50.000000000 +0200
+++ new/pygerrit2-2.0.9/setup.cfg 2019-02-28 06:27:04.000000000 +0100
@@ -16,8 +16,9 @@
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python
- Programming Language :: Python :: 2.7
+ Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS