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

3
netaddr-0.10.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4da4222ca8c3f43c8e18a8263e5426c750a3a837fdfeccf74c68d0408eaa3bf
size 2225283

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b46fa9b1a2d71fd5de9e4a3784ef339700a53a08c8040f08baf5f1194da0128
size 2196428

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Sun Jan 7 20:54:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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).
-------------------------------------------------------------------
Mon Sep 25 09:15:49 UTC 2023 - Martin Hauke <mardnh@gmx.de>

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}