From 35fce85fcf758a472c1f4ed7d9b0217b4ecb69bd Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Fri, 13 Sep 2024 18:40:34 +0000 Subject: [PATCH] use python 3.12 --- fix_nodriver.py | 2 +- poetry.lock | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fix_nodriver.py b/fix_nodriver.py index 1e7c0bb..d843b31 100644 --- a/fix_nodriver.py +++ b/fix_nodriver.py @@ -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) diff --git a/poetry.lock b/poetry.lock index 7e311f7..c9003d8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1298,5 +1298,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "^3.11" -content-hash = "8e6c46b679a81d033850227859c9754ca5e58b3b10d1e13383bf0576bb34da5c" +python-versions = "^3.12" +content-hash = "9481a9ebbb507cb1adaf9a980e4b701afaf26fb8c323c914d8349f741ab4e805" diff --git a/pyproject.toml b/pyproject.toml index 4bc5750..019b0ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ authors = ["Your Name "] readme = "README.md" [tool.poetry.dependencies] -python = "^3.11" +python = "^3.12" pytest = "^8.3.1" fastapi = "^0.111.1" nodriver = "^0.34"