commit python-marathon for openSUSE:Factory

2020-09-16 Thread root
Hello community,

here is the log from the commit of package python-marathon for openSUSE:Factory 
checked in at 2020-09-16 19:41:33

Comparing /work/SRC/openSUSE:Factory/python-marathon (Old)
 and  /work/SRC/openSUSE:Factory/.python-marathon.new.4249 (New)


Package is "python-marathon"

Wed Sep 16 19:41:33 2020 rev:6 rq:834882 version:0.13.0

Changes:

--- /work/SRC/openSUSE:Factory/python-marathon/python-marathon.changes  
2020-03-05 23:24:48.073394032 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-marathon.new.4249/python-marathon.changes
2020-09-16 19:41:46.238963304 +0200
@@ -1,0 +2,12 @@
+Wed Sep 16 11:16:02 UTC 2020 - Dirk Mueller 
+
+- update to 0.13.0:
+  - about view one instance app logs real time
+  - Fix deserialization for Deploment model
+  - Local tests no longer need docker-compose and rely on "mini-marathon"
+  - Adding support for v1.10.19
+  - Updates for Marathon 1.9.109
+  - Fix return value for kill\_given\_tasks.
+  - Bump requests from 2.11.1 to 2.20.0
+
+---

Old:

  marathon-0.12.0.tar.gz

New:

  marathon-0.13.0.tar.gz



Other differences:
--
++ python-marathon.spec ++
--- /var/tmp/diff_new_pack.hbCtQU/_old  2020-09-16 19:41:48.498965846 +0200
+++ /var/tmp/diff_new_pack.hbCtQU/_new  2020-09-16 19:41:48.502965851 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-marathon
-Version:0.12.0
+Version:0.13.0
 Release:0
 Summary:Marathon Client Library
 License:MIT

++ marathon-0.12.0.tar.gz -> marathon-0.13.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.12.0/PKG-INFO new/marathon-0.13.0/PKG-INFO
--- old/marathon-0.12.0/PKG-INFO2019-11-14 02:39:46.0 +0100
+++ new/marathon-0.13.0/PKG-INFO2020-08-21 18:30:06.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: marathon
-Version: 0.12.0
+Version: 0.13.0
 Summary: Marathon Client Library
 Home-page: https://github.com/thefactory/marathon-python
 Author: Mike Babineau
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.12.0/README.md 
new/marathon-0.13.0/README.md
--- old/marathon-0.12.0/README.md   2019-10-03 19:07:43.0 +0200
+++ new/marathon-0.13.0/README.md   2020-08-21 18:22:17.0 +0200
@@ -6,6 +6,7 @@
 
  Compatibility
 
+* For Marathon 1.9.x and 1.10.x, use at least 0.13.0
 * For Marathon 1.6.x, use at least 0.10.0
 * For Marathon 1.4.1, use at least 0.8.13
 * For Marathon 1.1.1, use at least 0.8.1
@@ -51,7 +52,7 @@
 ### Running The Tests Against a Specific Version of Marathon
 
 ```bash
-MARATHONVERSION=1.6.322 make itests
+MARATHONVERSION=v1.6.322 make itests
 ```
 
 ## Documentation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.12.0/marathon/client.py 
new/marathon-0.13.0/marathon/client.py
--- old/marathon-0.12.0/marathon/client.py  2019-11-14 02:17:23.0 
+0100
+++ new/marathon-0.13.0/marathon/client.py  2020-08-21 18:22:17.0 
+0200
@@ -13,6 +13,7 @@
 import marathon
 from .models import MarathonApp, MarathonDeployment, MarathonGroup, 
MarathonInfo, MarathonTask, MarathonEndpoint, MarathonQueueItem
 from .exceptions import ConflictError, InternalServerError, NotFoundError, 
MarathonHttpError, MarathonError, NoResponseError
+from .models.base import assert_valid_path
 from .models.events import EventFactory, MarathonEvent
 from .util import MarathonJsonEncoder, MarathonMinimalJsonEncoder
 
