diff --git a/pdm.lock b/pdm.lock index c1a69bcd7d..c109f2eb75 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:73e4a32b6c53332721145ee338ac249f5d5f615496c29dbf3a7a5972169bdae1" +content_hash = "sha256:89d14abb537f3f5d7408ce8434b7e84fb9289a33345d35b8345d962fff81b564" [[metadata.targets]] requires_python = "==3.12.*" @@ -186,33 +186,32 @@ files = [ [[package]] name = "bleach" -version = "6.1.0" -requires_python = ">=3.8" +version = "6.2.0" +requires_python = ">=3.9" summary = "An easy safelist-based HTML-sanitizing tool." groups = ["default"] dependencies = [ - "six>=1.9.0", "webencodings", ] files = [ - {file = "bleach-6.1.0-py3-none-any.whl", hash = "sha256:3225f354cfc436b9789c66c4ee030194bee0568fbf9cbdad3bc8b5c26c5f12b6"}, - {file = "bleach-6.1.0.tar.gz", hash = "sha256:0a31f1837963c41d46bbf1331b8778e1308ea0791db03cc4e7357b97cf42a8fe"}, + {file = "bleach-6.2.0-py3-none-any.whl", hash = "sha256:117d9c6097a7c3d22fd578fcd8d35ff1e125df6736f554da4e432fdd63f31e5e"}, + {file = "bleach-6.2.0.tar.gz", hash = "sha256:123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f"}, ] [[package]] name = "bleach" -version = "6.1.0" +version = "6.2.0" extras = ["css"] -requires_python = ">=3.8" +requires_python = ">=3.9" summary = "An easy safelist-based HTML-sanitizing tool." groups = ["default"] dependencies = [ - "bleach==6.1.0", - "tinycss2<1.3,>=1.1.0", + "bleach==6.2.0", + "tinycss2<1.5,>=1.1.0", ] files = [ - {file = "bleach-6.1.0-py3-none-any.whl", hash = "sha256:3225f354cfc436b9789c66c4ee030194bee0568fbf9cbdad3bc8b5c26c5f12b6"}, - {file = "bleach-6.1.0.tar.gz", hash = "sha256:0a31f1837963c41d46bbf1331b8778e1308ea0791db03cc4e7357b97cf42a8fe"}, + {file = "bleach-6.2.0-py3-none-any.whl", hash = "sha256:117d9c6097a7c3d22fd578fcd8d35ff1e125df6736f554da4e432fdd63f31e5e"}, + {file = "bleach-6.2.0.tar.gz", hash = "sha256:123e894118b8a599fd80d3ec1a6d4cc7ce4e5882b1317a7e1ba69b56e95f991f"}, ] [[package]] @@ -584,20 +583,6 @@ files = [ {file = "decorator-5.1.1.tar.gz", hash = "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330"}, ] -[[package]] -name = "deepdiff" -version = "8.0.1" -requires_python = ">=3.8" -summary = "Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other." -groups = ["default"] -dependencies = [ - "orderly-set==5.2.2", -] -files = [ - {file = "deepdiff-8.0.1-py3-none-any.whl", hash = "sha256:42e99004ce603f9a53934c634a57b04ad5900e0d8ed0abb15e635767489cbc05"}, - {file = "deepdiff-8.0.1.tar.gz", hash = "sha256:245599a4586ab59bb599ca3517a9c42f3318ff600ded5e80a3432693c8ec3c4b"}, -] - [[package]] name = "defusedxml" version = "0.7.0rc1" @@ -1207,19 +1192,6 @@ files = [ {file = "django-regex-0.5.0.tar.gz", hash = "sha256:6af1add11ae5232f133a42754c9291f9113996b1294b048305d9f1a427bca27c"}, ] -[[package]] -name = "django-regex-field" -version = "3.1.0" -summary = "Django Regex Field" -groups = ["default"] -dependencies = [ - "Django>=3.2", -] -files = [ - {file = "django-regex-field-3.1.0.tar.gz", hash = "sha256:e17e7296e8d8c6fb68f30342eb6c88ec0336d811a22f7f180717f71e6c1e3fd6"}, - {file = "django_regex_field-3.1.0-py2.py3-none-any.whl", hash = "sha256:8d4f5c8dd60f187cf45e11ea01011b86fc18bc15ff31de91a7fd438e2b1037a2"}, -] - [[package]] name = "django-rest-extensions" version = "0.2.0" @@ -2021,34 +1993,6 @@ files = [ {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"}, ] -[[package]] -name = "hope-flex-fields" -version = "0.5.0" -requires_python = ">=3.11" -summary = "" -groups = ["default"] -dependencies = [ - "deepdiff>=8.0.1", - "django-admin-extra-buttons>=1.6.0", - "django-adminactions>=2.3.0", - "django-jsoneditor>=0.2.4", - "django-regex-field>=3.1.0", - "django-regex>=0.5.0", - "django-strategy-field>=3.1.0", - "djangorestframework>=3.15.1", - "jmespath>=1.0.1", - "jsonpickle>=3.2.2", - "mini-racer>=0.12.4", - "python-calamine>=0.2.3", - "requests>=2.32.3", - "responses>=0.25.3", - "xlsxwriter>=3.2.0", -] -files = [ - {file = "hope_flex_fields-0.5.0-py3-none-any.whl", hash = "sha256:59e28873e74861da34757adda59df160fe56cfd68c1c0b4781ec9c2ce24fae8b"}, - {file = "hope_flex_fields-0.5.0.tar.gz", hash = "sha256:0b907935ef5d4766a49e4b478f475ddfd9b9cb8ead432373275e266cb6447c06"}, -] - [[package]] name = "html-json-forms" version = "1.1.1" @@ -2265,20 +2209,6 @@ files = [ {file = "jmespath-1.0.1.tar.gz", hash = "sha256:90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe"}, ] -[[package]] -name = "jsonpickle" -version = "3.3.0" -requires_python = ">=3.7" -summary = "Python library for serializing arbitrary object graphs into JSON" -groups = ["default"] -dependencies = [ - "importlib-metadata; python_version < \"3.8\"", -] -files = [ - {file = "jsonpickle-3.3.0-py3-none-any.whl", hash = "sha256:287c12143f35571ab00e224fa323aa4b090d5a7f086f5f494d7ee9c7eb1a380a"}, - {file = "jsonpickle-3.3.0.tar.gz", hash = "sha256:ab467e601e5b1a1cd76f1819d014795165da071744ef30bf3786e9bc549de25a"}, -] - [[package]] name = "jsonschema" version = "4.23.0" @@ -2429,23 +2359,6 @@ files = [ {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, ] -[[package]] -name = "mini-racer" -version = "0.12.4" -requires_python = ">=3.8" -summary = "Minimal, modern embedded V8 for Python." -groups = ["default"] -files = [ - {file = "mini_racer-0.12.4-py3-none-macosx_10_9_x86_64.whl", hash = "sha256:bce8a3cee946575a352f5e65335903bc148da42c036d0c738ac67e931600e455"}, - {file = "mini_racer-0.12.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:56c832e6ac2db6a304d1e8e80030615297aafbc6940f64f3479af4ba16abccd5"}, - {file = "mini_racer-0.12.4-py3-none-manylinux_2_31_aarch64.whl", hash = "sha256:b82c4bd2976e280ed0a72c9c2de01b13f18ccfbe6f4892cbc22aae04410fac3c"}, - {file = "mini_racer-0.12.4-py3-none-manylinux_2_31_x86_64.whl", hash = "sha256:69a1c44d02a9069b881684cef15a2d747fe0743df29eadc881fda7002aae5fd2"}, - {file = "mini_racer-0.12.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:499dbc267dfe60e954bc1b6c3787f7b10fc41fe1975853c9a6ddb55eb83dc4d9"}, - {file = "mini_racer-0.12.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:231f949f5787d18351939f1fe59e5a6fe134bccb5ecf8f836b9beab69d91c8d9"}, - {file = "mini_racer-0.12.4-py3-none-win_amd64.whl", hash = "sha256:9446e3bd6a4eb9fbedf1861326f7476080995a31c9b69308acef17e5b7ecaa1b"}, - {file = "mini_racer-0.12.4.tar.gz", hash = "sha256:84c67553ce9f3736d4c617d8a3f882949d37a46cfb47fe11dab33dd6704e62a4"}, -] - [[package]] name = "multidict" version = "6.1.0" @@ -2593,17 +2506,6 @@ files = [ {file = "openpyxl_stubs-0.1.25-py3-none-any.whl", hash = "sha256:db29f7804993b4a46b155fc4be45314c14538cb475b00591d8096e5af486abf1"}, ] -[[package]] -name = "orderly-set" -version = "5.2.2" -requires_python = ">=3.8" -summary = "Orderly set" -groups = ["default"] -files = [ - {file = "orderly_set-5.2.2-py3-none-any.whl", hash = "sha256:f7a37c95a38c01cdfe41c3ffb62925a318a2286ea0a41790c057fc802aec54da"}, - {file = "orderly_set-5.2.2.tar.gz", hash = "sha256:52a18b86aaf3f5d5a498bbdb27bf3253a4e5c57ab38e5b7a56fa00115cd28448"}, -] - [[package]] name = "outcome" version = "1.3.0.post0" @@ -3209,29 +3111,6 @@ files = [ {file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"}, ] -[[package]] -name = "python-calamine" -version = "0.2.3" -requires_python = ">=3.8" -summary = "Python binding for Rust's library for reading excel and odf file - calamine" -groups = ["default"] -files = [ - {file = "python_calamine-0.2.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:40e5f75c4a7bb2105e3bd65e7b4656e085c6d86e46af1c56468a2f87c2ed639a"}, - {file = "python_calamine-0.2.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3557bdd36060db4929f42bf4c2c728a76af60ccc95d5c98f2110331d993a7299"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:baa75b28686f9dc727d26a97b41c6a2a6ca1d2c679139b6199edbae2782e7c77"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d2c8577b00e13f5f43b1c03a2eca01848c3b24467ebaf597729d1e483613c110"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4639255202380251833a9ab75c077e687ebbef2120f54030b2dc46eb6ce43105"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:583656c6a6e8efac8951cd72459e2d84eea5f2617214ebc7e1c96217b44a0fa1"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:68fc61b34a1d82d3eee2109d323268dd455107dfb639b027aa5c388e2781273c"}, - {file = "python_calamine-0.2.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:64bb1f212275ed0288f578ee817e5cad4a063cfe5c38bf4c4dc6968957cb95b0"}, - {file = "python_calamine-0.2.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:a7da299c1676dc34cd5f0adf93e92139afbfb832722d5d50a696ac180885aabb"}, - {file = "python_calamine-0.2.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:599752629ab0c5231159c5bea4f94795dd9b11a36c02dd5bd0613cf257ecd710"}, - {file = "python_calamine-0.2.3-cp312-none-win32.whl", hash = "sha256:fc73da2863c3251862583d64c0d07fe907f489a86a205e2b6ac94a39a1df1b42"}, - {file = "python_calamine-0.2.3-cp312-none-win_amd64.whl", hash = "sha256:a8d1662b4767f863c17ea4c1afc3c3fe3174d7b007ae77349d481e6792d142fe"}, - {file = "python_calamine-0.2.3-cp312-none-win_arm64.whl", hash = "sha256:87af11076364ade6f3da9e33993b6f55ec8dfd5f017129de688fd6d94d7bc24a"}, - {file = "python_calamine-0.2.3.tar.gz", hash = "sha256:d6b3858c3756629d9b4a166de0facfa6c8033fa0b73dcddd3d82144f3170c0dc"}, -] - [[package]] name = "python-crontab" version = "3.2.0" @@ -3401,7 +3280,7 @@ name = "responses" version = "0.25.3" requires_python = ">=3.8" summary = "A utility library for mocking out the `requests` Python library." -groups = ["default", "dev"] +groups = ["dev"] dependencies = [ "pyyaml", "requests<3.0,>=2.30.0", @@ -3769,16 +3648,16 @@ files = [ [[package]] name = "tinycss2" -version = "1.2.1" -requires_python = ">=3.7" +version = "1.4.0" +requires_python = ">=3.8" summary = "A tiny CSS parser" groups = ["default"] dependencies = [ "webencodings>=0.4", ] files = [ - {file = "tinycss2-1.2.1-py3-none-any.whl", hash = "sha256:2b80a96d41e7c3914b8cda8bc7f705a4d9c49275616e886103dd839dfc847847"}, - {file = "tinycss2-1.2.1.tar.gz", hash = "sha256:8cff3a8f066c2ec677c06dbc7b45619804a6938478d9d73c284b29d14ecb0627"}, + {file = "tinycss2-1.4.0-py3-none-any.whl", hash = "sha256:3a49cf47b7675da0b15d0c6e1df8df4ebd96e9394bb905a5775adb0d884c5289"}, + {file = "tinycss2-1.4.0.tar.gz", hash = "sha256:10c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 0d75e40f07..0d5d9a3c3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -239,7 +239,6 @@ dependencies = [ "django-rest-extensions>=0.2.0", "pydyf==0.10.0", "elastic-transport==8.13.0", - "hope-flex-fields>=0.5.0", "flower>=2.0.1", "sorl-thumbnail==12.9", # not compatible with django <4 ] diff --git a/src/hct_mis_api/config/settings.py b/src/hct_mis_api/config/settings.py index bdeed1c2be..65c236ec5b 100644 --- a/src/hct_mis_api/config/settings.py +++ b/src/hct_mis_api/config/settings.py @@ -214,7 +214,6 @@ "smart_admin.apps.SmartTemplateConfig", "hct_mis_api.apps.administration.apps.Config", "admin_sync.apps.Config", - "hope_flex_fields", "smart_env", "django_celery_boost", "django_sysinfo",