Commit graph

8 commits

Author SHA1 Message Date
adam
0fcaae443d py-netaddr: updated to 0.8.0
Release: 0.8.0

* Fixed weak reference support in classes with ``__slots__``
* Added ``__bytes__`` to ``IPAddress`` for intuitive usage
* Added ``format()`` function to EUI
* Added ``IPNetwork.netmask`` property setter
* Added support for IABs in the ``40:D8:55`` OUI
* Drastically optimized ``spanning_cidr()``
* Fixed ``"x.x.x.x/x" in IPNetwork`` tests
* Added support for passing iterables of ``IPRange`` to ``IPSet`` and ``cidr_merge()``

Specific bug fixes addressed in this release
- N log N complexity instead of linear
- Efficiently creating a large IPSet from a list of IPRanges?
- Weak reference support
2020-07-07 05:33:30 +00:00
adam
48937d2f96 py-netaddr: updated to 0.7.20
Changes since 0.7.19

* Fixed returning from an iterator on Python 3.7+, by Sergey Kozlov.
* Fixed Python 3.8 SyntaxWarning on using `is not` with a string literal, by Stefan Nordhausen.
* Fixed DeprecationWarnings by using raw strings for escape characters used in regexes, by Sean McGinnis.
* Improved IPGlob documentation, by obkmeta.
* Fixed exception creation in corner cases by explicitly passin error message params as tuples, by
  Matthias Urlichs.
* Stopped manually replacing shebang of an included script.
* Stopped using __file__ in all code that's expected to run in environments that don't support it
  (like PyOxidizer-produced binaries).
* Updated all databases included in the package.

Specific bug fixes addressed in this release

FIXED Issue 182: https://github.com/netaddr/netaddr/issues/182
    - test_ip_splitter_remove_prefix_larger_than_input_range fails with python 3.7

FIXED Issue 206: https://github.com/netaddr/netaddr/issues/206
    - ""is not" with a literal." SyntaxWarning

FIXED Issue 198: https://github.com/netaddr/netaddr/issues/198
    - oui databases are outdated

FIXED Issue 188: https://github.com/netaddr/netaddr/issues/188
    - Avoid use of __file__

Miscellanea

- Python 2 versions older than 2.7 and Python 3 versions older than 3.5 should be considered
  unsupported. No incompatible code has been introduced to the best of our knowledge but
  there's no CI infrastructure in place to verify this and if there are any issues with
  those versions they won't be fixed.
- Consequently, Python 2.7 and 3.5 support should be considered deprecated as 2.7 has
  reached its end-of-life already and 3.5 will hit it soon.
- A CI setup has been introduced which allows us to test on a variety of Python versions
  on all Mac, Linux and Windows.
2020-06-20 07:27:44 +00:00
adam
34f2168843 py-netaddr: update HOMEPAGE 2020-05-23 07:55:15 +00:00
adam
d634cec495 py-netaddr: update to 0.7.19
Release: 0.7.19:

* added a new SubnetSplitter class for those looking to divide up subnets.
  Thanks alanwill and RyPeck and those on (Stack Overflow discussion).

* removed bundled pytest dependency code for "python setup.py test".

* setup.py now uses setuptools only (no more distutils) and setup_egg.py removed.

* cleaned up INSTALL docs so they accurately reflect current Python packaging.

* fixed broken parsing, generating and reading of IEEE index files when switching
  between Python 2.x and 3.x.
2017-09-28 12:25:11 +00:00
wiz
ff22ec594f Follow some redirects. 2017-09-04 18:08:18 +00:00
adam
73276b5562 Changes 0.7.18:
* cidr_merge() algorithm is now O(n) and much faster.
* nmap target specification now fully supported including IPv4 CIDR
  prefixes and IPv6 addresses.
2016-03-06 15:07:07 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
he
bd6e956758 py-netaddr is a Python library for representing and manipulating
network addresses.

It support the ability to work and interact with the following:
 - IPv4 and IPv6 addresses and subnets
 - MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers
 - arbitrary (non-aligned) IP address ranges and IP address sets
 - various non-CIDR IP range formats such as nmap and glob-style formats
2014-09-02 13:48:13 +00:00