@@ -167,8 +168,9 @@
 :returns: the created app (on success)
 :rtype: :class:`marathon.models.app.MarathonApp` or False
 """
-app.id = app_id
+app.id = assert_valid_path(app_id)
 data = app.to_json(minimal=minimal)
+marathon.log.debug('create app JSON sent: {}'.format(data))
 response = self._do_request('POST', '/v2/apps', data=data)
 if response.status_code == 201:
 return self._parse_response(response, MarathonApp)
@@ -531,7 +533,7 @@
 data = json.dumps({"ids": task_ids})
 response = self._do_request(
 'POST', '/v2/tasks/delete', params=params, data=data)
-return response == 200
+return response.status_code == 200
 
 def kill_tasks(self, app_id, scale=False, wipe=False,
host=None, batch_size=0, batch_delay=0):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.12.0/marathon/models/app.py 

commit python-marathon for openSUSE:Factory

2020-03-05 Thread root
Hello community,

here is the log from the commit of package python-marathon for openSUSE:Factory 
checked in at 2020-03-05 23:24:45

Comparing /work/SRC/openSUSE:Factory/python-marathon (Old)
 and  /work/SRC/openSUSE:Factory/.python-marathon.new.26092 (New)


Package is "python-marathon"

Thu Mar  5 23:24:45 2020 rev:5 rq:781880 version:0.12.0

Changes:

--- /work/SRC/openSUSE:Factory/python-marathon/python-marathon.changes  
2019-03-27 16:23:14.839506710 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-marathon.new.26092/python-marathon.changes   
2020-03-05 23:24:48.073394032 +0100
@@ -1,0 +2,8 @@
+Thu Mar  5 14:40:42 UTC 2020 - pgaj...@suse.com
+
+- version update to 0.12.0
+Downloading Log For App #265
+Always create TZ-aware datetime objects. (also drop support for python 2) 
#267 (EvanKrall)
+Compatible with event stream redirect behavior. #262 (fengyehong)
+
+---

Old:

  marathon-0.11.0.tar.gz

New:

  marathon-0.12.0.tar.gz



Other differences:
--
++ python-marathon.spec ++
--- /var/tmp/diff_new_pack.ILUmsM/_old  2020-03-05 23:24:48.453394241 +0100
+++ /var/tmp/diff_new_pack.ILUmsM/_new  2020-03-05 23:24:48.453394241 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-marathon
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-marathon
-Version:0.11.0
+Version:0.12.0
 Release:0
 Summary:Marathon Client Library
 License:MIT

++ marathon-0.11.0.tar.gz -> marathon-0.12.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.11.0/PKG-INFO new/marathon-0.12.0/PKG-INFO
--- old/marathon-0.11.0/PKG-INFO2019-01-15 20:14:09.0 +0100
+++ new/marathon-0.12.0/PKG-INFO2019-11-14 02:39:46.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: marathon
-Version: 0.11.0
+Version: 0.12.0
 Summary: Marathon Client Library
 Home-page: https://github.com/thefactory/marathon-python
 Author: Mike Babineau
@@ -13,9 +13,8 @@
 Classifier: Intended Audience :: System Administrators
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.11.0/marathon/_compat.py 
new/marathon-0.12.0/marathon/_compat.py
--- old/marathon-0.11.0/marathon/_compat.py 2017-06-21 18:49:56.0 
+0200
+++ new/marathon-0.12.0/marathon/_compat.py 1970-01-01 01:00:00.0 
+0100
@@ -1,11 +0,0 @@
-"""
-Support for python 2 & 3, ripped pieces from six.py
-"""
-import sys
-
-PY3 = sys.version_info[0] == 3
-
-if PY3:
-string_types = str,
-else:
-string_types = basestring,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.11.0/marathon/client.py 
new/marathon-0.12.0/marathon/client.py
--- old/marathon-0.11.0/marathon/client.py  2019-01-15 20:07:53.0 
+0100
+++ new/marathon-0.12.0/marathon/client.py  2019-11-14 02:17:23.0 
+0100
@@ -17,7 +17,7 @@
 from .util import MarathonJsonEncoder, MarathonMinimalJsonEncoder
 
 
-class MarathonClient(object):
+class MarathonClient:
 
 """Client interface for the Marathon REST API."""
 
@@ -79,7 +79,7 @@
 'Content-Type': 'application/json', 'Accept': 'application/json'}
 
 if self.auth_token:
-headers['Authorization'] = "token={}".format(self.auth_token)
+headers['Authorization'] = f"token={self.auth_token}"
 
 response = None
 servers = list(self.servers)
@@ -122,9 +122,12 @@
 
 def _do_sse_request(self, path, params=None):
 """Query Marathon server for events."""
-for server in list(self.servers):
-url = ''.join([server.rstrip('/'), path])
+urls = [''.join([server.rstrip('/'), path]) for server in self.servers]
+while urls:
+url = 

commit python-marathon for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package python-marathon for openSUSE:Factory 
checked in at 2019-03-27 16:22:59

Comparing /work/SRC/openSUSE:Factory/python-marathon (Old)
 and  /work/SRC/openSUSE:Factory/.python-marathon.new.25356 (New)


Package is "python-marathon"

Wed Mar 27 16:22:59 2019 rev:4 rq:689090 version:0.11.0

Changes:

--- /work/SRC/openSUSE:Factory/python-marathon/python-marathon.changes  
2018-12-24 11:39:34.601548754 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-marathon.new.25356/python-marathon.changes   
2019-03-27 16:23:14.839506710 +0100
@@ -1,0 +2,25 @@
+Wed Mar 27 12:00:32 UTC 2019 - pgaj...@suse.com
+
+- version update to 0.11.0
+  * Added region and zone members to task model. #260
+  * Exception #259
+  * SSE SSL authentication not supported #247
+  * Lack of support for container.networks #243
+  * __init__() got an unexpected keyword argument 'port_mappings' #237
+  * Wrong health check object generated for COMMAND protocol #222
+  * Add support for mesos 1.6 #255 
+  * Possibility for send the full json object on create #252 
+  * events: add a few attributes #251 
+  * install-marathon.sh: do not remove oracle-java7-installer #250 
+  * MarathonClient: set verify when using sse_session #248 
+  * add reset delay api #246 
+  * fixes for issue 244 #245 
+  * Test against 1.4.11 #240 
+  * fix isuuse-238 #239 (yudong2015)
+  * Test against 1.4.10 instead of 1.4.9 #236 
+  * make models.info compatible with 1.4.9 #233 
+  * Fix health check 'command' #231 
+  * Feature/marathon constraint model improvements #229 
+  * Removes id validation from MarathonGroup() #228 
+
+---

Old:

  marathon-0.9.0.tar.gz

New:

  marathon-0.11.0.tar.gz



Other differences:
--
++ python-marathon.spec ++
--- /var/tmp/diff_new_pack.WK7uSA/_old  2019-03-27 16:23:15.463506580 +0100
+++ /var/tmp/diff_new_pack.WK7uSA/_new  2019-03-27 16:23:15.467506579 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-marathon
 #
-# 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-marathon
-Version:0.9.0
+Version:0.11.0
 Release:0
 Summary:Marathon Client Library
 License:MIT
@@ -27,7 +27,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/m/marathon/marathon-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-Requires:   python-requests >= 2.0.0
+Requires:   python-requests >= 2.4.0
+Requires:   python-requests-toolbelt >= 0.4.0
 BuildArch:  noarch
 %python_subpackages
 
@@ -43,6 +44,9 @@
 %install
 %python_install
 
+%check
+# requires Docker and Marathon server installed there
+
 %files %{python_files}
 %license LICENSE
 %{python_sitelib}/*

++ marathon-0.9.0.tar.gz -> marathon-0.11.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.9.0/PKG-INFO new/marathon-0.11.0/PKG-INFO
--- old/marathon-0.9.0/PKG-INFO 2017-06-21 18:55:35.0 +0200
+++ new/marathon-0.11.0/PKG-INFO2019-01-15 20:14:09.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: marathon
-Version: 0.9.0
+Version: 0.11.0
 Summary: Marathon Client Library
 Home-page: https://github.com/thefactory/marathon-python
 Author: Mike Babineau
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/marathon-0.9.0/README.md 
new/marathon-0.11.0/README.md
--- old/marathon-0.9.0/README.md1970-01-01 01:00:00.0 +0100
+++ new/marathon-0.11.0/README.md   2019-01-15 20:07:53.0 +0100
@@ -0,0 +1,132 @@
+# marathon-python
+
+[![Build 
Status](https://travis-ci.org/thefactory/marathon-python.svg?branch=master)](https://travis-ci.org/thefactory/marathon-python)
+
+This is a Python library for interfacing with 
[Marathon](https://github.com/mesosphere/marathon) servers via Marathon's [REST 
API](https://mesosphere.github.io/marathon/docs/rest-api.html).
+
+ Compatibility
+
+* For Marathon 1.6.x, use at least 0.10.0
+* For Marathon 1.4.1, use at least 0.8.13
+* For Marathon 1.1.1, use at least 0.8.1
+* For all version changes, please see `CHANGELOG.md`
+
+If you find a feature that is broken, please submit a PR that adds a test for
+it so it will be fixed and will continue to stay fixed as Marathon changes over
+time.
+

commit python-marathon for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-marathon for openSUSE:Factory 
checked in at 2018-12-24 11:39:33

Comparing /work/SRC/openSUSE:Factory/python-marathon (Old)
 and  /work/SRC/openSUSE:Factory/.python-marathon.new.28833 (New)


Package is "python-marathon"

Mon Dec 24 11:39:33 2018 rev:3 rq:659489 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-marathon/python-marathon.changes  
2018-05-04 11:29:49.663044223 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-marathon.new.28833/python-marathon.changes   
2018-12-24 11:39:34.601548754 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:50:16 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-marathon.spec ++
--- /var/tmp/diff_new_pack.yRoWs1/_old  2018-12-24 11:39:35.157548260 +0100
+++ /var/tmp/diff_new_pack.yRoWs1/_new  2018-12-24 11:39:35.161548257 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 URL:https://github.com/thefactory/marathon-python
 Source: 
https://files.pythonhosted.org/packages/source/m/marathon/marathon-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 Requires:   python-requests >= 2.0.0




commit python-marathon for openSUSE:Factory

2018-05-04 Thread root
Hello community,

here is the log from the commit of package python-marathon for openSUSE:Factory 
checked in at 2018-05-04 11:29:24

Comparing /work/SRC/openSUSE:Factory/python-marathon (Old)
 and  /work/SRC/openSUSE:Factory/.python-marathon.new (New)


Package is "python-marathon"

Fri May  4 11:29:24 2018 rev:2 rq:603178 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-marathon/python-marathon.changes  
2017-07-19 12:21:54.236782506 +0200
+++ /work/SRC/openSUSE:Factory/.python-marathon.new/python-marathon.changes 
2018-05-04 11:29:49.663044223 +0200
@@ -1,0 +2,5 @@
+Wed May  2 15:43:11 UTC 2018 - tchva...@suse.com
+
+- Fix requires
+
+---



Other differences:
--
++ python-marathon.spec ++
--- /var/tmp/diff_new_pack.puFLuE/_old  2018-05-04 11:29:50.906998582 +0200
+++ /var/tmp/diff_new_pack.puFLuE/_new  2018-05-04 11:29:50.910998434 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-marathon
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -23,15 +23,13 @@
 Summary:Marathon Client Library
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/thefactory/marathon-python
+URL:https://github.com/thefactory/marathon-python
 Source: 
https://files.pythonhosted.org/packages/source/m/marathon/marathon-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
-Requires:   %{python_module requests >= 2.0.0}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   python-requests >= 2.0.0
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -47,8 +45,7 @@
 %python_install
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog