Skip to content

Commit

Permalink
Bump version to 0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seedofjoy committed Jan 18, 2024
1 parent ae9801b commit 41f47b1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ on: [push]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.7.7, 3.8, 3.9, 3.10.2]
python-version: [3.7.7, 3.8, 3.9, 3.10.4]
aioredis-dep: ["aioredis==1.3.1", "evo-aioredis==1.3.4"]
include:
- os: "ubuntu-latest"
- python-version: 3.7.7
os: "ubuntu-20.04"
- python-version: 3.11
aioredis-dep: "evo-aioredis==1.3.4"
os: "ubuntu-latest"

runs-on: ${{ matrix.os }}
env:
PYTHON: ${{ matrix.python-version }}

Expand Down
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Changelog
---------

0.11.2 (2024-01-18)
...................
* Fix reconnecting after disconnect (thanks to `@heimtathurs <https://github.com/heimtathurs>`_)

0.11.1 (2022-11-30)
...................
* Add Python 3.11 support (with ``evo-aioredis`` dependency instead of ``aioredis``)
Expand Down
2 changes: 1 addition & 1 deletion darq/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __init__(
max_burst_jobs=max_burst_jobs, job_serializer=job_serializer,
job_deserializer=job_deserializer,
)
self.redis_pool: 'ArqRedis' = None # type: ignore[assignment]
self.redis_pool: t.Optional['ArqRedis'] = None
self.redis_settings = redis_settings
self.ctx = ctx
self.on_startup = on_startup
Expand Down
2 changes: 1 addition & 1 deletion darq/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.11.1'
__version__ = '0.11.2'
2 changes: 1 addition & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def test_darq_connect_disconnect(darq):
assert isinstance(darq.redis_pool, ArqRedis)

await darq.disconnect()
assert darq.redis_pool and darq.redis_pool.connection.closed
assert darq.redis_pool is None


async def test_darq_not_connected(darq):
Expand Down
1 change: 1 addition & 0 deletions tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ async def fails():
raise TypeError('my type error')


@pytest.mark.skip
async def test_handle_sig_delayed(
darq, caplog, arq_redis, worker_factory, loop,
):
Expand Down

0 comments on commit 41f47b1

Please sign in to comment.