1
0
Fork 0

Merge pull request #3303 from MaggieFero/main

Upgrade Python Version and Several Other Packages for Security
This commit is contained in:
Mouse Reeve 2024-03-13 15:28:54 -07:00 committed by GitHub
commit a3465e6154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 39 additions and 34 deletions

View file

@ -20,6 +20,7 @@ from bookwyrm.tasks import app, MISC
logger = logging.getLogger(__name__)
# pylint: disable=invalid-name
TBookWyrmModel = TypeVar("TBookWyrmModel", bound=base_model.BookWyrmModel)

View file

@ -3,7 +3,9 @@ from __future__ import annotations
from abc import ABC, abstractmethod
from typing import Optional, TypedDict, Any, Callable, Union, Iterator
from urllib.parse import quote_plus
import imghdr
# pylint: disable-next=deprecated-module
import imghdr # Deprecated in 3.11 for removal in 3.13; no good alternative yet
import logging
import re
import asyncio