mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 17:50:21 +08:00
use python 3.12
This commit is contained in:
parent
4dbb63842b
commit
35fce85fcf
@ -9,7 +9,7 @@ from pathlib import Path
|
|||||||
env_path = os.getenv("VIRTUAL_ENV")
|
env_path = os.getenv("VIRTUAL_ENV")
|
||||||
if env_path is None:
|
if env_path is None:
|
||||||
env_path = Path(os.__file__).parent.parent.parent.as_posix()
|
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():
|
if not nodriver_path.exists():
|
||||||
msg = f"{nodriver_path} not found"
|
msg = f"{nodriver_path} not found"
|
||||||
raise FileNotFoundError(msg)
|
raise FileNotFoundError(msg)
|
||||||
|
4
poetry.lock
generated
4
poetry.lock
generated
@ -1298,5 +1298,5 @@ files = [
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.11"
|
python-versions = "^3.12"
|
||||||
content-hash = "8e6c46b679a81d033850227859c9754ca5e58b3b10d1e13383bf0576bb34da5c"
|
content-hash = "9481a9ebbb507cb1adaf9a980e4b701afaf26fb8c323c914d8349f741ab4e805"
|
||||||
|
@ -7,7 +7,7 @@ authors = ["Your Name <you@example.com>"]
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.11"
|
python = "^3.12"
|
||||||
pytest = "^8.3.1"
|
pytest = "^8.3.1"
|
||||||
fastapi = "^0.111.1"
|
fastapi = "^0.111.1"
|
||||||
nodriver = "^0.34"
|
nodriver = "^0.34"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user