From: 
Subject: Debian changes

The Debian packaging of python-aiokef is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/python-aiokef
    % cd python-aiokef
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone python-aiokef`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/aiokef/aiokef.py b/aiokef/aiokef.py
index b7bca94..56dfac5 100644
--- a/aiokef/aiokef.py
+++ b/aiokef/aiokef.py
@@ -241,7 +241,7 @@ class _AsyncCommunicator:
         self._writer: Optional[asyncio.StreamWriter] = None
         self._last_time_stamp = 0.0
         self._is_online = False
-        self._loop = loop or asyncio.get_event_loop()
+        self._loop = loop
         self._disconnect_task = None
         self._lock = asyncio.Lock()
 
diff --git a/setup.py b/setup.py
index 0672622..208359b 100644
--- a/setup.py
+++ b/setup.py
@@ -25,6 +25,7 @@ def get_version_and_cmdclass(package_name):
     spec = spec_from_file_location("version", os.path.join(package_name, "_version.py"))
     module = module_from_spec(spec)
     spec.loader.exec_module(module)
+    module.__version__ = os.environ.get("AIOKEF_BUILD_VERSION", module.__version__)
     return module.__version__, module.cmdclass
 
 
