From c03aec2e88c3d3cce5b4ef784bc562f41945bfca Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Fri, 14 Jan 2022 13:24:18 -0700 Subject: [PATCH] Release v1.0.0 --- CHANGES.txt | 4 ++-- README.rst | 11 +++++++++++ netfilterqueue/_version.py | 4 ++-- setup.py | 4 ++-- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 89fc98a..37c092f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,4 @@ -v1.0.0, unreleased +v1.0.0, 14 Jan 2022 Propagate exceptions raised by the user's packet callback Avoid calls to the packet callback during queue unbinding Raise an error if a packet verdict is set after its parent queue is closed @@ -9,7 +9,7 @@ v1.0.0, unreleased Add type hints Remove the Packet.payload attribute; it was never safe (treated as a char* but not NUL-terminated) nor documented, but was exposed in the API (perhaps inadvertently). -v0.9.0, 12 Jan 2021 +v0.9.0, 12 Jan 2022 Improve usability when Packet objects are retained past the callback Add Packet.retain() to save the packet contents in such cases Eliminate warnings during build on py3 diff --git a/README.rst b/README.rst index a5b60da..275e173 100644 --- a/README.rst +++ b/README.rst @@ -1,3 +1,11 @@ +.. image:: https://img.shields.io/pypi/v/netfilterqueue.svg + :target: https://pypi.org/project/netfilterqueue + :alt: Latest PyPI version + +.. image:: https://github.com/oremanj/python-netfilterqueue/actions/workflows/ci.yml/badge.svg?branch=master + :target: https://github.com/oremanj/python-netfilterqueue/actions?query=branch%3Amaster + :alt: Automated test status + ============== NetfilterQueue ============== @@ -9,6 +17,9 @@ or given a mark. libnetfilter_queue (the netfilter library, not this module) is part of the `Netfilter project `_. +The current version of NetfilterQueue requires Python 3.6 or later. +The last version with support for Python 2.7 was 0.9.0. + Example ======= diff --git a/netfilterqueue/_version.py b/netfilterqueue/_version.py index 5a5b5fe..478d388 100644 --- a/netfilterqueue/_version.py +++ b/netfilterqueue/_version.py @@ -1,4 +1,4 @@ # This file is imported from __init__.py and exec'd from setup.py -__version__ = "0.9.0+dev" -VERSION = (0, 9, 0) +__version__ = "1.0.0" +VERSION = (1, 0, 0) diff --git a/setup.py b/setup.py index 8d95a9a..053b802 100644 --- a/setup.py +++ b/setup.py @@ -44,8 +44,8 @@ setup( name="NetfilterQueue", version=__version__, license="MIT", - author="Matthew Fox", - author_email="matt@tansen.ca", + author="Matthew Fox , Joshua Oreman ", + author_email="oremanj@gmail.com", url="https://github.com/oremanj/python-netfilterqueue", description="Python bindings for libnetfilter_queue", long_description=open("README.rst", encoding="utf-8").read(),