14
0

- update to 0.10.1:

* Get rid of some warnings
  * Add an :data:`INET_ATON` flag to explicitly request
    ``inet_aton()`` IPv4 parsing semantics from :class:`IPAddress`.
  * Add an :meth:`IPAddress.is_ipv4_private_use` convenience
    method.
  * Add an :meth:`IPAddress.is_global` convenience method to
    allow determining if an address is considered globally reachable.
  * Add an :meth:`IPAddress.is_ipv6_unique_local` convenience
    method.
  * Improve Python 3.13 compatibility, thank you John Eckersberg.
  * Deprecate Python 3.7 support.
  * Deprecate abbreviated CIDR format support in
    :class:`IPNetwork`
  * Deprecate accepting leading zeros when parsing IPv4 addresses
    in :data:`INET_PTON` mode (it's been allowed on some platforms).
    If you need to allow and discard leading zeros use the
    :data:`ZEROFILL` flag.
  * Raise an exception if invalid flags are passed to
    ``IPAddress``, ``IPNetwork`` or ``IPRange``.
  * Improve the documentation substantially.
  * Update the DB files to the latest versions (2023-12-23).
    - IP recognition failure

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=32
This commit is contained in:
2024-01-07 20:55:44 +00:00
committed by Git OBS Bridge
parent 5fdee45996
commit 8130dfed35
4 changed files with 33 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-netaddr
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-netaddr
Version: 0.9.0
Version: 0.10.1
Release: 0
Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/drkjam/netaddr
Source: https://files.pythonhosted.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}