14
0
forked from pool/python-amqp
Commit Graph

31 Commits

Author SHA256 Message Date
d59800db2d Accepting request 676523 from home:mcepl:branches:devel:languages:python
- Better call of py.test

OBS-URL: https://build.opensuse.org/request/show/676523
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=54
2019-02-15 11:57:11 +00:00
Tomáš Chvátal
2f87effc0a Accepting request 676364 from home:jayvdb:django
- Add versions to dependencies
- Remove python-sasl from build dependencies
- Update to version 2.4.1, includes Python 3.7 support

OBS-URL: https://build.opensuse.org/request/show/676364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=53
2019-02-15 10:36:47 +00:00
Tomáš Chvátal
3157bb613c Accepting request 619949 from home:apersaud:branches:devel:languages:python
- specfile:
  * added dependency pytest-sugar
- update to version 2.3.2:
  * Fix a regression that occurs when running amqp under Python 2.7 on
    OSX.  TCP_USER_TIMEOUT is not available when running on OSX.  We
    now remove it from the set of known TCP options.
- changes from version 2.3.1:
  * Fix a regression that occurs when running amqp under Python 2.7.
    #182 mistakingly replaced a type check with unicode to string_t
    which is str in Python 2.7. text_t should have been used instead.
    This is now fixed and the tests have been adjusted to ensure this
    never regresses again.

OBS-URL: https://build.opensuse.org/request/show/619949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=51
2018-07-01 06:46:46 +00:00
Tomáš Chvátal
e9357606f1 Accepting request 612610 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/612610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=49
2018-05-28 07:02:08 +00:00
3de7ac5dfd Accepting request 563283 from home:pluskalm:branches:devel:languages:python
- Fix building on pre Factory distros by not running test suite
  (which fails due to old sasl)

OBS-URL: https://build.opensuse.org/request/show/563283
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=47
2018-01-10 12:17:55 +00:00
9d8d902958 Accepting request 546772 from home:mrdocs:branches:devel:languages:python
- fix build by adding sasl as BuildRequires
- specfile:
  * added fdupes
