Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Bumped versions for release
Browse files Browse the repository at this point in the history
  • Loading branch information
al45tair committed May 31, 2021
1 parent a62a608 commit ec55b59
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 7 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
2021-05-31 Version 0.11.0

* Added notice about needing a new maintainer.
* Fixed link to Travis CI.
* Added test.py to the source distribution.
* Fixed netmask calculation for IPv6.
* Fixes to gateway detection in some edge cases.
* Build CPython 2.7 wheels for 64-bit Windows (yes, you should be
using Python 3 now, but still).

Thank-you to Thomas Sibley, Rajendra Dendukuri, Harshal Patel,
Jeff Gordon, Sajith Sasidharan and Yuri Sevatz for contributing
to this release.

2019-01-02 Version 0.10.9

* Added missing LICENSE file to MANIFEST.in.

2019-01-02 Version 0.10.8

* Fixed a bug that in certain circumstances could lead to an infinite
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ netifaces 0.10.8
:target: https://ci.appveyor.com/project/al45tair/netifaces/branch/master
:alt: Build Status (Windows)

.. warning::

netifaces needs a new maintainer. al45tair is no longer able to maintain it
or make new releases due to work commitments.

1. What is this?
----------------

Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def output(*args, **kwargs):

output = getattr(builtins, 'print', lambda x: True)

__version__ = "0.10.9"
__version__ = "0.11.0"

# Disable hard links, otherwise building distributions fails on OS X
try:
Expand Down Expand Up @@ -97,7 +97,7 @@ def test_build(self, contents, link=True, execute=False, libraries=None,
result = True
if status != 0:
result = False

finally:
os.dup2(mystdout, 1)
os.dup2(mystderr, 2)
Expand All @@ -123,7 +123,7 @@ def check_requirements(self):
results = {}

self.conftestidx = 0

output("checking for getifaddrs...", end='')

result = results.get('have_getifaddrs', None)
Expand Down Expand Up @@ -187,7 +187,7 @@ def check_requirements(self):
sin.sin_family = AF_INET;
sin.sin_port = 0;
sin.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
ret = getnameinfo ((struct sockaddr *)&sin, sizeof (sin),
buffer, sizeof (buffer),
NULL, 0,
Expand Down Expand Up @@ -409,7 +409,7 @@ def check_requirements(self):
# lengths, because they're in the sa_len field on just about
# everything but Linux.
output("checking which sockaddr_xxx structs are defined...", end='')

result = results.get('have_sockaddrs', None)
if result is not None:
cached = '(cached)'
Expand All @@ -434,7 +434,7 @@ def check_requirements(self):
#include <net/if.h>
#include <netinet/in.h>
%(includes)s
int main (void) {
struct sockaddr_%(sockaddr)s sa;
return 0;
Expand All @@ -446,7 +446,7 @@ def check_requirements(self):

if self.test_build(testrig):
result.append(sockaddr)

if result:
output('%s. %s' % (' '.join(result), cached))
for sockaddr in result:
Expand Down

0 comments on commit ec55b59

Please sign in to comment.