Hello community, here is the log from the commit of package python-transip for openSUSE:Factory checked in at 2020-04-18 00:32:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-transip (Old) and /work/SRC/openSUSE:Factory/.python-transip.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-transip" Sat Apr 18 00:32:28 2020 rev:5 rq:794884 version:2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-transip/python-transip.changes 2020-03-25 23:49:54.836026641 +0100 +++ /work/SRC/openSUSE:Factory/.python-transip.new.2738/python-transip.changes 2020-04-18 00:33:41.778458074 +0200 @@ -1,0 +2,7 @@ +Fri Apr 17 11:00:06 UTC 2020 - pgaj...@suse.com + +- version update to 2.1.2 + * Fix --api-key CLI argument. + * Test on Python 3.7 & 3.8. + +------------------------------------------------------------------- Old: ---- 2.1.1.tar.gz New: ---- 2.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-transip.spec ++++++ --- /var/tmp/diff_new_pack.z7Djh3/_old 2020-04-18 00:33:42.598459772 +0200 +++ /var/tmp/diff_new_pack.z7Djh3/_new 2020-04-18 00:33:42.598459772 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-transip -Version: 2.1.1 +Version: 2.1.2 Release: 0 Summary: TransIP API Connector License: MIT ++++++ 2.1.1.tar.gz -> 2.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/.travis.yml new/transip-api-2.1.2/.travis.yml --- old/transip-api-2.1.1/.travis.yml 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/.travis.yml 2020-03-29 15:27:50.000000000 +0200 @@ -1,8 +1,10 @@ -sudo: no +sudo: false language: python cache: pip python: + - "3.8" + - "3.7" - "3.6" - "3.5" - "3.4" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/CHANGELOG.rst new/transip-api-2.1.2/CHANGELOG.rst --- old/transip-api-2.1.1/CHANGELOG.rst 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/CHANGELOG.rst 2020-03-29 15:27:50.000000000 +0200 @@ -5,6 +5,12 @@ This document records all notable changes to `transip-api <https://github.com/benkonrath/transip-api>`_. This project adheres to `Semantic Versioning <http://semver.org/>`_. +`2.1.2`_ (2020-03-29) +--------------------- + +* Fix --api-key CLI argument. +* Test on Python 3.7 & 3.8. + `2.1.1`_ (2020-03-15) --------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/dev_requirements.txt new/transip-api-2.1.2/dev_requirements.txt --- old/transip-api-2.1.1/dev_requirements.txt 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/dev_requirements.txt 2020-03-29 15:27:50.000000000 +0200 @@ -8,5 +8,5 @@ rsa # colorama dropped Python 3.4 in releases >= 0.4.2 colorama==0.4.1 -pylint==1.9.2 +pylint==2.4.4 -e . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/setup.py new/transip-api-2.1.2/setup.py --- old/transip-api-2.1.1/setup.py 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/setup.py 2020-03-29 15:27:50.000000000 +0200 @@ -56,6 +56,8 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Topic :: Utilities', ], ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/transip/__init__.py new/transip-api-2.1.2/transip/__init__.py --- old/transip-api-2.1.1/transip/__init__.py 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/transip/__init__.py 2020-03-29 15:27:50.000000000 +0200 @@ -6,4 +6,4 @@ For usage of the API itself, please see https://www.transip.eu/transip/api/ """ -__version__ = '2.1.1' +__version__ = '2.1.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/transip/client.py new/transip-api-2.1.2/transip/client.py --- old/transip-api-2.1.1/transip/client.py 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/transip/client.py 2020-03-29 15:27:50.000000000 +0200 @@ -53,6 +53,7 @@ return value + class WSDLFixPlugin(DocumentPlugin): # pylint: disable=W0232 """ @@ -66,7 +67,9 @@ """ context.document = context.document.replace(b'xsd:array', b'soapenc:Array') + class Client(object): + # pylint: disable=R0205 """ A client-base class, for other classes to base their service implementation on. Contains methods to set and sign cookie and to retrieve the correct diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transip-api-2.1.1/transip/transip_cli.py new/transip-api-2.1.2/transip/transip_cli.py --- old/transip-api-2.1.1/transip/transip_cli.py 2020-03-15 22:16:41.000000000 +0100 +++ new/transip-api-2.1.2/transip/transip_cli.py 2020-03-29 15:27:50.000000000 +0200 @@ -5,6 +5,7 @@ import argparse import logging +import sys from suds import WebFault @@ -26,7 +27,7 @@ dns_entries = domain_service.get_info(domain_name).dnsEntries except WebFault as err: print(err) - exit(1) + sys.exit(1) print(dns_entries) @@ -41,14 +42,14 @@ dns_entries = domain_service.get_info(args.domain_name).dnsEntries except WebFault as err: print(err) - exit(1) + sys.exit(1) number_of_entries = len(dns_entries) for entry in dns_entries: if args.add_dns_entry and entry.name == args.entry_name and entry.type == args.entry_type and \ entry.content == args.entry_content: print('The DNS entry already exists.') - exit(1) + sys.exit(1) elif args.update_dns_entry and entry.name == args.entry_name and entry.type == args.entry_type: dns_entries.remove(entry) @@ -60,7 +61,7 @@ if args.update_dns_entry or args.delete_dns_entry: if number_of_entries == len(dns_entries): print('The DNS entry was not found.') - exit(1) + sys.exit(1) if args.add_dns_entry or args.update_dns_entry: dns_entries.append(DnsEntry(args.entry_name, args.entry_expire, args.entry_type, args.entry_content)) @@ -69,7 +70,7 @@ result = domain_service.set_dns_entries(args.domain_name, dns_entries) except WebFault as err: print(err) - exit(1) + sys.exit(1) if result is None: print('Request finished successfully.') else: @@ -94,30 +95,30 @@ if not args.loginname: print('Please provide your TransIP username.') - exit(1) + sys.exit(1) if not args.api_key_file: args.api_key_file = 'decrypted_key' - domain_service = DomainService(args.loginname, args.api_key_file) + domain_service = DomainService(args.loginname, private_key_file=args.api_key_file) if args.add_dns_entry or args.update_dns_entry or args.delete_dns_entry: if [args.add_dns_entry, args.update_dns_entry, args.delete_dns_entry].count(True) > 1: print('Please use only one of the options: ' '-a/--add-dns-entry, -u/--update-dns-entry, -d/--delete-dns-entry') - exit(1) + sys.exit(1) if args.domain_name and args.entry_name and args.entry_expire and args.entry_type and args.entry_content: update_dns(domain_service, args) else: print('Please provide the details of the DNS entry.') - exit(1) + sys.exit(1) elif args.show_dns_entries: if args.domain_name: show_dns_entries(domain_service, args.domain_name) else: print('Please provide the domain name.') - exit(1) + sys.exit(1) else: names = domain_service.get_domain_names() print(names)