Skip to content

Commit

Permalink
Updated venv with -3. Explicitly defined cryptography package in toml…
Browse files Browse the repository at this point in the history
… since it is directly imported in project files.
  • Loading branch information
bmooreatliberty committed Oct 1, 2021
1 parent e0dcd1d commit 1dd3de4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/cache@v2
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-2
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-3
- name: Install dependencies
run: poetry install
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
Expand Down
2 changes: 1 addition & 1 deletion fastapi_azure_auth/openid_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from typing import Any, Optional

from aiohttp import ClientSession
from cryptography.hazmat.primitives.asymmetric.types import PUBLIC_KEY_TYPES as KeyTypes
from cryptography.hazmat.backends.openssl.backend import backend
from cryptography.hazmat.primitives.asymmetric.types import PUBLIC_KEY_TYPES as KeyTypes
from cryptography.x509 import load_der_x509_certificate
from fastapi import HTTPException, status

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ classifiers = [
python = "^3.9"
fastapi = "^0.68.0"
aiohttp = "^3"
python-jose = {extras = ["cryptography"], version = "^35.0.0"}
cryptography = "^35.0.0"
python-jose = "^3.3.0"


[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 1dd3de4

Please sign in to comment.