Skip to content

Commit ac7583b

Browse files
committed
Drop support for Python 3.8
1 parent 40e4277 commit ac7583b

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7337,21 +7337,6 @@ def get_pdf_text(
73377337
with pip_find_lock:
73387338
with suppress(Exception):
73397339
shared_utils.make_writable(constants.PipInstall.FINDLOCK)
7340-
if sys.version_info < (3, 9):
7341-
# Fix bug in newer cryptography for Python 3.7 and 3.8:
7342-
# "pyo3_runtime.PanicException: Python API call failed"
7343-
try:
7344-
import cryptography
7345-
if cryptography.__version__ != "39.0.2":
7346-
del cryptography # To get newer ver
7347-
shared_utils.pip_install(
7348-
"cryptography", version="39.0.2"
7349-
)
7350-
import cryptography
7351-
except Exception:
7352-
shared_utils.pip_install(
7353-
"cryptography", version="39.0.2"
7354-
)
73557340
try:
73567341
from pdfminer.high_level import extract_text
73577342
except Exception:

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Setup steps for installing SeleniumBase dependencies and plugins.
2-
(Uses selenium 4.x and is compatible with Python 3.8+)"""
2+
(Uses selenium 4.x and is compatible with Python 3.9+)"""
33
from setuptools import setup, find_packages # noqa: F401
44
import os
55
import sys
@@ -121,7 +121,6 @@
121121
"Operating System :: POSIX :: Linux",
122122
"Programming Language :: Python",
123123
"Programming Language :: Python :: 3",
124-
"Programming Language :: Python :: 3.8",
125124
"Programming Language :: Python :: 3.9",
126125
"Programming Language :: Python :: 3.10",
127126
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)