Hello community, here is the log from the commit of package python-pycadf for openSUSE:Leap:15.2 checked in at 2020-03-09 18:11:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pycadf (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pycadf.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycadf" Mon Mar 9 18:11:07 2020 rev:15 rq:776957 version:2.10.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pycadf/python-pycadf.changes 2020-01-15 15:51:48.935541923 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pycadf.new.26092/python-pycadf.changes 2020-03-09 18:11:07.401175726 +0100 @@ -1,0 +2,35 @@ +Wed Oct 9 12:34:16 UTC 2019 - [email protected] + +- update to version 2.10.0 + - add python 3.7 unit test job + - Removes temporary fix for doc generation + - Add py37 tox env and drop py35 + - Add Python 3 Train unit tests + - OpenDev Migration Patch + +------------------------------------------------------------------- +Mon Apr 8 14:04:16 UTC 2019 - [email protected] + +- 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 + +------------------------------------------------------------------- +Mon Sep 3 17:25:51 UTC 2018 - [email protected] + +- update to version 2.8.0 + - Trivial: Update pypi url to new url + - fix tox python3 overrides + - Updated from global requirements + - add lower-constraints job + - Remove moxstubout usage + +------------------------------------------------------------------- Old: ---- pycadf-2.7.0.tar.gz New: ---- pycadf-2.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycadf.spec ++++++ --- /var/tmp/diff_new_pack.oSaw12/_old 2020-03-09 18:11:07.705176162 +0100 +++ /var/tmp/diff_new_pack.oSaw12/_new 2020-03-09 18:11:07.709176167 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python +# 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,53 +12,73 @@ # 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 sname pycadf -Name: python-%{sname} -Version: 2.7.0 +%global oldpython python +Name: python-pycadf +Version: 2.10.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/%{sname}/%{sname}-%{version}.tar.gz +URL: https://launchpad.net/pycadf +Source0: https://files.pythonhosted.org/packages/source/p/pycadf/pycadf-2.10.0.tar.gz BuildRequires: openstack-macros -BuildRequires: python-devel -BuildRequires: python-fixtures >= 3.0.0 -BuildRequires: python-oslo.config >= 5.1.0 -BuildRequires: python-oslo.serialization >= 2.18.0 -BuildRequires: python-oslotest >= 3.2.0 -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-setuptools >= 16.0 +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-stestr +BuildRequires: python2-testscenarios +BuildRequires: python2-testtools +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-stestr +BuildRequires: python3-testscenarios +BuildRequires: python3-testtools +Requires: %{oldpython}-pycadf-common Requires: python-debtcollector >= 1.2.0 -Requires: python-oslo.config >= 5.1.0 +Requires: python-oslo.config >= 5.2.0 Requires: python-oslo.serialization >= 2.18.0 Requires: python-pytz >= 2013.6 Requires: python-six >= 1.10.0 BuildArch: noarch +%python_subpackages %description DMTF Cloud Audit (CADF) data model -%package doc +%package -n python-pycadf-doc Summary: Documentation for the DMTF Cloud Audit (CADF) data model Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-openstackdocstheme >= 1.18.1 +BuildRequires: python-openstackdocstheme -%description doc +%description -n python-pycadf-doc Documentation for the DMTF Cloud Audit (CADF) data model. +%package -n python-pycadf-common +Summary: Common files for the DMTF Cloud Audit (CADF) data model +Group: Development/Languages/Python + +%description -n python-pycadf-common +Configuration files for the DMTF Cloud Audit (CADF) data model. + %prep -%autosetup -n %{sname}-%{version} +%autosetup -n pycadf-2.10.0 sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %py_req_cleanup %build -%py2_build +%{python_build} # generate html docs %{__python2} setup.py build_sphinx @@ -66,20 +86,26 @@ rm -rf doc/build/html/.{doctrees,buildinfo} %install -%py2_install +%{python_install} # FIXME: pbr/wheel bug installing onfiguration files in /usr/etc mkdir -p %{buildroot}/%{_sysconfdir} -mv %{buildroot}%{_prefix}%{_sysconfdir}/%{sname} %{buildroot}/%{_sysconfdir}/ +mv %{buildroot}%{_prefix}%{_sysconfdir}/pycadf %{buildroot}/%{_sysconfdir}/ -%files +%check +%python_exec -m stestr.cli run + +%files %{python_files} %doc README.rst %license LICENSE -%dir %{_sysconfdir}/%{sname} -%config(noreplace) %{_sysconfdir}/%{sname}/*.conf -%{python2_sitelib}/%{sname} -%{python2_sitelib}/%{sname}-*-py?.?.egg-info +%{python_sitelib}/pycadf +%{python_sitelib}/pycadf-*-py?.?.egg-info + +%files -n python-pycadf-common +%license LICENSE +%dir %{_sysconfdir}/pycadf +%config(noreplace) %{_sysconfdir}/pycadf/*.conf -%files doc +%files -n python-pycadf-doc %license LICENSE %doc doc/build/html ++++++ _service ++++++ --- /var/tmp/diff_new_pack.oSaw12/_old 2020-03-09 18:11:07.737176207 +0100 +++ /var/tmp/diff_new_pack.oSaw12/_new 2020-03-09 18:11:07.741176213 +0100 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/pycadf/pycadf.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/pycadf/pycadf.spec.j2</param> <param name="output-name">python-pycadf.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/pycadf/stable/train/requirements.txt</param> <param name="changelog-email">[email protected]</param> <param name="changelog-provider">gh,openstack,pycadf</param> </service> ++++++ pycadf-2.7.0.tar.gz -> pycadf-2.10.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/.stestr.conf new/pycadf-2.10.0/.stestr.conf --- old/pycadf-2.7.0/.stestr.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.10.0/.stestr.conf 2019-09-06 19:17:12.000000000 +0200 @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=./pycadf/tests +top_dir=./ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/.testr.conf new/pycadf-2.10.0/.testr.conf --- old/pycadf-2.7.0/.testr.conf 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.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.7.0/.zuul.yaml new/pycadf-2.10.0/.zuul.yaml --- old/pycadf-2.7.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.10.0/.zuul.yaml 2019-09-06 19:17:12.000000000 +0200 @@ -0,0 +1,10 @@ +- project: + templates: + - check-requirements + - lib-forward-testing + - lib-forward-testing-python3 + - openstack-cover-jobs + - openstack-lower-constraints-jobs + - openstack-python-jobs + - openstack-python3-train-jobs + - publish-openstack-docs-pti diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/AUTHORS new/pycadf-2.10.0/AUTHORS --- old/pycadf-2.7.0/AUTHORS 2018-01-31 21:07:28.000000000 +0100 +++ new/pycadf-2.10.0/AUTHORS 2019-09-06 19:17:47.000000000 +0200 @@ -1,9 +1,13 @@ Abhishek Sharma <[email protected]> Andreas Jaeger <[email protected]> Arun Kant <[email protected]> +Ben Nemec <[email protected]> Brad Topol <[email protected]> ChangBo Guo(gcb) <[email protected]> +Charles Short <[email protected]> Christian Berendt <[email protected]> +Colleen Murphy <[email protected]> +Corey Bryant <[email protected]> Cyril Roelandt <[email protected]> Davanum Srinivas <[email protected]> Davanum Srinivas <[email protected]> @@ -25,6 +29,7 @@ Lokesh S <[email protected]> Martin Geisler <[email protected]> Matt Riedemann <[email protected]> +Raildo Mascena <[email protected]> Rakesh H S <[email protected]> Samriddhi Jain <[email protected]> Sascha Peilicke <[email protected]> @@ -33,6 +38,9 @@ Swapnil Kulkarni (coolsvap) <[email protected]> Tony Breeds <[email protected]> Tony Xu <[email protected]> +Vieri <[email protected]> +Vishakha Agarwal <[email protected]> +Vu Cong Tuan <[email protected]> bgsilva <[email protected]> chenghuiyu <[email protected]> gord chung <[email protected]> @@ -42,5 +50,6 @@ lin-hua-cheng <[email protected]> liyingjun <[email protected]> [email protected] <[email protected]> +melissaml <[email protected]> nizam <[email protected]> reedip <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/ChangeLog new/pycadf-2.10.0/ChangeLog --- old/pycadf-2.7.0/ChangeLog 2018-01-31 21:07:28.000000000 +0100 +++ new/pycadf-2.10.0/ChangeLog 2019-09-06 19:17:47.000000000 +0200 @@ -1,6 +1,39 @@ CHANGES ======= +2.10.0 +------ + +* Add Python 3 Train unit tests +* Removes temporary fix for doc generation +* OpenDev Migration Patch +* Add py37 tox env and drop py35 +* add python 3.7 unit test job + +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 +----- + +* fix tox python3 overrides +* Remove moxstubout usage +* add lower-constraints job +* Trivial: Update pypi url to new url +* Updated from global requirements +* Updated from global requirements + 2.7.0 ----- @@ -347,6 +380,10 @@ ----- * validate attributes against basestring + +v0.1 +---- + * add support for audit api middleware * DMTF CADF format * test commit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/PKG-INFO new/pycadf-2.10.0/PKG-INFO --- old/pycadf-2.7.0/PKG-INFO 2018-01-31 21:07:29.000000000 +0100 +++ new/pycadf-2.10.0/PKG-INFO 2019-09-06 19:17:47.000000000 +0200 @@ -1,18 +1,17 @@ Metadata-Version: 1.1 Name: pycadf -Version: 2.7.0 +Version: 2.10.0 Summary: CADF Library Home-page: https://docs.openstack.org/pycadf/latest/ Author: OpenStack -Author-email: [email protected] +Author-email: [email protected] License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== - .. image:: https://governance.openstack.org/badges/pycadf.svg - :target: https://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/pycadf.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -21,15 +20,15 @@ ====== .. image:: https://img.shields.io/pypi/v/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Downloads This library provides an auditing data model based on the `Cloud Auditing Data - Federation <http://www.dmtf.org/standards/cadf>`_ specification, primarily for + Federation <https://www.dmtf.org/standards/cadf>`_ specification, primarily for use by OpenStack. The goal is to establish strict expectations about what auditors can expect from audit notifications. @@ -40,8 +39,8 @@ * `Bugs`_ - issue tracking * `Source`_ - .. _PyPi: https://pypi.python.org/pypi/pycadf - .. _Online Documentation: https://docs.openstack.org/developer/pycadf/ + .. _PyPi: https://pypi.org/project/pycadf + .. _Online Documentation: https://docs.openstack.org/pycadf/latest/ .. _Launchpad project: https://launchpad.net/pycadf .. _Blueprints: https://blueprints.launchpad.net/pycadf .. _Bugs: https://bugs.launchpad.net/pycadf @@ -59,4 +58,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/README.rst new/pycadf-2.10.0/README.rst --- old/pycadf-2.7.0/README.rst 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/README.rst 2019-09-06 19:17:12.000000000 +0200 @@ -2,8 +2,8 @@ Team and repository tags ======================== -.. image:: https://governance.openstack.org/badges/pycadf.svg - :target: https://governance.openstack.org/reference/tags/index.html +.. image:: https://governance.openstack.org/tc/badges/pycadf.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -12,15 +12,15 @@ ====== .. image:: https://img.shields.io/pypi/v/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Downloads This library provides an auditing data model based on the `Cloud Auditing Data -Federation <http://www.dmtf.org/standards/cadf>`_ specification, primarily for +Federation <https://www.dmtf.org/standards/cadf>`_ specification, primarily for use by OpenStack. The goal is to establish strict expectations about what auditors can expect from audit notifications. @@ -31,8 +31,8 @@ * `Bugs`_ - issue tracking * `Source`_ -.. _PyPi: https://pypi.python.org/pypi/pycadf -.. _Online Documentation: https://docs.openstack.org/developer/pycadf/ +.. _PyPi: https://pypi.org/project/pycadf +.. _Online Documentation: https://docs.openstack.org/pycadf/latest/ .. _Launchpad project: https://launchpad.net/pycadf .. _Blueprints: https://blueprints.launchpad.net/pycadf .. _Bugs: https://bugs.launchpad.net/pycadf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/doc/ext/apidoc.py new/pycadf-2.10.0/doc/ext/apidoc.py --- old/pycadf-2.7.0/doc/ext/apidoc.py 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/doc/ext/apidoc.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -# Copyright 2013 OpenStack Foundation -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. -import os.path as path - -from sphinx import apidoc - - -# NOTE(gordc): pbr will run Sphinx multiple times when it generates -# documentation. Once for each builder. To run this extension we use the -# 'builder-inited' hook that fires at the beginning of a Sphinx build. -# We use ``run_already`` to make sure apidocs are only generated once -# even if Sphinx is run multiple times. -run_already = False - - -def run_apidoc(app): - global run_already - if run_already: - return - run_already = True - - package_dir = path.abspath(path.join(app.srcdir, '..', '..', 'pycadf')) - source_dir = path.join(app.srcdir, 'api') - apidoc.main(['apidoc', package_dir, '-f', - '-H', 'pyCADF Modules', - '-o', source_dir]) - - -def setup(app): - app.connect('builder-inited', run_apidoc) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/doc/source/conf.py new/pycadf-2.10.0/doc/source/conf.py --- old/pycadf-2.7.0/doc/source/conf.py 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/doc/source/conf.py 2019-09-06 19:17:12.000000000 +0200 @@ -10,10 +10,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os - -# NOTE(gordc): path for Sphinx ext.apidoc -sys.path.insert(0, os.path.abspath('..')) +import os # This is required for ReadTheDocs.org, but isn't a bad idea anyway. os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' @@ -37,7 +34,6 @@ 'sphinx.ext.coverage', 'sphinx.ext.viewcode', 'openstackdocstheme', - 'ext.apidoc' ] # Add any paths that contain templates here, relative to this directory. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/doc/source/index.rst new/pycadf-2.10.0/doc/source/index.rst --- old/pycadf-2.7.0/doc/source/index.rst 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/doc/source/index.rst 2019-09-06 19:17:12.000000000 +0200 @@ -58,7 +58,7 @@ .. _Gerrit: https://docs.openstack.org/infra/manual/developers.html#development-workflow .. _Bug reports: https://bugs.launchpad.net/pycadf/+bugs .. _blueprints: https://blueprints.launchpad.net/pycadf -.. _PyPi: https://pypi.python.org/pypi/pycadf +.. _PyPi: https://pypi.org/project/pycadf .. _tarball: https://tarballs.openstack.org/pycadf Code Documentation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/lower-constraints.txt new/pycadf-2.10.0/lower-constraints.txt --- old/pycadf-2.7.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.10.0/lower-constraints.txt 2019-09-06 19:17:12.000000000 +0200 @@ -0,0 +1,55 @@ +alabaster==0.7.10 +appdirs==1.3.0 +Babel==2.3.4 +coverage==4.0 +debtcollector==1.2.0 +docutils==0.11 +dulwich==0.15.0 +extras==1.0.0 +fixtures==3.0.0 +flake8==2.2.4 +flake8-docstrings==0.2.1.post1 +hacking==0.10.3 +imagesize==0.7.1 +iso8601==0.1.11 +Jinja2==2.10 +keystoneauth1==3.4.0 +linecache2==1.0.0 +MarkupSafe==1.0 +mccabe==0.2.1 +mock==2.0.0 +monotonic==0.6 +mox3==0.20.0 +msgpack-python==0.4.0 +netaddr==0.7.18 +netifaces==0.10.4 +openstackdocstheme==1.18.1 +os-client-config==1.28.0 +oslo.config==5.2.0 +oslo.i18n==3.15.3 +oslo.serialization==2.18.0 +oslo.utils==3.33.0 +oslotest==3.2.0 +pbr==2.0.0 +pep257==0.7.0 +pep8==1.5.7 +pyflakes==0.8.1 +Pygments==2.2.0 +pyparsing==2.1.0 +python-mimeparse==1.6.0 +python-subunit==1.0.0 +pytz==2013.6 +PyYAML==3.12 +requests==2.14.2 +requestsexceptions==1.2.0 +rfc3986==0.3.1 +six==1.10.0 +snowballstemmer==1.2.1 +Sphinx==1.6.2 +sphinxcontrib-websupport==1.0.1 +stevedore==1.20.0 +stestr==2.0.0 +testtools==2.2.0 +traceback2==1.4.0 +unittest2==1.1.0 +wrapt==1.7.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/pycadf/identifier.py new/pycadf-2.10.0/pycadf/identifier.py --- old/pycadf-2.7.0/pycadf/identifier.py 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/pycadf/identifier.py 2019-09-06 19:17:12.000000000 +0200 @@ -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.7.0/pycadf/tests/base.py new/pycadf-2.10.0/pycadf/tests/base.py --- old/pycadf-2.7.0/pycadf/tests/base.py 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/pycadf/tests/base.py 2019-09-06 19:17:12.000000000 +0200 @@ -18,7 +18,6 @@ import fixtures from oslo_config import cfg -from oslotest import moxstubout import testtools @@ -27,9 +26,6 @@ def setUp(self): super(TestCase, self).setUp() self.tempdir = self.useFixture(fixtures.TempDir()) - moxfixture = self.useFixture(moxstubout.MoxStubout()) - self.mox = moxfixture.mox - self.stubs = moxfixture.stubs cfg.CONF([], project='pycadf') def path_get(self, project_file=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/pycadf.egg-info/PKG-INFO new/pycadf-2.10.0/pycadf.egg-info/PKG-INFO --- old/pycadf-2.7.0/pycadf.egg-info/PKG-INFO 2018-01-31 21:07:28.000000000 +0100 +++ new/pycadf-2.10.0/pycadf.egg-info/PKG-INFO 2019-09-06 19:17:47.000000000 +0200 @@ -1,18 +1,17 @@ Metadata-Version: 1.1 Name: pycadf -Version: 2.7.0 +Version: 2.10.0 Summary: CADF Library Home-page: https://docs.openstack.org/pycadf/latest/ Author: OpenStack -Author-email: [email protected] +Author-email: [email protected] License: UNKNOWN -Description-Content-Type: UNKNOWN Description: ======================== Team and repository tags ======================== - .. image:: https://governance.openstack.org/badges/pycadf.svg - :target: https://governance.openstack.org/reference/tags/index.html + .. image:: https://governance.openstack.org/tc/badges/pycadf.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -21,15 +20,15 @@ ====== .. image:: https://img.shields.io/pypi/v/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Latest Version .. image:: https://img.shields.io/pypi/dm/pycadf.svg - :target: https://pypi.python.org/pypi/pycadf/ + :target: https://pypi.org/project/pycadf/ :alt: Downloads This library provides an auditing data model based on the `Cloud Auditing Data - Federation <http://www.dmtf.org/standards/cadf>`_ specification, primarily for + Federation <https://www.dmtf.org/standards/cadf>`_ specification, primarily for use by OpenStack. The goal is to establish strict expectations about what auditors can expect from audit notifications. @@ -40,8 +39,8 @@ * `Bugs`_ - issue tracking * `Source`_ - .. _PyPi: https://pypi.python.org/pypi/pycadf - .. _Online Documentation: https://docs.openstack.org/developer/pycadf/ + .. _PyPi: https://pypi.org/project/pycadf + .. _Online Documentation: https://docs.openstack.org/pycadf/latest/ .. _Launchpad project: https://launchpad.net/pycadf .. _Blueprints: https://blueprints.launchpad.net/pycadf .. _Bugs: https://bugs.launchpad.net/pycadf @@ -59,4 +58,5 @@ Classifier: Programming Language :: Python :: 2 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/pycadf.egg-info/SOURCES.txt new/pycadf-2.10.0/pycadf.egg-info/SOURCES.txt --- old/pycadf-2.7.0/pycadf.egg-info/SOURCES.txt 2018-01-31 21:07:29.000000000 +0100 +++ new/pycadf-2.10.0/pycadf.egg-info/SOURCES.txt 2019-09-06 19:17:47.000000000 +0200 @@ -1,17 +1,17 @@ -.testr.conf +.stestr.conf +.zuul.yaml AUTHORS CONTRIBUTING.rst ChangeLog LICENSE README.rst +lower-constraints.txt requirements.txt setup.cfg setup.py test-requirements.txt tox.ini doc/Makefile -doc/ext/__init__.py -doc/ext/apidoc.py doc/source/audit_maps.rst doc/source/conf.py doc/source/event_concept.rst @@ -82,4 +82,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.7.0/pycadf.egg-info/pbr.json new/pycadf-2.10.0/pycadf.egg-info/pbr.json --- old/pycadf-2.7.0/pycadf.egg-info/pbr.json 2018-01-31 21:07:28.000000000 +0100 +++ new/pycadf-2.10.0/pycadf.egg-info/pbr.json 2019-09-06 19:17:47.000000000 +0200 @@ -1 +1 @@ -{"git_version": "21e59ea", "is_release": true} \ No newline at end of file +{"git_version": "d113c15", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/pycadf.egg-info/requires.txt new/pycadf-2.10.0/pycadf.egg-info/requires.txt --- old/pycadf-2.7.0/pycadf.egg-info/requires.txt 2018-01-31 21:07:28.000000000 +0100 +++ new/pycadf-2.10.0/pycadf.egg-info/requires.txt 2019-09-06 19:17:47.000000000 +0200 @@ -1,4 +1,4 @@ -oslo.config>=4.6.0 +oslo.config>=5.2.0 oslo.serialization!=2.19.1,>=2.18.0 pytz>=2013.6 six>=1.10.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml new/pycadf-2.10.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml --- old/pycadf-2.7.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/pycadf-2.10.0/releasenotes/notes/md5-removal-005f5c7a1038443f.yaml 2019-09-06 19:17:12.000000000 +0200 @@ -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.7.0/requirements.txt new/pycadf-2.10.0/requirements.txt --- old/pycadf-2.7.0/requirements.txt 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/requirements.txt 2019-09-06 19:17:12.000000000 +0200 @@ -1,7 +1,7 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -oslo.config>=4.6.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 pytz>=2013.6 # MIT six>=1.10.0 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/setup.cfg new/pycadf-2.10.0/setup.cfg --- old/pycadf-2.7.0/setup.cfg 2018-01-31 21:07:29.000000000 +0100 +++ new/pycadf-2.10.0/setup.cfg 2019-09-06 19:17:47.000000000 +0200 @@ -1,7 +1,7 @@ [metadata] name = pycadf author = OpenStack -author-email = [email protected] +author-email = [email protected] summary = CADF Library description-file = README.rst @@ -17,7 +17,8 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [files] packages = @@ -46,6 +47,8 @@ [pbr] warnerrors = True +autodoc_tree_index_modules = True +autodoc_tree_root = ./pycadf [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/test-requirements.txt new/pycadf-2.10.0/test-requirements.txt --- old/pycadf-2.7.0/test-requirements.txt 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/test-requirements.txt 2019-09-06 19:17:12.000000000 +0200 @@ -7,11 +7,11 @@ coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD -oslotest>=1.10.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD -testrepository>=0.0.18 # Apache-2.0/BSD +mock>=2.0.0 # BSD +stestr>=2.0.0 # Apache-2.0 testtools>=2.2.0 # MIT # this is required for the docs build jobs -openstackdocstheme>=1.17.0 # Apache-2.0 -sphinx>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycadf-2.7.0/tox.ini new/pycadf-2.10.0/tox.ini --- old/pycadf-2.7.0/tox.ini 2018-01-31 21:04:28.000000000 +0100 +++ new/pycadf-2.10.0/tox.ini 2019-09-06 19:17:12.000000000 +0200 @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py35,py27,pep8 +envlist = py27,py37,pep8 [testenv] install_command = pip install {opts} {packages} @@ -8,21 +8,32 @@ -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 commands = flake8 [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:cover] -commands = python setup.py testr --coverage +basepython = python3 +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 commands = {posargs} [testenv:debug] +basepython = python3 commands = oslo_debug_helper {posargs} [flake8] @@ -45,3 +56,10 @@ # D401: First line should be in imperative mood ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D208,D400,D401 exclude = .tox,dist,doc,*.egg,build + +[testenv:lower-constraints] +basepython = python3 +deps = + -c{toxinidir}/lower-constraints.txt + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt
