Skip to content

Commit

Permalink
Use python 3.12 for mypy in ci
Browse files Browse the repository at this point in the history
On python 3.13 we are getting a strange type error that does also not
happen in the nix check:

khard/khard.py:658: error: Argument "policy" to "message_from_string" has incompatible type "EmailPolicy[EmailMessage]"; expected "Policy[Message[str, str]]"  [arg-type]
  • Loading branch information
lucc committed Jan 3, 2025
1 parent fc8791d commit bb0df06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit bb0df06

Please sign in to comment.