commit python-pycadf for openSUSE:Factory
Hello community, here is the log from the commit of package python-pycadf for openSUSE:Factory checked in at 2019-05-03 22:43:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycadf (Old) and /work/SRC/openSUSE:Factory/.python-pycadf.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pycadf" Fri May 3 22:43:08 2019 rev:13 rq:692874 version:2.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycadf/python-pycadf.changes 2018-09-07 15:39:27.442532700 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycadf.new.5148/python-pycadf.changes 2019-05-03 22:43:10.287335560 +0200 @@ -1,0 +2,15 @@ +Mon Apr 8 14:04:16 UTC 2019 - cloud-devel@suse.de + +- update to version 2.9.0 + - add lib-forward-testing-python3 test job + - Change openstack-dev to openstack-discuss + - import zuul job settings from project-config + - Enabling FIPS mode by using sha256 instead of md5 + - Add release note for MD5 hash removal + - Don't quote {posargs} in tox.ini + - switch documentation job to new PTI + - add python 3.6 unit test job + - Switch to stestr + - Use templates for cover and lower-constraints + +------------------------------------------------------------------- Old: ---- pycadf-2.8.0.tar.gz New: ---- pycadf-2.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycadf.spec ++++++ --- /var/tmp/diff_new_pack.r2JBie/_old 2019-05-03 22:43:11.267337623 +0200 +++ /var/tmp/diff_new_pack.r2JBie/_new 2019-05-03 22:43:11.271337632 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pycadf # -# 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 @@ -12,38 +12,36 @@ # 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/ # %global oldpython python Name: python-pycadf -Version: 2.8.0 +Version: 2.9.0 Release: 0 Summary: DMTF Cloud Audit (CADF) data model License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/pycadf -Source0: https://files.pythonhosted.org/packages/source/p/pycadf/pycadf-2.8.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/pycadf/pycadf-2.9.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-devel BuildRequires: python2-fixtures BuildRequires: python2-oslo.config >= 5.2.0 BuildRequires: python2-oslo.serialization >= 2.18.0 BuildRequires: python2-oslotest BuildRequires: python2-pbr BuildRequires: python2-setuptools -BuildRequires: python2-testrepository +BuildRequires: python2-stestr BuildRequires: python2-testscenarios BuildRequires: python2-testtools -BuildRequires: python3-devel BuildRequires: python3-fixtures BuildRequires: python3-oslo.config >= 5.2.0 BuildRequires: python3-oslo.serialization >= 2.18.0 BuildRequires: python3-oslotest BuildRequires: python3-pbr BuildRequires: python3-setuptools -BuildRequires: python3-testrepository +BuildRequires: python3-stestr BuildRequires: python3-testscenarios BuildRequires: python3-testtools Requires: %{oldpython}-pycadf-common @@ -75,7 +73,7 @@ Configuration files for the DMTF Cloud Audit (CADF) data model. %prep -%autosetup -n pycadf-2.8.0 +%autosetup -n pycadf-2.9.0 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %py_req_cleanup @@ -94,9 +92,7 @@ mv %{buildroot}%{_prefix}%{_sysconfdir}/pycadf %{buildroot}/%{_sysconfdir}/ %check -%{python_expand rm -rf .testrepository -$python setup.py testr -} +%python_exec -m stestr.cli run %files %{python_files} %doc README.rst ++++++ _service ++++++ --- /var/tmp/diff_new_pack.r2JBie/_old 2019-05-03 22:43:11.291337674 +0200 +++ /var/tmp/diff_new_pack.r2JBie/_new 2019-05-03 22:43:11.291337674 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/pycadf/pycadf.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/pycadf/pycadf.spec.j2</param> <param name="output-name">python-pycadf.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/pycadf/stable/rocky/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/pycadf/stable/stein/requirements.txt</param> <param name="changelog-email">cloud-devel@suse.de</param> <param name="changelog-provider">gh,openstack,pycadf</param> </service> ++++++ pycadf-2.8.0.tar.gz -> pycadf-2.9.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/.stestr.conf new/pycadf-2.9.0/.stestr.conf --- old/pycadf-2.8.0/.stestr.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.9.0/.stestr.conf 2019-01-29 16:07:14.000000000 +0100 @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=./pycadf/tests +top_dir=./ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/.testr.conf new/pycadf-2.9.0/.testr.conf --- old/pycadf-2.8.0/.testr.conf 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/.testr.conf 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -[DEFAULT] -test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION -test_id_option=--load-list $IDFILE -test_list_option=--list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/.zuul.yaml new/pycadf-2.9.0/.zuul.yaml --- old/pycadf-2.8.0/.zuul.yaml 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/.zuul.yaml 2019-01-29 16:07:14.000000000 +0100 @@ -1,7 +1,11 @@ - project: - check: - jobs: - - openstack-tox-lower-constraints - gate: - jobs: - - openstack-tox-lower-constraints + templates: + - check-requirements + - lib-forward-testing + - lib-forward-testing-python3 + - openstack-cover-jobs + - openstack-lower-constraints-jobs + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs + - publish-openstack-docs-pti diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/AUTHORS new/pycadf-2.9.0/AUTHORS --- old/pycadf-2.8.0/AUTHORS 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/AUTHORS 2019-01-29 16:09:26.000000000 +0100 @@ -1,6 +1,7 @@ Abhishek Sharma <abmsharm@in.ibm.com> Andreas Jaeger <aj@suse.com> Arun Kant <arun.kant@hp.com> +Ben Nemec <bnemec@redhat.com> Brad Topol <btopol@us.ibm.com> ChangBo Guo(gcb) <eric.guo@easystack.cn> Charles Short <zulcss@gmail.com> @@ -26,6 +27,7 @@ Lokesh S <lokesh.s@hp.com> Martin Geisler <martin@geisler.net> Matt Riedemann <mriedem@us.ibm.com> +Raildo Mascena <rmascena@redhat.com> Rakesh H S <rh-s@hpe.com> Samriddhi Jain <j.samriddhi13@gmail.com> Sascha Peilicke <saschpe@gmx.de> @@ -34,7 +36,8 @@ Swapnil Kulkarni (coolsvap) <me@coolsvap.net> Tony Breeds <tony@bakeyournoodle.com> Tony Xu <hhktony@gmail.com> -Zuul <zuul@review.openstack.org> +Vieri <15050873171@163.com> +Vu Cong Tuan <tuanvc@vn.fujitsu.com> bgsilva <bgsilva@us.ibm.com> chenghuiyu <yuchenghui@unionpay.com> gord chung <gord@live.ca> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/ChangeLog new/pycadf-2.9.0/ChangeLog --- old/pycadf-2.8.0/ChangeLog 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/ChangeLog 2019-01-29 16:09:26.000000000 +0100 @@ -1,6 +1,20 @@ CHANGES ======= +2.9.0 +----- + +* Add release note for MD5 hash removal +* Change openstack-dev to openstack-discuss +* Enabling FIPS mode by using sha256 instead of md5 +* Don't quote {posargs} in tox.ini +* Use templates for cover and lower-constraints +* add lib-forward-testing-python3 test job +* add python 3.6 unit test job +* switch documentation job to new PTI +* import zuul job settings from project-config +* Switch to stestr + 2.8.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/PKG-INFO new/pycadf-2.9.0/PKG-INFO --- old/pycadf-2.8.0/PKG-INFO 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/PKG-INFO 2019-01-29 16:09:26.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: pycadf -Version: 2.8.0 +Version: 2.9.0 Summary: CADF Library Home-page: https://docs.openstack.org/pycadf/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/lower-constraints.txt new/pycadf-2.9.0/lower-constraints.txt --- old/pycadf-2.8.0/lower-constraints.txt 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/lower-constraints.txt 2019-01-29 16:07:14.000000000 +0100 @@ -48,7 +48,7 @@ Sphinx==1.6.2 sphinxcontrib-websupport==1.0.1 stevedore==1.20.0 -testrepository==0.0.18 +stestr==2.0.0 testtools==2.2.0 traceback2==1.4.0 unittest2==1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/pycadf/identifier.py new/pycadf-2.9.0/pycadf/identifier.py --- old/pycadf-2.8.0/pycadf/identifier.py 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/pycadf/identifier.py 2019-01-29 16:07:14.000000000 +0100 @@ -30,8 +30,8 @@ AUDIT_NS = None if CONF.audit.namespace: - md5_hash = hashlib.md5(CONF.audit.namespace.encode('utf-8')) - AUDIT_NS = uuid.UUID(md5_hash.hexdigest()) + sha256_hash = hashlib.sha256(CONF.audit.namespace.encode('utf-8')) + AUDIT_NS = uuid.UUID(sha256_hash.hexdigest()[0:32]) VALID_EXCEPTIONS = ['default', 'initiator', 'observer', 'target'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/pycadf.egg-info/PKG-INFO new/pycadf-2.9.0/pycadf.egg-info/PKG-INFO --- old/pycadf-2.8.0/pycadf.egg-info/PKG-INFO 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/pycadf.egg-info/PKG-INFO 2019-01-29 16:09:26.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: pycadf -Version: 2.8.0 +Version: 2.9.0 Summary: CADF Library Home-page: https://docs.openstack.org/pycadf/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ======================== Team and repository tags diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/pycadf.egg-info/SOURCES.txt new/pycadf-2.9.0/pycadf.egg-info/SOURCES.txt --- old/pycadf-2.8.0/pycadf.egg-info/SOURCES.txt 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/pycadf.egg-info/SOURCES.txt 2019-01-29 16:09:26.000000000 +0100 @@ -1,4 +1,4 @@ -.testr.conf +.stestr.conf .zuul.yaml AUTHORS CONTRIBUTING.rst @@ -84,4 +84,5 @@ pycadf/tests/test_cadf_spec.py pycadf/tests/test_utils.py pycadf/tests/helper/__init__.py -pycadf/tests/helper/test_api.py \ No newline at end of file +pycadf/tests/helper/test_api.py +releasenotes/notes/md5-removal-005f5c7a1038443f.yaml \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/pycadf.egg-info/pbr.json new/pycadf-2.9.0/pycadf.egg-info/pbr.json --- old/pycadf-2.8.0/pycadf.egg-info/pbr.json 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/pycadf.egg-info/pbr.json 2019-01-29 16:09:26.000000000 +0100 @@ -1 +1 @@ -{"git_version": "7df2d59", "is_release": true} \ No newline at end of file +{"git_version": "4398b7d", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml new/pycadf-2.9.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml --- old/pycadf-2.8.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.9.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml 2019-01-29 16:07:14.000000000 +0100 @@ -0,0 +1,6 @@ +--- +security: + - | + MD5 is no longer used as a hashing mechanism internally. This is not + expected to have any external impact as it only changes how random + identifiers are generated. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/setup.cfg new/pycadf-2.9.0/setup.cfg --- old/pycadf-2.8.0/setup.cfg 2018-07-13 22:27:51.000000000 +0200 +++ new/pycadf-2.9.0/setup.cfg 2019-01-29 16:09:26.000000000 +0100 @@ -1,7 +1,7 @@ [metadata] name = pycadf author = OpenStack -author-email = openstack-dev@lists.openstack.org +author-email = openstack-discuss@lists.openstack.org summary = CADF Library description-file = README.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/test-requirements.txt new/pycadf-2.9.0/test-requirements.txt --- old/pycadf-2.8.0/test-requirements.txt 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/test-requirements.txt 2019-01-29 16:07:14.000000000 +0100 @@ -9,7 +9,7 @@ fixtures>=3.0.0 # Apache-2.0/BSD python-subunit>=1.0.0 # Apache-2.0/BSD mock>=2.0.0 # BSD -testrepository>=0.0.18 # Apache-2.0/BSD +stestr>=2.0.0 # Apache-2.0 testtools>=2.2.0 # MIT # this is required for the docs build jobs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.8.0/tox.ini new/pycadf-2.9.0/tox.ini --- old/pycadf-2.8.0/tox.ini 2018-07-13 22:23:34.000000000 +0200 +++ new/pycadf-2.9.0/tox.ini 2019-01-29 16:07:14.000000000 +0100 @@ -8,7 +8,7 @@ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = stestr run --slowest {posargs} [testenv:pep8] basepython = python3 @@ -20,7 +20,13 @@ [testenv:cover] basepython = python3 -commands = python setup.py testr --coverage +setenv = + PYTHON=coverage run --source pycadf --parallel-mode +commands = + stestr run {posargs} + coverage combine + coverage html -d cover + coverage xml -o cover/coverage.xml [testenv:venv] basepython = python3
participants (1)
-
root