- update to version 2.2.2:
  * Sending empty messages no longer hangs. Instead an empty message
    is sent correctly.(addresses #151) Fix contributed by **Christian
    Blades**
  * Fixed compatibility issues in UTF-8 encoding behavior between
    Py2/Py3 (#164) Fix contributed by **Tyler James Harden**
- changes from version 2.2.1:
  * Fix implicit conversion from bytes to string on the connection
    object. (Issue #155) This issue has caused Celery to crash on
    connection to RabbitMQ.  Fix contributed by **Omer Katz**
- changes from version 2.2.0:
  * Fix random delays in task execution.  This is a bug that caused
    performance issues due to polling timeouts that occur when
    receiving incomplete AMQP frames. (Issues #3978 #3737 #3814) Fix
    contributed by **Robert Kopaczewski**
  * Calling "conn.collect()" multiple times will no longer raise an
    "AttributeError" when no channels exist.  Fix contributed by
    **Gord Chung**
  * Fix compatibility code for Python 2.7.6.  Fix contributed by
    **Jonathan Schuff**
  * When running in Windows, py-amqp will no longer use the
    unsupported TCP option TCP_MAXSEG.  Fix contributed by **Tony
    Breeds**
  * Added support for setting the SNI hostname header.  The SSL
    protocol version is now set to SSLv23 Contributed by **Dhananjay
    Sathe**
  * Authentication mechanisms were refactored to be more
    modular. GSSAPI authentication is now supported.  Contributed by
    **Alexander Dutton**
  * Do not reconnect on collect.  Fix contributed by **Gord Chung**
- update to 2.1.4:
  - Removes byte string comparison warnings when running under ``python -b``.
  - Linux version parsing broke when the version included a '+' character
    (Issue #119).
  - Now sets default TCP settings for platforms that support them (e.g. Linux).
  - Fixes compatibility with Python 2.7.5 and below (Issue #107).
  - Linux: Now sets the :data:`~socket.TCP_USER_TIMEOUT` flag if available
    for better failed connection detection.
  - Python compatibility: Fixed compatibility when using the python ``-b`` flag.
  - Frame writer: Account for overhead when calculating frame size.
  - Frame writer: Account for overhead when calculating frame size.
  - Datetimes in method frame arguments are now handled properly.
  - Fixed compatibility with Python <= 2.7.6
  - Frame_writer is no longer a generator, which should solve
    a rare "generator already executing" error (Issue #103).
  - SSLTransport: Fixed crash "no attribute sslopts" when ``ssl=True``
    (Issue #100).
  - Fixed incompatible argument spec for ``Connection.Close`` (Issue #45).
    This caused the RabbitMQ server to raise an exception (INTERNAL ERROR).
  - Transport: No longer implements `__del__` to make sure gc can collect
    connections.
  - Python 3: Installation requirements ended up being a generator
    and crashed setup.py.
  - Python <= 2.7.7: struct.pack arguments cannot be unicode
  - Python 3.4: Fixed use of `bytes % int`.
  - Connection/Transport: Fixed handling of default port.
  - Adds backward compatibility layer for the 1.4 API.
  - Fixes kombu 3.0/celery 3.1 compatibility (Issue #88).
  - Fixed compatibility with Python 2.7.3 (Issue #85)
  - Fixed bug where calling drain_events() with a timeout of 0 would actually
    block until a frame is received.
  - Documentation moved to http://amqp.readthedocs.io (Issue #89).
  - No longer supports Python 2.6
  - You must now call Connection.connect() to establish the connection.
  - Library rewritten to anticipate async changes.
  - Connection now exposes underlying socket options.
  - Additional logging for heartbeats.
  - SSL: Fixes issue with remote connection hanging
  - SSL: ``ssl`` dict argument now supports the ``check_hostname`` key
    (Issue #63).
- Drop tune-keepalive-intervals.diff . Similar solution applied upstream
- Drop amqp-drop-sphinxcontrib-issuetracker-dependency.patch. No longer
  needed
- Switch to singlespec approach
- Drop doc build
- Update to 1.4.9:
  * Fix compatibility with Linux/OS X instances where the
    ``ctypes`` module does not exist
- Changes from 1.4.8:
  * ``abstract_channel.wait`` now accepts a float `timeout`
    parameter expressed in seconds
- remove build date from documentation
- Add uniittest2 to BuildRequires for Python 2.6
- update to 1.4.7:
  * Fixed libSystem error on OS X 10.11 (El Capitan)
  * ``channel.basic_publish`` now raises :exc:`amqp.exceptions.NotConfirmed` on
    ``basic.nack``.
  * AMQP timestamps received are now converted from GMT instead of local time
    (Issue #67).
  * Wheel package installation now supported by both Python 2 and Python3.
- Add python-mock as BuildRequires. Needed for tests
- license update: LGPL-2.1+
  LGPL includes "or later"
- replace set_socket_TCP_KEEPALIVE_and_TCP_USER_TIMEOUT.patch 
  with tune-keepalive-intervals.diff (bnc#902207)
- update to 1.4.6:
  * Now keeps buffer when socket times out.
  * Adds ``Connection.Transport`` attribute that can be used to specify
    a different transport implementation.
- update to 1.4.5:
  - Can now deserialize more AMQP types.
  - SSL: Workaround for Python SSL bug.
  - ``Transport.__del_`` now handles errors occurring at late interpreter
  shutdown (Issue #36).
 - SSL transport accidentally disconnected after read timeout.
- Add amqp-drop-sphinxcontrib-issuetracker-dependency.patch: Avoid
  unnesseary build-time dependencies.
- update to 1.4.3:
  - Fixed bug where more data was requested from the socket
    than was actually needed.
  - Heartbeat negotiation would use heartbeat value from server even
    if heartbeat disabled (Issue #31).
- update to 1.4.1:
  - Fixed error occurring when heartbeats disabled.
- update to 1.4.0:
 - Heartbeat implementation improved (Issue #6).
 - NoneType is now supported in tables and arrays.
 - SSLTransport: Now handles ``ENOENT``.
- Update to 1.3.3:
  - SSLTransport: Now keeps read buffer if an exception is raised
  - Message.channel is now a channel object (not the channel id)
  - Now sets ``Message.channel`` on delivery
  - New option to wait for publish confirmations
  - ``queue_declare`` now returns named tuple of type
  - Contents of ``Channel.returned_messages`` is now named tuples.
  - Sockets now set to close on exec using the ``FD_CLOEXEC`` flag
- Require python-setuptools instead of distribute (upstreams merged)
- Run testsuite
- Add Python3 support
- Build HTML documentation
- Install LICENSE, README.rst
- Update to 1.2.0:
  - New exception hierarchy:
    - amqp.AMQPError
        - amqp.ConnectionError
            - amqp.RecoverableConnectionError
                - amqp.ConsumerCancelled
                - amqp.ConnectionForced
                - amqp.ResourceError
            - IrrecoverableConnectionError
                - amqp.ChannelNotOpen
                - amqp.FrameError
                - amqp.FrameSyntaxError
                - amqp.InvalidCommand
                - amqp.InvalidPath
                - amqp.NotAllowed
                - amqp.UnexpectedFrame
                - amqp.AMQPNotImplementedError
                - amqp.InternalError
        - amqp.ChannelError
            - RecoverableChannelError
                - amqp.ContentTooLarge
                - amqp.NoConsumers
                - amqp.ResourceLocked
            - IrrecoverableChannelError
                - amqp.AccessRefused
                - amqp.NotFound
                - amqp.PreconditionFailed
- Update to 1.1.0:
  - No longer supports Pyhton 2.5
  - Fixed receiving of float table values.
  - Now Supports Python 3 and Python 2.6+ in the same source code.
  - Python 3 related fixes.
- Update to 1.0.2:
  - Now supports float values in headers/tables.
- Update to 1.0.1:
  - Connection errors does no longer include AttributeError.
  - Fixed problem with using the SSL transport in a non-blocking
    context.
    Fix contributed by Mher Movsisyan.
- Update to 0.9.4:
  - Adds support for exchange_bind and exchange_unbind.
    Contributed by Rumyana Neykova
  - Fixed bugs in funtests and demo scripts.
    Contributed by Rumyana Neykova
- Aditional changes from version 0.9.3:
  - Fixed bug that could cause the consumer to crash when reading
    large message payloads asynchronously.
  - Serialization error messages now include the invalid value.
- Initial package (0.9.2) for openSUSE.

OBS-URL: https://build.opensuse.org/request/show/546772
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=46
2017-12-01 08:00:05 +00:00
1a516d57fd - build requires fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=45
2017-11-14 23:22:27 +00:00
b56aaa91ea Accepting request 535613 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/535613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=43
2017-10-26 10:46:09 +00:00
Jan Matejek
cd697f119a Accepting request 479902 from home:tbechtold:branches:devel:languages:python
- update to 2.1.4:
  - Removes byte string comparison warnings when running under ``python -b``.
  - Linux version parsing broke when the version included a '+' character
    (Issue #119).
  - Now sets default TCP settings for platforms that support them (e.g. Linux).
  - Fixes compatibility with Python 2.7.5 and below (Issue #107).
  - Linux: Now sets the :data:`~socket.TCP_USER_TIMEOUT` flag if available
    for better failed connection detection.
  - Python compatibility: Fixed compatibility when using the python ``-b`` flag.
  - Frame writer: Account for overhead when calculating frame size.
  - Frame writer: Account for overhead when calculating frame size.
  - Datetimes in method frame arguments are now handled properly.
  - Fixed compatibility with Python <= 2.7.6
  - Frame_writer is no longer a generator, which should solve
    a rare "generator already executing" error (Issue #103).
  - SSLTransport: Fixed crash "no attribute sslopts" when ``ssl=True``
    (Issue #100).
  - Fixed incompatible argument spec for ``Connection.Close`` (Issue #45).
    This caused the RabbitMQ server to raise an exception (INTERNAL ERROR).
  - Transport: No longer implements `__del__` to make sure gc can collect
    connections.
  - Python 3: Installation requirements ended up being a generator
    and crashed setup.py.
  - Python <= 2.7.7: struct.pack arguments cannot be unicode
  - Python 3.4: Fixed use of `bytes % int`.
  - Connection/Transport: Fixed handling of default port.
  - Adds backward compatibility layer for the 1.4 API.
  - Fixes kombu 3.0/celery 3.1 compatibility (Issue #88).
  - Fixed compatibility with Python 2.7.3 (Issue #85)
  - Fixed bug where calling drain_events() with a timeout of 0 would actually

OBS-URL: https://build.opensuse.org/request/show/479902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=41
2017-03-16 14:24:26 +00:00
Denisart Benjamin
eb8d717e82 Accepting request 353452 from home:1Antoine1:branches:devel:languages:python
- Update to 1.4.9:
  * Fix compatibility with Linux/OS X instances where the
    ``ctypes`` module does not exist
- Changes from 1.4.8:
  * ``abstract_channel.wait`` now accepts a float `timeout`
    parameter expressed in seconds

OBS-URL: https://build.opensuse.org/request/show/353452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=39
2016-01-15 09:41:13 +00:00
6b715e8414 Accepting request 348369 from home:seife:branches:devel:languages:python
remove build date from documentation, avoid useless republish

OBS-URL: https://build.opensuse.org/request/show/348369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=37
2015-12-17 13:27:10 +00:00
Michal Čihař
bc70dce3a0 Accepting request 336546 from home:Nijel:branches:devel:languages:python
- Add uniittest2 to BuildRequires for Python 2.6

OBS-URL: https://build.opensuse.org/request/show/336546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=35
2015-10-05 13:47:31 +00:00
Michal Čihař
5c85413ece Accepting request 336279 from Cloud:OpenStack:Master
- update to 1.4.7:
  * Fixed libSystem error on OS X 10.11 (El Capitan)
  * ``channel.basic_publish`` now raises :exc:`amqp.exceptions.NotConfirmed` on
    ``basic.nack``.
  * AMQP timestamps received are now converted from GMT instead of local time
    (Issue #67).
  * Wheel package installation now supported by both Python 2 and Python3.
- Add python-mock as BuildRequires. Needed for tests

OBS-URL: https://build.opensuse.org/request/show/336279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=34
2015-10-05 07:54:28 +00:00
0229b3ad45 - license update: LGPL-2.1+
LGPL includes "or later"

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=32
2015-08-10 11:11:42 +00:00
Denisart Benjamin
1b9b952b50 Accepting request 286328 from Cloud:OpenStack:Master
- replace set_socket_TCP_KEEPALIVE_and_TCP_USER_TIMEOUT.patch 
  with tune-keepalive-intervals.diff (bnc#902207)

OBS-URL: https://build.opensuse.org/request/show/286328
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=30
2015-02-17 10:25:19 +00:00
Jan Matejek
4b5baa82fe Accepting request 249204 from Cloud:OpenStack:Master
New upstream release

OBS-URL: https://build.opensuse.org/request/show/249204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=28
2014-09-15 14:04:03 +00:00
Tomáš Chvátal
982176d208 Accepting request 232651 from Cloud:OpenStack:Master
- update to 1.4.5:
  - Can now deserialize more AMQP types.
  - SSL: Workaround for Python SSL bug.
  - ``Transport.__del_`` now handles errors occurring at late interpreter
  shutdown (Issue #36).
 - SSL transport accidentally disconnected after read timeout.

OBS-URL: https://build.opensuse.org/request/show/232651
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=26
2014-05-16 12:46:31 +00:00
Sascha Peilicke
2253d2ecc8 - Add amqp-drop-sphinxcontrib-issuetracker-dependency.patch: Avoid
unnesseary build-time dependencies.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=24
2014-03-06 14:38:53 +00:00
Denisart Benjamin
2d0445aa89 Accepting request 223281 from Cloud:OpenStack:Master
- update to 1.4.3:
  - Fixed bug where more data was requested from the socket
    than was actually needed.
  - Heartbeat negotiation would use heartbeat value from server even
    if heartbeat disabled (Issue #31).

OBS-URL: https://build.opensuse.org/request/show/223281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=22
2014-02-21 15:51:56 +00:00
Denisart Benjamin
20003824b5 Accepting request 214583 from Cloud:OpenStack:Master
- update to 1.4.1:
  - Fixed error occurring when heartbeats disabled.

OBS-URL: https://build.opensuse.org/request/show/214583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=20
2014-01-21 23:28:55 +00:00
Sascha Peilicke
0651f5e0a8 Accepting request 213855 from Cloud:OpenStack:Master
- update to 1.4.0:
 - Heartbeat implementation improved (Issue #6).
 - NoneType is now supported in tables and arrays.
 - SSLTransport: Now handles ``ENOENT``.

OBS-URL: https://build.opensuse.org/request/show/213855
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=18
2014-01-14 15:01:20 +00:00
Denisart Benjamin
664ad5891c Accepting request 209065 from home:appleonkel:branches:devel:languages:python
Update to 1.3.3

OBS-URL: https://build.opensuse.org/request/show/209065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=16
2013-12-01 21:23:10 +00:00
Sascha Peilicke
710e1aa3fc - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=14
2013-10-24 10:58:40 +00:00
Sascha Peilicke
c81081b348 - Run testsuite
- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=10
2013-04-30 09:22:06 +00:00
Sascha Peilicke
7274655a16 - Add Python3 support
- Build HTML documentation
- Install LICENSE, README.rst

- Initial version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=8
2013-02-11 12:45:57 +00:00
Alexandre Rogoski
51c50262e7 - Update to 1.2.0:
- New exception hierarchy:
    - amqp.AMQPError
        - amqp.ConnectionError
            - amqp.RecoverableConnectionError
                - amqp.ConsumerCancelled
                - amqp.ConnectionForced
                - amqp.ResourceError
            - IrrecoverableConnectionError
                - amqp.ChannelNotOpen
                - amqp.FrameError
                - amqp.FrameSyntaxError
                - amqp.InvalidCommand
                - amqp.InvalidPath
                - amqp.NotAllowed
                - amqp.UnexpectedFrame
                - amqp.AMQPNotImplementedError
                - amqp.InternalError
        - amqp.ChannelError
            - RecoverableChannelError
                - amqp.ContentTooLarge
                - amqp.NoConsumers
                - amqp.ResourceLocked
            - IrrecoverableChannelError
                - amqp.AccessRefused
                - amqp.NotFound
                - amqp.PreconditionFailed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=6
2012-11-12 17:58:24 +00:00
Alexandre Rogoski
16c6c91a63 - Update to 1.1.0:
- No longer supports Pyhton 2.5
  - Fixed receiving of float table values.
  - Now Supports Python 3 and Python 2.6+ in the same source code.
  - Python 3 related fixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=5
2012-11-08 23:26:48 +00:00
Alexandre Rogoski
d2bc9e77bd - Update to 1.0.2:
- Now supports float values in headers/tables.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=4
2012-11-06 18:01:33 +00:00
Alexandre Rogoski
44087ca2a4 - Update to 1.0.1:
- Connection errors does no longer include AttributeError.
  - Fixed problem with using the SSL transport in a non-blocking
    context.
    Fix contributed by Mher Movsisyan.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=3
2012-11-05 15:53:26 +00:00
Alexandre Rogoski
b345396acf - Update to 0.9.4:
- Adds support for exchange_bind and exchange_unbind.
    Contributed by Rumyana Neykova
  - Fixed bugs in funtests and demo scripts.
    Contributed by Rumyana Neykova
- Aditional changes from version 0.9.3:
  - Fixed bug that could cause the consumer to crash when reading
    large message payloads asynchronously.
  - Serialization error messages now include the invalid value.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=2
2012-09-21 19:22:09 +00:00
Ismail Dönmez
8323b85d97 Accepting request 131552 from home:aledr
Please add as it is a transport for python-kombu.

OBS-URL: https://build.opensuse.org/request/show/131552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-amqp?expand=0&rev=1
2012-08-31 16:27:13 +00:00