diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5a0598ac..814caf65 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -73,7 +73,7 @@ jobs:
         uses: actions/cache@v3
         with:
           path: .venv
-          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
+          key: venv-${{ runner.os }}-${{ hashFiles('**/pyproject.toml') }}
       - name: Make sync version of library (redis_om)
         run: make sync
         #----------------------------------------------
@@ -145,7 +145,7 @@ jobs:
         uses: actions/cache@v3
         with:
           path: .venv
-          key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
+          key: venv-${{ runner.os }}-${{ matrix.pyver }}-${{ hashFiles('**/pyproject.toml') }}
         #----------------------------------------------
         # Make sync version of library (redis_om)
         #----------------------------------------------
diff --git a/pyproject.toml b/pyproject.toml
index 9a33b1fd..15cef3cc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -47,7 +47,7 @@ hiredis = "^2.0.0"
 more-itertools = ">=8.14,<10.0"
 
 [tool.poetry.dev-dependencies]
-mypy = "^0.982"
+mypy = {version = "^0.982", markers = "platform_python_implementation == 'CPython'"}
 pytest = "^7.1.3"
 ipdb = "^0.13.9"
 black = "^23.1"