14
0
Commit Graph

40 Commits

Author SHA256 Message Date
Antoine Belvire
df5d5e4b0d Accepting request 1004373 from home:marec2000:branches:devel:languages:python
- added build dependency python-async_timeout in order to fix build failure

OBS-URL: https://build.opensuse.org/request/show/1004373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=66
2022-09-17 18:30:01 +00:00
bde8917676 - update to 0.39.1:
* Switch to using async_timeout for timeouts 
  * Significantly reduces the number of asyncio tasks that are created when
  * using ServiceInfo or AsyncServiceInfo
  * Performance improvements for constructing outgoing packet data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=65
2022-09-17 07:30:02 +00:00
Antoine Belvire
5f5cc14fd3 Accepting request 984602 from home:yarunachalam:branches:devel:languages:python
- update to 0.38.7: 
  * Performance improvements for parsing incoming packet data (#1076) @bdraco

OBS-URL: https://build.opensuse.org/request/show/984602
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=62
2022-06-25 15:51:56 +00:00
Antoine Belvire
25aef74ad4 Accepting request 985060 from home:1Antoine1:branches:devel:languages:python
- Ignore flakey test (gh#jstasiak/python-zeroconf#1077).

OBS-URL: https://build.opensuse.org/request/show/985060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=61
2022-06-25 15:42:56 +00:00
f8deecf013 - update to 0.38.6:
* Performance improvements for fetching ServiceInfo
  * Fix ServiceBrowsers not getting ServiceStateChange.Removed callbacks on PTR record expire
  * Fix missing minimum version of python 3.7
  * Fix IP Address updates when hostname is uppercase

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=59
2022-06-04 12:15:15 +00:00
e3307e320c - update to 0.38.3:
* Make decode errors more helpful in finding the source of the bad data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=58
2022-02-04 22:30:09 +00:00
18c76bee2e - update to 0.38.1:
* Dropped Python 3.6 support
  * Handle Service types that end with another service type
  * Improve performance of query scheduler
  * Avoid linear type searches in ServiceBrowsers

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=57
2022-01-03 10:30:56 +00:00
aae081512b - update to 0.37.0:
* Adding a listener that does not inherit from RecordUpdateListener now logs
    an error
  * The NotRunningException exception is now thrown when Zeroconf is not
    running (#1033) @bdraco
  * Before this change the consumer would get a timeout or an EventLoopBlocked
    exception when calling ServiceInfo.*request when the instance had already been shutdown
    or had failed to startup.
  * The EventLoopBlocked exception is now thrown when a coroutine times out

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=56
2021-11-29 11:11:24 +00:00
7b1bd22923 - update to 0.36.12:
* scope_id is now stripped from IPv6 addresses if given
  * Optimized decoding labels from incoming packets
  * Prevent service lookups from deadlocking if time abruptly moves backwards

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=55
2021-11-06 18:22:51 +00:00
5147a9bdfd - update to 0.36.9:
* Ensure ServiceInfo orders newest addresses first

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=54
2021-10-26 20:31:37 +00:00
0af8a6766f - update to 0.36.8
* Fixed ServiceBrowser infinite loop when zeroconf is closed before it is canceled 
  * Improved performance of responding to queries
  * Improved log message when receiving an invalid or corrupt packet
  * Improved performance of sending outgoing packets
  * Reduced memory usage for incoming and outgoing packets
  * Improved performance of constructing outgoing packets
  * Deferred parsing of incoming packets when it can be avoided
  * Improved performance of parsing incoming packets

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=52
2021-10-16 19:51:57 +00:00
Antoine Belvire
dd4a54ac11 Accepting request 917067 from home:alarrosa:branches:devel:languages:python
- Update to 0.36.2:
  * Include NSEC records for non-existent types when responding
    with addresses
  * Implements RFC6762 sec 6.2
    (http://datatracker.ietf.org/doc/html/rfc6762#section-6.2)
- Update to 0.36.1:
  * Skip goodbye packets for addresses when there is another
    service registered with the same name (#968) @bdraco
  * If a ServiceInfo that used the same server name as another
    ServiceInfo was unregistered, goodbye packets would be sent for
    the addresses and would cause the other service to be seen as
    offline.
  * Fixed equality and hash for dns records with the unique bit
    (#969)
  * These records should have the same hash and equality since
    the unique bit (cache flush bit) is not considered when adding
    or removing the records from the cache.
- Update to 0.36.0:
  * Technically backwards incompatible:
  * Fill incomplete IPv6 tuples to avoid WinError on windows (#965)

OBS-URL: https://build.opensuse.org/request/show/917067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=51
2021-09-06 19:42:37 +00:00
d8b3800a6b Accepting request 912561 from home:fusionfuture:branches:devel:languages:python
- Update to 0.35.1:

OBS-URL: https://build.opensuse.org/request/show/912561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=50
2021-08-17 13:13:54 +00:00
6657c99fe0 Accepting request 897545 from home:alarrosa:branches:devel:languages:python
- Fix package version. Upstream didn't tag nor change the version
  number in git although it was released in pypi as 0.31.0

OBS-URL: https://build.opensuse.org/request/show/897545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=48
2021-06-04 21:13:08 +00:00
66fc34528a Accepting request 897188 from home:alarrosa:branches:devel:languages:python
Had to add a _service to check out 0.31.0 from git since it's not tagged.
The commit was obtained from looking at the changelog at
https://github.com/jstasiak/python-zeroconf/blob/master/README.rst
and the commit history.

- Add patch to disable some tests that fail in obs:
  * disable-tests.patch

- update to 0.31.0:
  * Separated cache loading from I/O in ServiceInfo and fixed cache
    lookup (#356), thanks to J. Nick Koston.
    The ServiceInfo class gained a load_from_cache() method to only
    fetch information from Zeroconf cache (if it exists) with no IO
    performed. Additionally this should reduce IO in cases where
    cache lookups were previously incorrectly failing.
- update to 0.30.0:
  * Some nice refactoring work including removal of the Reaper
    thread, thanks to J. Nick Koston.
  * Fixed a Windows-specific The requested address is not valid in
    its context regression, thanks to Timothee ‘TTimo’ Besset and
    J. Nick Koston.
  * Provided an asyncio-compatible service registration layer (in
    the zeroconf.asyncio module), thanks to J. Nick Koston.

OBS-URL: https://build.opensuse.org/request/show/897188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=46
2021-06-03 12:28:02 +00:00
cf8c11b693 - update to 0.29.0:
* A single socket is used for listening on responding when `InterfaceChoice.Default` is chosen.
  * Dropped Python 3.5 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=44
2021-04-21 21:31:47 +00:00
00e9252f10 Accepting request 861741 from home:alarrosa:branches:devel:languages:python
- update to 0.28.8:
  * Fixed the packet generation when multiple packets are
  necessary, previously invalid packets were generated sometimes.
  Patch thanks to J. Nick Koston.

OBS-URL: https://build.opensuse.org/request/show/861741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=42
2021-01-08 15:40:40 +00:00
0dfec8eb62 - update to 0.28.7:
* Fixed the IPv6 address rendering in the browser example, thanks to Alexey Vazhnov.
  * Fixed a crash happening when a service is added or removed during handle_response
  and improved exception handling, thanks to J. Nick Koston.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=40
2020-12-19 10:36:18 +00:00
c8f4ed9e2c - update to 0.28.6:
* Loosened service name validation when receiving from the network this lets us handle
  some real world devices previously causing errors
  * Enabled ignoring duplicated messages which decreases CPU usage
  * Fixed spurious AttributeError: module 'unittest' has no attribute 'mock'
  * Improved cache reaper performance significantly

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=38
2020-11-26 08:51:49 +00:00
ecd1e68293 - update to 0.28.3:
* Reduced a time an internal lock is held which should eliminate deadlocks in high-traffic networks.
  * Stopped asking questions we already have answers for in cache, thanks to Paul Daumlechner.
  * Removed initial delay before querying for service info, thanks to Erik Montnemery.
  * Fixed a resource leak connected to using ServiceBrowser with multiple types

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=36
2020-09-16 11:23:55 +00:00
Tomáš Chvátal
e01b20e8ba Accepting request 822057 from home:mcalabkova:branches:devel:languages:python
- update to 0.28.0
  * Added support for passing text addresses to ServiceInfo.
  * Improved logging (includes fixing an incorrect logging call)

OBS-URL: https://build.opensuse.org/request/show/822057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=34
2020-07-21 11:15:53 +00:00
9b7d197737 - update to 0.27.1
* Improved the logging situation
  * Large multi-resource responses are now split into separate packets which fixes a bad
    mdns-repeater/ChromeCast Audio interaction ending with ChromeCast Audio crash (and possibly
    some others) and improves RFC 6762 compliance, thanks to Greg Badros
  * Added a warning presented when the listener passed to ServiceBrowser lacks update_service()
    callback
  * Added support for finding all services available in the browser example, thanks to Perry Kunder
  * Removed previously deprecated ServiceInfo address constructor parameter and property
  * Improved readability of logged incoming data, thanks to Erik Montnemery
  * Threads are given unique names now to aid debugging, thanks to Erik Montnemery
  * Fixed a regression where get_service_info() called within a listener add_service method
    would deadlock, timeout and incorrectly return None, fix thanks to Erik Montnemery, but
    Matt Saxon and Hmmbob were also involved in debugging it.
  * Added support for multiple types to ServiceBrowser, thanks to J. Nick Koston
  * Fixed a race condition where a listener gets a message before the lock is created
  * Fixed a performance regression introduced in 0.26.0, thanks to J. Nick Koston (this is close in
    spirit to an optimization made in 0.24.5 by the same author)
  * Fixed a regression where service update listener wasn't called on IP address change (it's called
    on SRV/A/AAAA record changes now), thanks to Matt Saxon

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=32
2020-06-08 19:54:45 +00:00
Tomáš Chvátal
3c8992a0e9 Accepting request 794518 from home:pgajdos:python
- version update to 0.25.1
  * Eliminated 5s hangup when calling Zeroconf.close(), thanks to Erik Montnemery
  * Reverted uniqueness assertions when browsing, they caused a regression
  Backwards incompatible:
  * Rationalized handling of TXT records. 
- deleted patches
  - python-zeroconf-disable-some-tests.patch (not needed, replaced by -k 'not ...')

OBS-URL: https://build.opensuse.org/request/show/794518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=30
2020-04-16 09:13:20 +00:00
Tomáš Chvátal
9739f9c25d Accepting request 782904 from home:pgajdos:python
- version update to 0.24.5
  * Fixed issues with shared records being used where they shouldn't be (TXT, SRV, A records are
    unique now), thanks to Matt Saxon
  * Stopped unnecessarily excluding host-only interfaces from InterfaceChoice.all as they don't
    forbid multicast, thanks to Andreas Oberritter
  * Fixed repr() of IPv6 DNSAddress, thanks to Aldo Hoeben
  * Removed duplicate update messages sent to listeners, thanks to Matt Saxon
  * Added support for cooperating responders, thanks to Matt Saxon
  * Optimized handle_response cache check, thanks to J. Nick Koston
  * Fixed memory leak in DNSCache, thanks to J. Nick Koston
  * Fixed resetting TTL in DNSRecord.reset_ttl(), thanks to Matt Saxon
  * Improved various DNS class' string representations, thanks to Jay Hogg

OBS-URL: https://build.opensuse.org/request/show/782904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=28
2020-03-09 11:05:41 +00:00
e2390d09fd Accepting request 759821 from home:mnhauke
- Adjust dependencies and the %check section so the testsuite can
  still be executed
- Add patch:
  * python-zeroconf-disable-some-tests.patch
- Update to version 0.24.3
  * Fixed import-time "TypeError: 'ellipsis' object is not
    iterable." on CPython 3.5.2
- Update to version 0.24.2
  * Added support for AWDL interface on macOS (needed and used by
    the opendrop project but should be useful in general)
  * Added missing type hints
- Update to version 0.24.1
  * Applied some significant performance optimizations
  * Fixed flushing outdated cache entries when incoming record
    is unique
  * Fixed handling updates of TXT records (they'd not get recorded
    previously)
- Update to version 0.24.0
  * Added IPv6 support
  * Added additional recommended records to PTR responses
  * Added handling of ENOTCONN being raised during shutdown when
    using Eventlet
  * Included the py.typed marker in the package so that type
    checkers know to use type hints from the source code

OBS-URL: https://build.opensuse.org/request/show/759821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=26
2019-12-28 22:49:47 +00:00
Tomáš Chvátal
f08e9c1650 Accepting request 708033 from system:homeautomation:home-assistant
- version update to 0.23.0
  * support for python 3.4 got dropped
  * Add support for MyListener call getting updates to service TXT record
  * Add support for multiple addresses when publishing a service

OBS-URL: https://build.opensuse.org/request/show/708033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=24
2019-06-06 10:16:14 +00:00
Tomáš Chvátal
3aebc15cd6 Accepting request 701007 from home:pgajdos
- version update to 0.22.0
  * A lot of maintenance work (tooling, typing coverage and improvements,
    spelling)
  * Provided saner defaults in ServiceInfo's constructor, thanks to
    Jorge Miranda
  * Fixed service removal packets not being sent on shutdown, thanks to
    Andrew Bonney
  * Added a way to define TTL-s through ServiceInfo contructor parameters,
    thanks to Andrew Bonney
  * Adjusted query intervals to match RFC 6762, thanks to Andrew Bonney
  * Made default TTL-s match RFC 6762, thanks to Andrew Bonney

OBS-URL: https://build.opensuse.org/request/show/701007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=22
2019-05-06 09:47:14 +00:00
Tomáš Chvátal
40ca319399 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=20 2019-03-15 10:34:13 +00:00
Tomáš Chvátal
c3eb83dd03 - Update to 0.21.3:
* no upstream changelog
  * dropped python2 support
- Execute tests
- Update requirements based on upstream requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=19
2019-03-11 11:59:24 +00:00
Antoine Belvire
3f2636bdf3 Accepting request 577228 from home:alarrosa:branches:devel:languages:python
- Remove patch which was breaking zeroconf dependency check with python3
  (it was making pkg_resources generate a DistributionNotFound exception
  because enum34 wasn't found). enum34 is only required by the python2
  package, which is what the enum-compat  package is all about.
  * python-zeroconf-0.19.1-enum34-instead-of-enum-compat.patch 
- Require python-enum-compat to require python-enum34 on python2 and
  nothing on python3, just as the egg's requires.txt file does.

OBS-URL: https://build.opensuse.org/request/show/577228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=17
2018-02-16 11:55:24 +00:00
Antoine Belvire
53880ddb9c - Rebase patch:
* Remove
    python-zeroconf-0.17.4-enum34-instead-of-enum-compat.patch.
  * Add python-zeroconf-0.19.1-enum34-instead-of-enum-compat.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=15
2017-07-16 20:48:48 +00:00
Antoine Belvire
ce5240661f - Update to version 0.19.1:
* Remove outdated example
  * On Windows, python-netifaces 0.10.5 triggers a bug - This has
    no impact for us, therefore there is no need for us to add a
    version requirement on this dependency as upstream did.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=14
2017-07-16 20:40:06 +00:00
Antoine Belvire
996015b05b - Remove .changes file from source (not needed).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=12
2017-03-18 12:54:51 +00:00
Antoine Belvire
6e415dadd5 Accepting request 480969 from home:StefanBruens:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/480969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=11
2017-03-18 09:27:59 +00:00
Antoine Belvire
818b8245ed - Update to 0.18.0:
* Dropped Python 2.6 support
  * Improved error handling inside code executed when Zeroconf
    object is being closed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=8
2017-02-18 10:57:04 +00:00
Antoine Belvire
a8b19184a8 Accepting request 447975 from home:jengelh:branches:devel:languages:python
- Improve write style of description

OBS-URL: https://build.opensuse.org/request/show/447975
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=5
2016-12-28 17:56:30 +00:00
9e6f83fce9 - Use pypi.io as Source
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=4
2016-12-28 08:51:05 +00:00
Antoine Belvire
39c5fd57a7 - Update to 0.17.6:
* Many improvements to address race conditions and exceptions
    during ZC() startup and shutdown, thanks to: morpav, veawor,
    justingiorgi, herczy, stephenrauch
  * Added more test coverage: strahlex, stephenrauch
  * Stephen Rauch contributed:
    + Speed up browser startup
    + Add ZeroconfServiceTypes() query class to discover all
      advertised service types
    + Add full validation for service names, types and subtypes
    + Fix for subtype browsing
    + Fix DNSHInfo support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=3
2016-07-17 22:43:24 +00:00
Antoine Belvire
a8db0bcae1 - Fix build on SLE 11: avoid BuildArch noarch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=2
2016-03-16 19:50:24 +00:00
Todd R
41dbff4282 Accepting request 373941 from home:1Antoine1
OBS-URL: https://build.opensuse.org/request/show/373941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeroconf?expand=0&rev=1
2016-03-16 19:09:57 +00:00