Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on: push
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3.9']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
Copy link
Contributor

@amotl amotl Dec 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to support Python 3.5 and 3.6 with actions/setup-python@v4, you will need to downgrade to ubuntu-20.04.

Otherwise, maybe downgrade to actions/setup-python@v3, but this lacks integrated package caching, which is an excellent feature of the new actions/setup-python@v4.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was v2 when it first failed.

with:
python-version: ${{ matrix.python-version }}
- name: Install Redis
Expand Down
2 changes: 1 addition & 1 deletion mocket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

__all__ = ("async_mocketize", "mocketize", "Mocket", "MocketEntry", "Mocketizer")

__version__ = "3.10.8"
__version__ = "3.10.9"
1 change: 1 addition & 0 deletions mocket/mocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ def do_nothing(*args, **kwargs):


class Mocket:
_address = (None, None)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

_entries = collections.defaultdict(list)
_requests = []
_namespace = text_type(id(_entries))
Expand Down