chore: use our copy of protected_inplacevar
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
bd60a0a156
commit
835fcbd849
2 changed files with 1 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ from typing import TYPE_CHECKING, Any
|
|||
|
||||
import orjson
|
||||
import RestrictedPython.Guards
|
||||
from AccessControl.ZopeGuards import protected_inplacevar
|
||||
from RestrictedPython import PrintCollector, compile_restricted, safe_globals
|
||||
from RestrictedPython.transformer import RestrictingNodeTransformer
|
||||
|
||||
|
|
@ -33,6 +32,7 @@ from frappe.model.rename_doc import rename_doc
|
|||
from frappe.modules import scrub
|
||||
from frappe.utils.background_jobs import enqueue, get_jobs
|
||||
from frappe.utils.caching import site_cache
|
||||
from frappe.utils.inplacevar import protected_inplacevar
|
||||
from frappe.utils.number_format import NumberFormat
|
||||
from frappe.utils.response import json_handler
|
||||
from frappe.website.utils import get_next_link, get_toc
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ dependencies = [
|
|||
"PyQRCode~=1.2.1",
|
||||
"PyYAML~=6.0.2",
|
||||
"RestrictedPython~=8.0",
|
||||
"AccessControl~=7.2",
|
||||
"WeasyPrint==66.0",
|
||||
"pydyf==0.11.0",
|
||||
"Werkzeug==3.1.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue