Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
László Vaskó committed Sep 20, 2019
2 parents b35f146 + 475208a commit 234796e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion openconnect_sso/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.3.2"
__version__ = "0.3.3"
__description__ = "Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs"
4 changes: 2 additions & 2 deletions openconnect_sso/browser/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ async def spawn(self):
stdout=asyncio.subprocess.PIPE
)

self.updater = asyncio.create_task(self._update_status())
self.updater = asyncio.ensure_future(self._update_status())
self.running = True

def stop(_task):
self.running = False

asyncio.create_task(self.browser_proc.wait()).add_done_callback(stop)
asyncio.ensure_future(self.browser_proc.wait()).add_done_callback(stop)

async def _update_status(self):
assert self.running
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openconnect-sso"
version = "0.3.2"
version = "0.3.3"
description = "Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs"
authors = ["László Vaskó <[email protected]>"]
readme = "README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
fixes:
- |
Relaxed version requirements of `attrs` package. As `attrs` is also used
as a transitive dependency being too restrictive of its version can break
dependency resolution during installation.
Relaxed version requirements of ``attrs`` package. As ``attrs`` is also
used as a transitive dependency being too restrictive of its version can
break dependency resolution during installation.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
fixes:
- |
Python 3.6 compatibilty has been fixedhowever The problem was caused by the
usage of ``asyncio.create_task(coro)``. Its usage was replaced with
``asyncio.ensure_future(core)``.

0 comments on commit 234796e

Please sign in to comment.