use python 3.12

This commit is contained in:
Thephaseless 2024-09-13 18:40:34 +00:00
parent 4dbb63842b
commit 35fce85fcf
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ from pathlib import Path
env_path = os.getenv("VIRTUAL_ENV")
if env_path is None:
env_path = Path(os.__file__).parent.parent.parent.as_posix()
nodriver_path = Path(env_path + "/lib/python3.11/site-packages/nodriver/cdp/network.py")
nodriver_path = Path(env_path + "/lib/python3.12/site-packages/nodriver/cdp/network.py")
if not nodriver_path.exists():
msg = f"{nodriver_path} not found"
raise FileNotFoundError(msg)

4
poetry.lock generated
View File

@ -1298,5 +1298,5 @@ files = [
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "8e6c46b679a81d033850227859c9754ca5e58b3b10d1e13383bf0576bb34da5c"
python-versions = "^3.12"
content-hash = "9481a9ebbb507cb1adaf9a980e4b701afaf26fb8c323c914d8349f741ab4e805"

View File

@ -7,7 +7,7 @@ authors = ["Your Name <you@example.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
python = "^3.12"
pytest = "^8.3.1"
fastapi = "^0.111.1"
nodriver = "^0.34"