Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: python-oslo.messaging

python-oslo.messaging (10.4.0-0ubuntu2) focal; urgency=medium * d/t/python-import: Ensure this test is py3-only. -- Corey Bryant <corey.bryant@canonical.com> Tue, 10 Dec 2019 13:09:37 -0500 python-oslo.messaging (10.4.0-0ubuntu1) focal; urgency=low * Merge from Debian unstable. Remaining changes: - d/control: Drop zmq and move kakfa Depends -> Suggests. - d/gbp.conf: Retain for gbp and pristine-tar config. - d/pydist3-overrides: Add kafka(-python). - d/t/python-ostestr: Run unit tests for dep8. - d/t/python-import: Add oslo module import test. - d/watch: Use upstream release tarballs. * New upstream release for OpenStack Ussuri. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Thu, 05 Dec 2019 14:29:45 -0500

Modifications :
  1. Download patch oslo_messaging/tests/rpc/test_server.py

    --- 10.2.0-2/oslo_messaging/tests/rpc/test_server.py 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo_messaging/tests/rpc/test_server.py 2019-11-25 17:05:52.000000000 +0000 @@ -400,7 +400,7 @@ class TestRPCServer(test_utils.BaseTestC except Exception as ex: self.assertIsInstance(ex, ValueError) self.assertEqual('dsfoo', str(ex)) - self.assertTrue(len(debugs) == 0) + self.assertTrue(len(debugs) == 2) self.assertGreater(len(errors), 0) else: self.assertTrue(False)
  2. Download patch releasenotes/source/train.rst

    --- 10.2.0-2/releasenotes/source/train.rst 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/releasenotes/source/train.rst 2019-11-25 17:05:52.000000000 +0000 @@ -0,0 +1,6 @@ +========================== +Train Series Release Notes +========================== + +.. release-notes:: + :branch: stable/train
  3. Download patch oslo_messaging/_drivers/impl_rabbit.py

    --- 10.2.0-2/oslo_messaging/_drivers/impl_rabbit.py 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo_messaging/_drivers/impl_rabbit.py 2019-11-25 17:05:52.000000000 +0000 @@ -90,12 +90,12 @@ rabbit_opts = [ '(valid only if SSL enabled).'), cfg.BoolOpt('heartbeat_in_pthread', default=False, - help="EXPERIMENTAL: Run the health check heartbeat thread" - "through a native python thread. By default if this" - "option isn't provided the health check heartbeat will" - "inherit the execution model from the parent process. By" - "example if the parent process have monkey patched the" - "stdlib by using eventlet/greenlet then the heartbeat" + help="EXPERIMENTAL: Run the health check heartbeat thread " + "through a native python thread. By default if this " + "option isn't provided the health check heartbeat will " + "inherit the execution model from the parent process. By " + "example if the parent process have monkey patched the " + "stdlib by using eventlet/greenlet then the heartbeat " "will be run through a green thread."), cfg.FloatOpt('kombu_reconnect_delay', default=1.0, @@ -171,9 +171,9 @@ rabbit_opts = [ cfg.IntOpt('direct_mandatory_flag', default=True, help='Enable/Disable the RabbitMQ mandatory flag ' - 'for direct send. The direct send is used as reply,' - 'so the MessageUndeliverable exception is raised' - ' in case the client queue does not exist.'), + 'for direct send. The direct send is used as reply, ' + 'so the MessageUndeliverable exception is raised ' + 'in case the client queue does not exist.'), ] LOG = logging.getLogger(__name__) @@ -325,9 +325,9 @@ class Consumer(object): except conn.connection.channel_errors as exc: # We retries once because of some races that we can # recover before informing the deployer - # bugs.launchpad.net/oslo.messaging/+bug/1581148 - # bugs.launchpad.net/oslo.messaging/+bug/1609766 - # bugs.launchpad.net/neutron/+bug/1318721 + # https://bugs.launchpad.net/oslo.messaging/+bug/1581148 + # https://bugs.launchpad.net/oslo.messaging/+bug/1609766 + # https://bugs.launchpad.net/neutron/+bug/1318721 # 406 error code relates to messages that are doubled ack'd
  4. Download patch debian/tests/control

    --- 10.2.0-2/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/tests/control 2019-12-10 18:09:37.000000000 +0000 @@ -0,0 +1,3 @@ +Tests: python-import, python-ostestr +Depends: @, @builddeps@, python3-os-testr +Restrictions: allow-stderr
  5. Download patch PKG-INFO

    --- 10.2.0-2/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/PKG-INFO 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1,53 @@ +Metadata-Version: 2.1 +Name: oslo.messaging +Version: 10.4.0 +Summary: Oslo Messaging API +Home-page: https://docs.openstack.org/oslo.messaging/latest/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/oslo.messaging.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + Oslo Messaging Library + ====================== + + .. image:: https://img.shields.io/pypi/v/oslo.messaging.svg + :target: https://pypi.org/project/oslo.messaging/ + :alt: Latest Version + + .. image:: https://img.shields.io/pypi/dm/oslo.messaging.svg + :target: https://pypi.org/project/oslo.messaging/ + :alt: Downloads + + The Oslo messaging API supports RPC and notifications over a number of + different messaging transports. + + * License: Apache License, Version 2.0 + * Documentation: https://docs.openstack.org/oslo.messaging/latest/ + * Source: https://opendev.org/openstack/oslo.messaging + * Bugs: https://bugs.launchpad.net/oslo.messaging + * Release notes: https://docs.openstack.org/releasenotes/oslo.messaging/ + + +Platform: UNKNOWN +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Information Technology +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Provides-Extra: amqp1 +Provides-Extra: kafka +Provides-Extra: test
  6. Download patch oslo.messaging.egg-info/dependency_links.txt

    --- 10.2.0-2/oslo.messaging.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/dependency_links.txt 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1 @@ +
  7. Download patch .gitreview

    --- 10.2.0-2/.gitreview 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.opendev.org -port=29418 -project=openstack/oslo.messaging.git
  8. Download patch debian/control

    --- 10.2.0-2/debian/control 2019-10-20 22:22:23.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/control 2019-12-10 18:09:37.000000000 +0000 @@ -1,7 +1,8 @@ Source: python-oslo.messaging Section: python Priority: optional -Maintainer: Debian OpenStack <team+openstack@tracker.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian OpenStack <team+openstack@tracker.debian.org> Uploaders: Thomas Goirand <zigo@debian.org>, James Page <james.page@ubuntu.com>, @@ -13,53 +14,52 @@ Build-Depends: python3-all, python3-pbr (>= 2.0.0), python3-setuptools, - python3-sphinx (>= 1.6.2), + python3-sphinx (>= 1.8.0), Build-Depends-Indep: bandit, - python3-amqp (>= 2.4.2), - python3-cachetools, + python3-amqp (>= 2.5.2), + python3-cachetools (>= 2.0.0), python3-confluent-kafka, - python3-coverage, - python3-debtcollector, + python3-coverage (>= 4.0), + python3-debtcollector (>= 1.2.0), python3-eventlet (>= 0.25.1), - python3-fixtures, - python3-futurist, - python3-greenlet, - python3-kombu (>= 4.6.4), - python3-mock, - python3-openstackdocstheme, - python3-oslo.config, - python3-oslo.log, - python3-oslo.middleware, - python3-oslo.serialization, - python3-oslo.service, - python3-oslo.utils, - python3-oslotest, - python3-pyngus, - python3-six, - python3-stestr, - python3-stevedore, + python3-fixtures (>= 3.0.0), + python3-futurist (>= 1.2.0), + python3-greenlet (>= 0.4.10), + python3-kombu (>= 4.6.6), + python3-mock (>= 2.0.0), + python3-openstackdocstheme (>= 1.20.0), + python3-oslo.config (>= 1:5.2.0), + python3-oslo.log (>= 3.36.0), + python3-oslo.middleware (>= 3.31.0), + python3-oslo.serialization (>= 2.18.0), + python3-oslo.service (>= 1.24.0), + python3-oslo.utils (>= 3.33.0), + python3-oslotest (>= 1:3.2.0), + python3-pyngus (>= 2.2.0), + python3-six (>= 1.10.0), + python3-stestr (>= 2.0.0), + python3-stevedore (>= 1:1.20.0), python3-subunit, - python3-testscenarios, - python3-testtools, - python3-webob, - python3-yaml, + python3-testscenarios (>= 0.4), + python3-testtools (>= 2.2.0), + python3-webob (>= 1:1.7.1), + python3-yaml (>= 3.12), subunit, Standards-Version: 4.4.1 -Vcs-Browser: https://salsa.debian.org/openstack-team/oslo/python-oslo.messaging -Vcs-Git: https://salsa.debian.org/openstack-team/oslo/python-oslo.messaging.git +Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-oslo.messaging +Vcs-Git: git://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-oslo.messaging Homepage: https://github.com/openstack/oslo.messaging Package: python3-oslo.messaging Architecture: all Depends: - python3-amqp (>= 2.4.2), + python3-amqp (>= 2.5.2), python3-cachetools (>= 2.0.0), - python3-confluent-kafka, - python3-debtcollector, + python3-debtcollector (>= 1.2.0), python3-futurist (>= 1.2.0), - python3-kombu (>= 4.6.4), - python3-monotonic, + python3-kombu (>= 4.6.6), + python3-monotonic (>= 0.6), python3-oslo.config (>= 1:5.2.0), python3-oslo.log (>= 3.36.0), python3-oslo.middleware (>= 3.31.0), @@ -67,14 +67,16 @@ Depends: python3-oslo.service (>= 1.24.0), python3-oslo.utils (>= 3.33.0), python3-pbr (>= 2.0.0), - python3-six (>= 1.9.0), - python3-stevedore (>= 1.20.0), + python3-six (>= 1.10.0), + python3-stevedore (>= 1:1.20.0), python3-tenacity (>= 4.4.0), python3-webob (>= 1:1.7.1), - python3-yaml, - python3-zmq, + python3-yaml (>= 3.12), ${misc:Depends}, ${python3:Depends}, +Suggests: + python3-confluent-kafka, + python3-zmq, Description: oslo messaging library - Python 3.x The oslo.messaging API supports RPC and notifications over a number of different messaging transports.
  9. Download patch debian/tests/python-import

    --- 10.2.0-2/debian/tests/python-import 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/tests/python-import 2019-12-10 18:09:37.000000000 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +MODULE_NAME=$(python3 setup.py --name | sed 's/\./_/g') + +for py in $(py3versions -r 2>/dev/null) ; do + cd "$AUTOPKGTEST_TMP" + echo "Testing with $py:" + $py -c "import $MODULE_NAME; print($MODULE_NAME)" +done
  10. Download patch oslo_messaging/rpc/server.py

    --- 10.2.0-2/oslo_messaging/rpc/server.py 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo_messaging/rpc/server.py 2019-11-25 17:05:52.000000000 +0000 @@ -122,6 +122,7 @@ A simple example of an RPC server with m import logging import sys +import time from oslo_messaging import exceptions from oslo_messaging.rpc import dispatcher as rpc_dispatcher @@ -151,6 +152,12 @@ class RPCServer(msg_server.MessageHandli def _process_incoming(self, incoming): message = incoming[0] + rpc_method = message.message.get('method') + start = time.time() + LOG.debug("Receive incoming message with id %(msg_id)s and " + "method: %(method)s.", + {"msg_id": message.msg_id, + "method": rpc_method}) # TODO(sileht): We should remove that at some point and do # this directly in the driver @@ -176,8 +183,19 @@ class RPCServer(msg_server.MessageHandli try: if failure is None: message.reply(res) + LOG.debug("Replied success message with id %(msg_id)s and " + "method: %(method)s. Time elapsed: %(elapsed).3f", + {"msg_id": message.msg_id, + "method": rpc_method, + "elapsed": (time.time() - start)}) else: message.reply(failure=failure) + LOG.debug("Replied failure for incoming message with " + "id %(msg_id)s and method: %(method)s. " + "Time elapsed: %(elapsed).3f", + {"msg_id": message.msg_id, + "method": rpc_method, + "elapsed": (time.time() - start)}) except exceptions.MessageUndeliverable as e: LOG.exception( "MessageUndeliverable error, "
  11. Download patch lower-constraints.txt

    --- 10.2.0-2/lower-constraints.txt 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/lower-constraints.txt 2019-11-25 17:05:52.000000000 +0000 @@ -1,5 +1,5 @@ alabaster==0.7.10 -amqp==2.4.1 +amqp==2.5.2 appdirs==1.3.0 Babel==2.3.4 bandit==1.1.0 @@ -28,7 +28,7 @@ imagesize==0.7.1 iso8601==0.1.11 Jinja2==2.10 keystoneauth1==3.4.0 -kombu==4.6.1 +kombu==4.6.6 linecache2==1.0.0 MarkupSafe==1.0 mccabe==0.2.1 @@ -78,7 +78,7 @@ Routes==2.3.1 six==1.10.0 smmap==0.9.0 snowballstemmer==1.2.1 -Sphinx==1.6.2 +Sphinx==1.8.0 sphinxcontrib-websupport==1.0.1 statsd==3.2.1 stestr==2.0.0
  12. Download patch ChangeLog
  13. Download patch tox.ini

    --- 10.2.0-2/tox.ini 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/tox.ini 2019-11-25 17:05:52.000000000 +0000 @@ -10,7 +10,7 @@ passenv = OS_* REQUIREMENTS_PIP_LOCATION install_command = pip install {opts} {packages} deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -38,8 +38,11 @@ commands = {posargs} [testenv:docs] basepython = python3 +whitelist_externals = rm deps = -r{toxinidir}/doc/requirements.txt -commands = sphinx-build -W -b html doc/source doc/build/html +commands = + rm -fr doc/build + sphinx-build -W --keep-going -b html doc/source doc/build/html [testenv:py27-func-rabbit] basepython = python2.7 @@ -111,7 +114,10 @@ local-check-factory = oslo_messaging.hac [testenv:releasenotes] basepython = python3 -commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html +whitelist_externals = rm +commands = + rm -rf releasenotes/build + sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html deps = -r{toxinidir}/doc/requirements.txt [testenv:bindep]
  14. Download patch doc/requirements.txt

    --- 10.2.0-2/doc/requirements.txt 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/doc/requirements.txt 2019-11-25 17:05:52.000000000 +0000 @@ -3,8 +3,8 @@ # process, which may cause wedges in the gate later. openstackdocstheme>=1.20.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD +sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD +sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD reno>=2.5.0 # Apache-2.0 # imported when the source code is parsed for generating documentation:
  15. Download patch .gitignore

    --- 10.2.0-2/.gitignore 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -# Add patterns in here to exclude files created by tools integrated with this -# repository, such as test frameworks from the project's recommended workflow, -# rendered documentation and package builds. -# -# Don't add patterns to exclude files created by preferred personal tools -# (editors, IDEs, your operating system itself even). These should instead be -# maintained outside the repository, for example in a ~/.gitignore file added -# with: -# -# git config --global core.excludesfile '~/.gitignore' - -AUTHORS -ChangeLog -*.pyc -*.log -.tox -.coverage -*.egg-info/ -.eggs -*.egg -build/ -doc/build/ -doc/source/api/ -dist/ -.stestr/ -releasenotes/build -cover/
  16. Download patch playbooks/oslo.messaging-src-grenade-dsvm/run.yaml

    --- 10.2.0-2/playbooks/oslo.messaging-src-grenade-dsvm/run.yaml 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/playbooks/oslo.messaging-src-grenade-dsvm/run.yaml 2019-11-25 17:05:52.000000000 +0000 @@ -31,6 +31,7 @@ export PYTHONUNBUFFERED=true export DEVSTACK_GATE_TEMPEST=1 export DEVSTACK_GATE_GRENADE=pullup + export DEVSTACK_GATE_USE_PYTHON3=True export BRANCH_OVERRIDE=default if [ "$BRANCH_OVERRIDE" != "default" ] ; then export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
  17. Download patch debian/py3dist-overrides

    --- 10.2.0-2/debian/py3dist-overrides 2019-10-20 22:22:23.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/py3dist-overrides 2019-12-10 18:09:37.000000000 +0000 @@ -1 +1,3 @@ trollius +kafka +kakfa-python
  18. Download patch oslo.messaging.egg-info/requires.txt

    --- 10.2.0-2/oslo.messaging.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/requires.txt 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1,41 @@ +pbr!=2.1.0,>=2.0.0 +futurist>=1.2.0 +oslo.config>=5.2.0 +oslo.log>=3.36.0 +oslo.utils>=3.33.0 +oslo.serialization!=2.19.1,>=2.18.0 +oslo.service!=1.28.1,>=1.24.0 +stevedore>=1.20.0 +debtcollector>=1.2.0 +six>=1.10.0 +cachetools>=2.0.0 +WebOb>=1.7.1 +PyYAML>=3.12 +amqp>=2.5.2 +kombu>=4.6.6 +oslo.middleware>=3.31.0 + +[:(python_version<'3.3')] +monotonic>=0.6 + +[amqp1] +pyngus>=2.2.0 + +[kafka] +confluent-kafka>=0.11.6 + +[test] +hacking<1.2.0,>=1.1.0 +fixtures>=3.0.0 +mock>=2.0.0 +stestr>=2.0.0 +testscenarios>=0.4 +testtools>=2.2.0 +oslotest>=3.2.0 +pifpaf>=2.2.0 +confluent-kafka>=0.11.6 +coverage!=4.4,>=4.0 +pyngus>=2.2.0 +bandit<1.6.0,>=1.1.0 +eventlet!=0.18.3,!=0.20.1,>=0.18.2 +greenlet>=0.4.10
  19. Download patch releasenotes/source/index.rst

    --- 10.2.0-2/releasenotes/source/index.rst 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/releasenotes/source/index.rst 2019-11-25 17:05:52.000000000 +0000 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + train stein rocky queens
  20. Download patch debian/watch

    --- 10.2.0-2/debian/watch 2019-10-20 22:22:23.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/watch 2019-12-10 18:09:37.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \ - https://github.com/openstack/oslo.messaging/tags .*/(\d[\d\.]+)\.tar\.gz +opts="uversionmangle=s/\.(b|rc)/~$1/" \ + http://tarballs.openstack.org/oslo.messaging/ oslo.messaging-(\d.*)\.tar\.gz
  21. Download patch setup.cfg

    --- 10.2.0-2/setup.cfg 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/setup.cfg 2019-11-25 17:06:33.000000000 +0000 @@ -3,67 +3,57 @@ name = oslo.messaging author = OpenStack author-email = openstack-discuss@lists.openstack.org summary = Oslo Messaging API -description-file = - README.rst +description-file = + README.rst home-page = https://docs.openstack.org/oslo.messaging/latest/ -classifier = - Environment :: OpenStack - Intended Audience :: Developers - Intended Audience :: Information Technology - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 +classifier = + Environment :: OpenStack + Intended Audience :: Developers + Intended Audience :: Information Technology + License :: OSI Approved :: Apache Software License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 [extras] -# package dependencies for optional (non-rabbitmq) messaging drivers. -# projects can test-depend on oslo.messaging[<drivers>] -# e.g.: oslo.messaging[kafka,amqp1] -amqp1 = - pyngus>=2.2.0 # Apache-2.0 -kafka = - confluent-kafka>=0.11.6 # Apache-2.0 +amqp1 = + pyngus>=2.2.0 # Apache-2.0 +kafka = + confluent-kafka>=0.11.6 # Apache-2.0 [files] -packages = - oslo_messaging +packages = + oslo_messaging [entry_points] -console_scripts = - oslo-messaging-send-notification = oslo_messaging.notify.notifier:_send_notification - -oslo.messaging.drivers = - rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver - amqp = oslo_messaging._drivers.impl_amqp1:ProtonDriver - - # This driver is supporting for only notification usage - kafka = oslo_messaging._drivers.impl_kafka:KafkaDriver - - # To avoid confusion - kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver - - # This is just for internal testing - fake = oslo_messaging._drivers.impl_fake:FakeDriver - -oslo.messaging.executors = - blocking = futurist:SynchronousExecutor - eventlet = futurist:GreenThreadPoolExecutor - threading = futurist:ThreadPoolExecutor - -oslo.messaging.notify.drivers = - messagingv2 = oslo_messaging.notify.messaging:MessagingV2Driver - messaging = oslo_messaging.notify.messaging:MessagingDriver - log = oslo_messaging.notify._impl_log:LogDriver - test = oslo_messaging.notify._impl_test:TestDriver - noop = oslo_messaging.notify._impl_noop:NoOpDriver - routing = oslo_messaging.notify._impl_routing:RoutingDriver - -oslo.config.opts = - oslo.messaging = oslo_messaging.opts:list_opts +console_scripts = + oslo-messaging-send-notification = oslo_messaging.notify.notifier:_send_notification +oslo.messaging.drivers = + rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver + amqp = oslo_messaging._drivers.impl_amqp1:ProtonDriver + + kafka = oslo_messaging._drivers.impl_kafka:KafkaDriver + + kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver + + fake = oslo_messaging._drivers.impl_fake:FakeDriver +oslo.messaging.executors = + blocking = futurist:SynchronousExecutor + eventlet = futurist:GreenThreadPoolExecutor + threading = futurist:ThreadPoolExecutor +oslo.messaging.notify.drivers = + messagingv2 = oslo_messaging.notify.messaging:MessagingV2Driver + messaging = oslo_messaging.notify.messaging:MessagingDriver + log = oslo_messaging.notify._impl_log:LogDriver + test = oslo_messaging.notify._impl_test:TestDriver + noop = oslo_messaging.notify._impl_noop:NoOpDriver + routing = oslo_messaging.notify._impl_routing:RoutingDriver +oslo.config.opts = + oslo.messaging = oslo_messaging.opts:list_opts [bdist_wheel] universal = 1 @@ -81,3 +71,8 @@ input_file = oslo_messaging/locale/oslo_ keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg output_file = oslo_messaging/locale/oslo_messaging.pot + +[egg_info] +tag_build = +tag_date = 0 +
  22. Download patch requirements.txt

    --- 10.2.0-2/requirements.txt 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/requirements.txt 2019-11-25 17:05:52.000000000 +0000 @@ -25,8 +25,8 @@ PyYAML>=3.12 # MIT # rabbit driver is the default # we set the amqp version to ensure heartbeat works -amqp>=2.4.1 # BSD -kombu!=4.0.2,>=4.6.1 # BSD +amqp>=2.5.2 # BSD +kombu>=4.6.6 # BSD # middleware oslo.middleware>=3.31.0 # Apache-2.0
  23. Download patch oslo_messaging/_drivers/impl_fake.py

    --- 10.2.0-2/oslo_messaging/_drivers/impl_fake.py 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo_messaging/_drivers/impl_fake.py 2019-11-25 17:05:52.000000000 +0000 @@ -14,10 +14,11 @@ # under the License. import copy -import json import threading import time +import uuid +from oslo_serialization import jsonutils from six import moves import oslo_messaging @@ -29,6 +30,7 @@ class FakeIncomingMessage(base.RpcIncomi super(FakeIncomingMessage, self).__init__(ctxt, message) self.requeue_callback = requeue self._reply_q = reply_q + self.msg_id = str(uuid.uuid4()) def reply(self, reply=None, failure=None): if self._reply_q: @@ -180,13 +182,11 @@ class FakeDriver(base.BaseDriver): def _check_serialize(message): """Make sure a message intended for rpc can be serialized. - We specifically want to use json, not our own jsonutils because - jsonutils has some extra logic to automatically convert objects to - primitive types so that they can be serialized. We want to catch all - cases where non-primitive types make it into this code and treat it as - an error. + All the in tree drivers implementing RPC send uses jsonutils.dumps on + the message. So in the test we ensure here that all the messages are + serializable with this call. """ - json.dumps(message) + jsonutils.dumps(message) def _send(self, target, ctxt, message, wait_for_reply=None, timeout=None, transport_options=None):
  24. Download patch oslo.messaging.egg-info/SOURCES.txt

    --- 10.2.0-2/oslo.messaging.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/SOURCES.txt 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1,184 @@ +.coveragerc +.stestr.conf +.zuul.yaml +AUTHORS +CONTRIBUTING.rst +ChangeLog +HACKING.rst +LICENSE +README.rst +babel.cfg +bindep.txt +lower-constraints.txt +requirements.txt +setup-test-env-kafka.sh +setup.cfg +setup.py +test-requirements.txt +tox.ini +doc/requirements.txt +doc/source/conf.py +doc/source/index.rst +doc/source/admin/AMQP1.0.rst +doc/source/admin/drivers.rst +doc/source/admin/index.rst +doc/source/admin/kafka.rst +doc/source/admin/rabbit.rst +doc/source/configuration/conffixture.rst +doc/source/configuration/index.rst +doc/source/configuration/opts.rst +doc/source/contributor/contributing.rst +doc/source/contributor/driver-dev-guide.rst +doc/source/contributor/index.rst +doc/source/contributor/supported-messaging-drivers.rst +doc/source/reference/exceptions.rst +doc/source/reference/executors.rst +doc/source/reference/index.rst +doc/source/reference/notification_driver.rst +doc/source/reference/notification_listener.rst +doc/source/reference/notifier.rst +doc/source/reference/rpcclient.rst +doc/source/reference/serializer.rst +doc/source/reference/server.rst +doc/source/reference/target.rst +doc/source/reference/transport.rst +doc/source/user/FAQ.rst +doc/source/user/history.rst +doc/source/user/index.rst +etc/routing_notifier.yaml.sample +oslo.messaging.egg-info/PKG-INFO +oslo.messaging.egg-info/SOURCES.txt +oslo.messaging.egg-info/dependency_links.txt +oslo.messaging.egg-info/entry_points.txt +oslo.messaging.egg-info/not-zip-safe +oslo.messaging.egg-info/pbr.json +oslo.messaging.egg-info/requires.txt +oslo.messaging.egg-info/top_level.txt +oslo_messaging/__init__.py +oslo_messaging/_utils.py +oslo_messaging/conffixture.py +oslo_messaging/dispatcher.py +oslo_messaging/exceptions.py +oslo_messaging/opts.py +oslo_messaging/serializer.py +oslo_messaging/server.py +oslo_messaging/target.py +oslo_messaging/transport.py +oslo_messaging/version.py +oslo_messaging/_drivers/__init__.py +oslo_messaging/_drivers/amqp.py +oslo_messaging/_drivers/amqpdriver.py +oslo_messaging/_drivers/base.py +oslo_messaging/_drivers/common.py +oslo_messaging/_drivers/impl_amqp1.py +oslo_messaging/_drivers/impl_fake.py +oslo_messaging/_drivers/impl_kafka.py +oslo_messaging/_drivers/impl_rabbit.py +oslo_messaging/_drivers/pool.py +oslo_messaging/_drivers/amqp1_driver/__init__.py +oslo_messaging/_drivers/amqp1_driver/addressing.py +oslo_messaging/_drivers/amqp1_driver/controller.py +oslo_messaging/_drivers/amqp1_driver/eventloop.py +oslo_messaging/_drivers/amqp1_driver/opts.py +oslo_messaging/_drivers/amqp1_driver/oslo_messaging_amqp_driver_overview.rst +oslo_messaging/_drivers/kafka_driver/__init__.py +oslo_messaging/_drivers/kafka_driver/kafka_options.py +oslo_messaging/hacking/__init__.py +oslo_messaging/hacking/checks.py +oslo_messaging/notify/__init__.py +oslo_messaging/notify/_impl_log.py +oslo_messaging/notify/_impl_noop.py +oslo_messaging/notify/_impl_routing.py +oslo_messaging/notify/_impl_test.py +oslo_messaging/notify/dispatcher.py +oslo_messaging/notify/filter.py +oslo_messaging/notify/listener.py +oslo_messaging/notify/log_handler.py +oslo_messaging/notify/logger.py +oslo_messaging/notify/messaging.py +oslo_messaging/notify/middleware.py +oslo_messaging/notify/notifier.py +oslo_messaging/rpc/__init__.py +oslo_messaging/rpc/client.py +oslo_messaging/rpc/dispatcher.py +oslo_messaging/rpc/server.py +oslo_messaging/rpc/transport.py +oslo_messaging/tests/__init__.py +oslo_messaging/tests/test_config_opts_proxy.py +oslo_messaging/tests/test_exception_serialization.py +oslo_messaging/tests/test_expected_exceptions.py +oslo_messaging/tests/test_fixture.py +oslo_messaging/tests/test_opts.py +oslo_messaging/tests/test_target.py +oslo_messaging/tests/test_transport.py +oslo_messaging/tests/test_urls.py +oslo_messaging/tests/test_utils.py +oslo_messaging/tests/utils.py +oslo_messaging/tests/drivers/__init__.py +oslo_messaging/tests/drivers/test_amqp_driver.py +oslo_messaging/tests/drivers/test_impl_kafka.py +oslo_messaging/tests/drivers/test_impl_rabbit.py +oslo_messaging/tests/drivers/test_pool.py +oslo_messaging/tests/functional/__init__.py +oslo_messaging/tests/functional/test_functional.py +oslo_messaging/tests/functional/test_rabbitmq.py +oslo_messaging/tests/functional/utils.py +oslo_messaging/tests/functional/notify/__init__.py +oslo_messaging/tests/functional/notify/test_logger.py +oslo_messaging/tests/notify/__init__.py +oslo_messaging/tests/notify/test_dispatcher.py +oslo_messaging/tests/notify/test_listener.py +oslo_messaging/tests/notify/test_log_handler.py +oslo_messaging/tests/notify/test_logger.py +oslo_messaging/tests/notify/test_middleware.py +oslo_messaging/tests/notify/test_notifier.py +oslo_messaging/tests/rpc/__init__.py +oslo_messaging/tests/rpc/test_client.py +oslo_messaging/tests/rpc/test_dispatcher.py +oslo_messaging/tests/rpc/test_server.py +playbooks/oslo.messaging-src-grenade-dsvm/post.yaml +playbooks/oslo.messaging-src-grenade-dsvm/run.yaml +playbooks/oslo.messaging-src-grenade-dsvm-multinode/post.yaml +playbooks/oslo.messaging-src-grenade-dsvm-multinode/run.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/post.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-amqp1/run.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-kafka/post.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-kafka/run.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/post.yaml +playbooks/oslo.messaging-telemetry-dsvm-integration-rabbit/run.yaml +releasenotes/notes/RPC-call-monitoring-7977f047d069769a.yaml +releasenotes/notes/add_reno-3b4ae0789e9c45b4.yaml +releasenotes/notes/blocking-executor-deprecated-895146c1c3bf2f51.yaml +releasenotes/notes/bump-amqp-version-due-to-tls-issue-e877b152eb101c15.yaml +releasenotes/notes/connection_ttl-2cf0fe6e1ab8c73c.yaml +releasenotes/notes/deprecate-ZeroMQ-driver-a8af25aaba867c5b.yaml +releasenotes/notes/fix-access_policy-deafult-a6954a147cb002b0.yaml +releasenotes/notes/get_rpc_transport-4aa3511ad9754a60.yaml +releasenotes/notes/kafka-client-library-change-fe16d5a34550db7f.yaml +releasenotes/notes/option-rabbitmq-max_retries-has-been-deprecated-471f66a9e6d672a2.yaml +releasenotes/notes/pika-driver-has-been-deprecated-e2407fa53c91fe5c.yaml +releasenotes/notes/rabbit-no-wait-for-ack-9e5de3e1320d7660.yaml +releasenotes/notes/removal-deprecated-options-6d4c5db90525c52d.yaml +releasenotes/notes/remove-RequestContextSerializer-234c0496a7e0376b.yaml +releasenotes/notes/remove-ZeroMQ-driver-e9e0bbbb7bd4f5e6.yaml +releasenotes/notes/remove-pika-1bae204ced2521a3.yaml +releasenotes/notes/retry-support-07996ef04dda9482.yaml +releasenotes/notes/use-extras-for-optional-deps-2a00e8007ef7a629.yaml +releasenotes/source/conf.py +releasenotes/source/index.rst +releasenotes/source/newton.rst +releasenotes/source/ocata.rst +releasenotes/source/pike.rst +releasenotes/source/queens.rst +releasenotes/source/rocky.rst +releasenotes/source/stein.rst +releasenotes/source/train.rst +releasenotes/source/unreleased.rst +releasenotes/source/_static/.placeholder +releasenotes/source/_templates/.placeholder +releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po +tools/functions.sh +tools/messages_length.yaml +tools/setup-test-env-amqp1.sh +tools/simulator.py +tools/test-setup.sh \ No newline at end of file
  25. Download patch oslo.messaging.egg-info/PKG-INFO

    --- 10.2.0-2/oslo.messaging.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/PKG-INFO 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1,53 @@ +Metadata-Version: 2.1 +Name: oslo.messaging +Version: 10.4.0 +Summary: Oslo Messaging API +Home-page: https://docs.openstack.org/oslo.messaging/latest/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/oslo.messaging.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + Oslo Messaging Library + ====================== + + .. image:: https://img.shields.io/pypi/v/oslo.messaging.svg + :target: https://pypi.org/project/oslo.messaging/ + :alt: Latest Version + + .. image:: https://img.shields.io/pypi/dm/oslo.messaging.svg + :target: https://pypi.org/project/oslo.messaging/ + :alt: Downloads + + The Oslo messaging API supports RPC and notifications over a number of + different messaging transports. + + * License: Apache License, Version 2.0 + * Documentation: https://docs.openstack.org/oslo.messaging/latest/ + * Source: https://opendev.org/openstack/oslo.messaging + * Bugs: https://bugs.launchpad.net/oslo.messaging + * Release notes: https://docs.openstack.org/releasenotes/oslo.messaging/ + + +Platform: UNKNOWN +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Information Technology +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Provides-Extra: amqp1 +Provides-Extra: kafka +Provides-Extra: test
  26. Download patch debian/tests/python-ostestr

    --- 10.2.0-2/debian/tests/python-ostestr 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/tests/python-ostestr 2019-12-10 18:09:37.000000000 +0000 @@ -0,0 +1,9 @@ +#!/bin/sh + +set -ex + +for py in $(py3versions -r 2>/dev/null); do + echo "Testing with $py:" + PYTHON=$py ostestr + rm -rf .stestr +done
  27. Download patch oslo.messaging.egg-info/entry_points.txt

    --- 10.2.0-2/oslo.messaging.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/entry_points.txt 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1,26 @@ +[console_scripts] +oslo-messaging-send-notification = oslo_messaging.notify.notifier:_send_notification + +[oslo.config.opts] +oslo.messaging = oslo_messaging.opts:list_opts + +[oslo.messaging.drivers] +amqp = oslo_messaging._drivers.impl_amqp1:ProtonDriver +fake = oslo_messaging._drivers.impl_fake:FakeDriver +kafka = oslo_messaging._drivers.impl_kafka:KafkaDriver +kombu = oslo_messaging._drivers.impl_rabbit:RabbitDriver +rabbit = oslo_messaging._drivers.impl_rabbit:RabbitDriver + +[oslo.messaging.executors] +blocking = futurist:SynchronousExecutor +eventlet = futurist:GreenThreadPoolExecutor +threading = futurist:ThreadPoolExecutor + +[oslo.messaging.notify.drivers] +log = oslo_messaging.notify._impl_log:LogDriver +messaging = oslo_messaging.notify.messaging:MessagingDriver +messagingv2 = oslo_messaging.notify.messaging:MessagingV2Driver +noop = oslo_messaging.notify._impl_noop:NoOpDriver +routing = oslo_messaging.notify._impl_routing:RoutingDriver +test = oslo_messaging.notify._impl_test:TestDriver +
  28. Download patch AUTHORS
  29. Download patch oslo.messaging.egg-info/top_level.txt

    --- 10.2.0-2/oslo.messaging.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/top_level.txt 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1 @@ +oslo_messaging
  30. Download patch oslo.messaging.egg-info/not-zip-safe

    --- 10.2.0-2/oslo.messaging.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/not-zip-safe 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1 @@ +
  31. Download patch .zuul.yaml

    --- 10.2.0-2/.zuul.yaml 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/.zuul.yaml 2019-11-25 17:05:52.000000000 +0000 @@ -220,7 +220,7 @@ - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python3-train-jobs + - openstack-python3-ussuri-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3
  32. Download patch playbooks/oslo.messaging-src-grenade-dsvm-multinode/run.yaml

    --- 10.2.0-2/playbooks/oslo.messaging-src-grenade-dsvm-multinode/run.yaml 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/playbooks/oslo.messaging-src-grenade-dsvm-multinode/run.yaml 2019-11-25 17:05:52.000000000 +0000 @@ -32,6 +32,7 @@ export PYTHONUNBUFFERED=true export DEVSTACK_GATE_TEMPEST=1 export DEVSTACK_GATE_GRENADE=pullup + export DEVSTACK_GATE_USE_PYTHON3=True export BRANCH_OVERRIDE=default if [ "$BRANCH_OVERRIDE" != "default" ] ; then export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
  33. Download patch debian/gbp.conf

    --- 10.2.0-2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/debian/gbp.conf 2019-12-10 18:09:37.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  34. Download patch oslo_messaging/_drivers/amqpdriver.py

    --- 10.2.0-2/oslo_messaging/_drivers/amqpdriver.py 2019-08-21 12:46:59.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo_messaging/_drivers/amqpdriver.py 2019-11-25 17:05:52.000000000 +0000 @@ -44,6 +44,7 @@ class MessageOperationsHandler(object): serialized and run in the same thread, since underlying drivers like kombu are not thread safe. """ + def __init__(self, name): self.name = "%s (%s)" % (name, hex(id(self))) self._tasks = moves.queue.Queue() @@ -386,8 +387,6 @@ class NotificationAMQPListener(AMQPListe class ReplyWaiters(object): - WAKE_UP = object() - def __init__(self): self._queues = {} self._wrn_threshold = 10
  35. Download patch oslo.messaging.egg-info/pbr.json

    --- 10.2.0-2/oslo.messaging.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 10.4.0-0ubuntu2/oslo.messaging.egg-info/pbr.json 2019-11-25 17:06:33.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "37fabdd8", "is_release": true} \ No newline at end of file
  1. python-oslo.messaging