mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +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")
|
||||
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
4
poetry.lock
generated
@ -1298,5 +1298,5 @@ files = [
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.11"
|
||||
content-hash = "8e6c46b679a81d033850227859c9754ca5e58b3b10d1e13383bf0576bb34da5c"
|
||||
python-versions = "^3.12"
|
||||
content-hash = "9481a9ebbb507cb1adaf9a980e4b701afaf26fb8c323c914d8349f741ab4e805"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user