Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Update typing package versions.

Andrey Rakhmatullin4cb2fc2c3b9d
diff --git a/scrapy/utils/ssl.py b/scrapy/utils/ssl.py
index d520ef809..e74769c65 100644
--- a/scrapy/utils/ssl.py
+++ b/scrapy/utils/ssl.py
@@ -1,6 +1,6 @@
from typing import Any, Optional
-import OpenSSL._util as pyOpenSSLutil
+import OpenSSL._util as pyOpenSSLutil # type: ignore[import-untyped]
import OpenSSL.SSL
import OpenSSL.version
from OpenSSL.crypto import X509Name
diff --git a/tox.ini b/tox.ini
index 381da9773..932c0b805 100644
--- a/tox.ini
+++ b/tox.ini
@@ -33,13 +33,13 @@ install_command =
[testenv:typing]
basepython = python3
deps =
- mypy==1.5.1
- typing-extensions==4.7.1
+ mypy==1.6.1
+ typing-extensions==4.8.0
types-attrs==19.1.0
- types-lxml==2023.3.28
- types-Pillow==10.0.0.3
+ types-lxml==2023.10.21
+ types-Pillow==10.1.0.0
types-Pygments==2.16.0.0
- types-pyOpenSSL==23.2.0.2
+ types-pyOpenSSL==23.3.0.0
types-setuptools==68.2.0.0
# 2.1.2 fixes a typing bug: https://github.com/scrapy/w3lib/pull/211
w3lib >= 2.1.2