build(deps): update python dependencies (#22294)
* build!: Remove pycryptodome dependencies This is added for payments app, shouldn't be added here. ref: https://github.com/frappe/frappe/pull/9955/ * build(deps): update many python dependencies
This commit is contained in:
parent
c22f128475
commit
cbc5f0b8db
2 changed files with 11 additions and 13 deletions
|
|
@ -10,8 +10,6 @@ from rq.job import Job
|
|||
import frappe
|
||||
from frappe.core.doctype.rq_job.rq_job import RQJob, remove_failed_jobs, stop_job
|
||||
from frappe.installer import update_site_config
|
||||
from frappe.query_builder.utils import db_type_is
|
||||
from frappe.tests.test_query_builder import run_only_if
|
||||
from frappe.tests.utils import FrappeTestCase, timeout
|
||||
from frappe.utils import cstr, execute_in_shell
|
||||
from frappe.utils.background_jobs import get_job_status, is_job_enqueued
|
||||
|
|
@ -152,8 +150,9 @@ class TestRQJob(FrappeTestCase):
|
|||
self.assertIsNone(get_job_status(job_id))
|
||||
|
||||
@timeout(20)
|
||||
@run_only_if(db_type_is.MARIADB)
|
||||
def test_memory_usage(self):
|
||||
if frappe.db.db_type != "mariadb":
|
||||
return
|
||||
job = frappe.enqueue("frappe.utils.data._get_rss_memory_usage")
|
||||
self.check_status(job, "finished")
|
||||
|
||||
|
|
|
|||
|
|
@ -10,15 +10,15 @@ dynamic = ["version"]
|
|||
dependencies = [
|
||||
# core dependencies
|
||||
"Babel~=2.12.1",
|
||||
"Click~=8.1.3",
|
||||
"Click~=8.1.7",
|
||||
"filelock~=3.8.0",
|
||||
"filetype~=1.2.0",
|
||||
"GitPython~=3.1.33",
|
||||
"Jinja2~=3.1.2",
|
||||
"Pillow~=9.5.0",
|
||||
"PyJWT~=2.7.0",
|
||||
"PyMySQL==1.0.3",
|
||||
"pypdf~=3.9.1",
|
||||
"Pillow~=10.0.0",
|
||||
"PyJWT~=2.8.0",
|
||||
"PyMySQL==1.1.0",
|
||||
"pypdf~=3.15.4",
|
||||
"PyPika~=0.48.9",
|
||||
"PyQRCode~=1.2.1",
|
||||
"PyYAML~=6.0.1",
|
||||
|
|
@ -31,13 +31,13 @@ dependencies = [
|
|||
"bleach[css]~=6.0.0",
|
||||
"cairocffi==1.5.1",
|
||||
"chardet~=5.1.0",
|
||||
"croniter~=1.3.15",
|
||||
"cryptography~=41.0.1",
|
||||
"croniter~=1.4.1",
|
||||
"cryptography~=41.0.3",
|
||||
"email-reply-parser~=0.5.12",
|
||||
"git-url-parse~=1.2.2",
|
||||
"gunicorn~=21.2.0",
|
||||
"html5lib~=1.1",
|
||||
"ipython~=8.10.0",
|
||||
"ipython~=8.15.0",
|
||||
"ldap3~=2.9",
|
||||
"markdown2~=2.4.8",
|
||||
"MarkupSafe>=2.1.0,<3",
|
||||
|
|
@ -52,8 +52,7 @@ dependencies = [
|
|||
"psutil~=5.9.5",
|
||||
"psycopg2-binary~=2.9.1",
|
||||
"pyOpenSSL~=23.2.0",
|
||||
"pycryptodome~=3.18.0",
|
||||
"pydantic==2.0",
|
||||
"pydantic==2.3.0",
|
||||
"pyotp~=2.8.0",
|
||||
"python-dateutil~=2.8.2",
|
||||
"pytz==2023.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue