From a2c0707263276c44942b163c0d928fe838838bab Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 3 May 2024 00:04:35 -0400 Subject: [PATCH] Bump dependencies --- pdm.lock | 109 +++++++++++++++++++++++-------------------------- pyproject.toml | 10 ++--- 2 files changed, 55 insertions(+), 64 deletions(-) diff --git a/pdm.lock b/pdm.lock index 646a559..8272417 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "debug", "lint", "server", "typing", "dev"] strategy = ["cross_platform"] lock_version = "4.4.1" -content_hash = "sha256:b9dd97b6dd2e33b3b7a26e94d902f92db3a1d22b51a06946bb35cd7e9cc0e7dd" +content_hash = "sha256:4bada05219eeff5a98ea768509968f336ba2a4e86914ba0992cd90bfa91cbb31" [[package]] name = "aiohttp" @@ -724,24 +724,24 @@ files = [ [[package]] name = "django-stubs" -version = "4.2.7" +version = "5.0.0" requires_python = ">=3.8" summary = "Mypy stubs for Django" dependencies = [ + "asgiref", "django", - "django-stubs-ext>=4.2.7", + "django-stubs-ext>=5.0.0", "types-PyYAML", - "types-pytz", "typing-extensions", ] files = [ - {file = "django-stubs-4.2.7.tar.gz", hash = "sha256:8ccd2ff4ee5adf22b9e3b7b1a516d2e1c2191e9d94e672c35cc2bc3dd61e0f6b"}, - {file = "django_stubs-4.2.7-py3-none-any.whl", hash = "sha256:4cf4de258fa71adc6f2799e983091b9d46cfc67c6eebc68fe111218c9a62b3b8"}, + {file = "django_stubs-5.0.0-py3-none-any.whl", hash = "sha256:084484cbe16a6d388e80ec687e46f529d67a232f3befaf55c936b3b476be289d"}, + {file = "django_stubs-5.0.0.tar.gz", hash = "sha256:b8a792bee526d6cab31e197cb414ee7fa218abd931a50948c66a80b3a2548621"}, ] [[package]] name = "django-stubs-ext" -version = "4.2.7" +version = "5.0.0" requires_python = ">=3.8" summary = "Monkey-patching and extensions for django-stubs" dependencies = [ @@ -749,23 +749,23 @@ dependencies = [ "typing-extensions", ] files = [ - {file = "django-stubs-ext-4.2.7.tar.gz", hash = "sha256:519342ac0849cda1559746c9a563f03ff99f636b0ebe7c14b75e816a00dfddc3"}, - {file = "django_stubs_ext-4.2.7-py3-none-any.whl", hash = "sha256:45a5d102417a412e3606e3c358adb4744988a92b7b58ccf3fd64bddd5d04d14c"}, + {file = "django_stubs_ext-5.0.0-py3-none-any.whl", hash = "sha256:8e1334fdf0c8bff87e25d593b33d4247487338aaed943037826244ff788b56a8"}, + {file = "django_stubs_ext-5.0.0.tar.gz", hash = "sha256:5bacfbb498a206d5938454222b843d81da79ea8b6fcd1a59003f529e775bc115"}, ] [[package]] name = "django-stubs" -version = "4.2.7" +version = "5.0.0" extras = ["compatible-mypy"] requires_python = ">=3.8" summary = "Mypy stubs for Django" dependencies = [ - "django-stubs==4.2.7", - "mypy~=1.7.0", + "django-stubs==5.0.0", + "mypy~=1.10.0", ] files = [ - {file = "django-stubs-4.2.7.tar.gz", hash = "sha256:8ccd2ff4ee5adf22b9e3b7b1a516d2e1c2191e9d94e672c35cc2bc3dd61e0f6b"}, - {file = "django_stubs-4.2.7-py3-none-any.whl", hash = "sha256:4cf4de258fa71adc6f2799e983091b9d46cfc67c6eebc68fe111218c9a62b3b8"}, + {file = "django_stubs-5.0.0-py3-none-any.whl", hash = "sha256:084484cbe16a6d388e80ec687e46f529d67a232f3befaf55c936b3b476be289d"}, + {file = "django_stubs-5.0.0.tar.gz", hash = "sha256:b8a792bee526d6cab31e197cb414ee7fa218abd931a50948c66a80b3a2548621"}, ] [[package]] @@ -819,35 +819,35 @@ files = [ [[package]] name = "djangorestframework-stubs" -version = "3.14.5" +version = "3.15.0" requires_python = ">=3.8" summary = "PEP-484 stubs for django-rest-framework" dependencies = [ - "django-stubs>=4.2.7", + "django-stubs>=5.0.0", "requests>=2.0.0", "types-PyYAML>=5.4.3", "types-requests>=0.1.12", "typing-extensions>=3.10.0", ] files = [ - {file = "djangorestframework-stubs-3.14.5.tar.gz", hash = "sha256:5dd6f638aa5291fb7863e6166128a6ed20bf4986e2fc5cf334e6afc841797a09"}, - {file = "djangorestframework_stubs-3.14.5-py3-none-any.whl", hash = "sha256:43d788fd50cda49b922cd411e59c5b8cdc3f3de49c02febae12ce42139f0269b"}, + {file = "djangorestframework_stubs-3.15.0-py3-none-any.whl", hash = "sha256:6c634f16fe1f9b1654cfd921eca64cd4188ce8534ab5e3ec7e44aaa0ca969d93"}, + {file = "djangorestframework_stubs-3.15.0.tar.gz", hash = "sha256:f60ee1c80abb01a77acc0169969e07c45c2739ae64667b9a0dd4a2e32697dcab"}, ] [[package]] name = "djangorestframework-stubs" -version = "3.14.5" +version = "3.15.0" extras = ["compatible-mypy"] requires_python = ">=3.8" summary = "PEP-484 stubs for django-rest-framework" dependencies = [ "django-stubs[compatible-mypy]", - "djangorestframework-stubs==3.14.5", - "mypy~=1.7.0", + "djangorestframework-stubs==3.15.0", + "mypy~=1.10.0", ] files = [ - {file = "djangorestframework-stubs-3.14.5.tar.gz", hash = "sha256:5dd6f638aa5291fb7863e6166128a6ed20bf4986e2fc5cf334e6afc841797a09"}, - {file = "djangorestframework_stubs-3.14.5-py3-none-any.whl", hash = "sha256:43d788fd50cda49b922cd411e59c5b8cdc3f3de49c02febae12ce42139f0269b"}, + {file = "djangorestframework_stubs-3.15.0-py3-none-any.whl", hash = "sha256:6c634f16fe1f9b1654cfd921eca64cd4188ce8534ab5e3ec7e44aaa0ca969d93"}, + {file = "djangorestframework_stubs-3.15.0.tar.gz", hash = "sha256:f60ee1c80abb01a77acc0169969e07c45c2739ae64667b9a0dd4a2e32697dcab"}, ] [[package]] @@ -1387,7 +1387,7 @@ files = [ [[package]] name = "mypy" -version = "1.7.1" +version = "1.10.0" requires_python = ">=3.8" summary = "Optional static typing for Python" dependencies = [ @@ -1395,18 +1395,18 @@ dependencies = [ "typing-extensions>=4.1.0", ] files = [ - {file = "mypy-1.7.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4b901927f16224d0d143b925ce9a4e6b3a758010673eeded9b748f250cf4e8f7"}, - {file = "mypy-1.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2f7f6985d05a4e3ce8255396df363046c28bea790e40617654e91ed580ca7c51"}, - {file = "mypy-1.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:944bdc21ebd620eafefc090cdf83158393ec2b1391578359776c00de00e8907a"}, - {file = "mypy-1.7.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9c7ac372232c928fff0645d85f273a726970c014749b924ce5710d7d89763a28"}, - {file = "mypy-1.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:f6efc9bd72258f89a3816e3a98c09d36f079c223aa345c659622f056b760ab42"}, - {file = "mypy-1.7.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6dbdec441c60699288adf051f51a5d512b0d818526d1dcfff5a41f8cd8b4aaf1"}, - {file = "mypy-1.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4fc3d14ee80cd22367caaaf6e014494415bf440980a3045bf5045b525680ac33"}, - {file = "mypy-1.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2c6e4464ed5f01dc44dc9821caf67b60a4e5c3b04278286a85c067010653a0eb"}, - {file = "mypy-1.7.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:d9b338c19fa2412f76e17525c1b4f2c687a55b156320acb588df79f2e6fa9fea"}, - {file = "mypy-1.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:204e0d6de5fd2317394a4eff62065614c4892d5a4d1a7ee55b765d7a3d9e3f82"}, - {file = "mypy-1.7.1-py3-none-any.whl", hash = "sha256:f7c5d642db47376a0cc130f0de6d055056e010debdaf0707cd2b0fc7e7ef30ea"}, - {file = "mypy-1.7.1.tar.gz", hash = "sha256:fcb6d9afb1b6208b4c712af0dafdc650f518836065df0d4fb1d800f5d6773db2"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3be66771aa5c97602f382230165b856c231d1277c511c9a8dd058be4784472e1"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8b2cbaca148d0754a54d44121b5825ae71868c7592a53b7292eeb0f3fdae95ee"}, + {file = "mypy-1.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ec404a7cbe9fc0e92cb0e67f55ce0c025014e26d33e54d9e506a0f2d07fe5de"}, + {file = "mypy-1.10.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e22e1527dc3d4aa94311d246b59e47f6455b8729f4968765ac1eacf9a4760bc7"}, + {file = "mypy-1.10.0-cp311-cp311-win_amd64.whl", hash = "sha256:a87dbfa85971e8d59c9cc1fcf534efe664d8949e4c0b6b44e8ca548e746a8d53"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:a781f6ad4bab20eef8b65174a57e5203f4be627b46291f4589879bf4e257b97b"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b808e12113505b97d9023b0b5e0c0705a90571c6feefc6f215c1df9381256e30"}, + {file = "mypy-1.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f55583b12156c399dce2df7d16f8a5095291354f1e839c252ec6c0611e86e2e"}, + {file = "mypy-1.10.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cf18f9d0efa1b16478c4c129eabec36148032575391095f73cae2e722fcf9d5"}, + {file = "mypy-1.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:bc6ac273b23c6b82da3bb25f4136c4fd42665f17f2cd850771cb600bdd2ebeda"}, + {file = "mypy-1.10.0-py3-none-any.whl", hash = "sha256:f8c083976eb530019175aabadb60921e73b4f45736760826aa1689dda8208aee"}, + {file = "mypy-1.10.0.tar.gz", hash = "sha256:3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131"}, ] [[package]] @@ -1650,12 +1650,12 @@ files = [ [[package]] name = "pydyf" -version = "0.8.0" -requires_python = ">=3.7" +version = "0.10.0" +requires_python = ">=3.8" summary = "A low-level PDF generator." files = [ - {file = "pydyf-0.8.0-py3-none-any.whl", hash = "sha256:901186a2e9f897108139426a6486f5225bdcc9b70be2ec965f25111e42f8ac5d"}, - {file = "pydyf-0.8.0.tar.gz", hash = "sha256:b22b1ef016141b54941ad66ed4e036a7bdff39c0b360993b283875c3f854dd9a"}, + {file = "pydyf-0.10.0-py3-none-any.whl", hash = "sha256:ef76b6c0976a091a9e15827fb5800e5e37e7cd1a3ca4d4bd19d10a14ea8c0ae3"}, + {file = "pydyf-0.10.0.tar.gz", hash = "sha256:357194593efaf61d7b48ab97c3d59722114934967c3df3d7878ca6dd25b04c30"}, ] [[package]] @@ -1976,15 +1976,15 @@ files = [ [[package]] name = "tinycss2" -version = "1.1.1" -requires_python = ">=3.6" +version = "1.3.0" +requires_python = ">=3.8" summary = "A tiny CSS parser" dependencies = [ "webencodings>=0.4", ] files = [ - {file = "tinycss2-1.1.1-py3-none-any.whl", hash = "sha256:fe794ceaadfe3cf3e686b22155d0da5780dd0e273471a51846d0a02bc204fec8"}, - {file = "tinycss2-1.1.1.tar.gz", hash = "sha256:b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf"}, + {file = "tinycss2-1.3.0-py3-none-any.whl", hash = "sha256:54a8dbdffb334d536851be0226030e9505965bb2f30f21a4a82c55fb2a80fae7"}, + {file = "tinycss2-1.3.0.tar.gz", hash = "sha256:152f9acabd296a8375fbca5b84c961ff95971fcfc32e79550c8df8e29118c54d"}, ] [[package]] @@ -2033,15 +2033,6 @@ files = [ {file = "types_html5lib-1.1.11.20240228-py3-none-any.whl", hash = "sha256:af5de0125cb0fe5667543b158db83849b22e25c0e36c9149836b095548bf1020"}, ] -[[package]] -name = "types-pytz" -version = "2022.6.0.1" -summary = "Typing stubs for pytz" -files = [ - {file = "types-pytz-2022.6.0.1.tar.gz", hash = "sha256:d078196374d1277e9f9984d49373ea043cf2c64d5d5c491fbc86c258557bd46f"}, - {file = "types_pytz-2022.6.0.1-py3-none-any.whl", hash = "sha256:bea605ce5d5a5d52a8e1afd7656c9b42476e18a0f888de6be91587355313ddf4"}, -] - [[package]] name = "types-pyyaml" version = "6.0.12.2" @@ -2237,8 +2228,8 @@ files = [ [[package]] name = "weasyprint" -version = "61.2" -requires_python = ">=3.8" +version = "62.0" +requires_python = ">=3.9" summary = "The Awesome Document Factory" dependencies = [ "Pillow>=9.1.0", @@ -2247,12 +2238,12 @@ dependencies = [ "cssselect2>=0.1", "fonttools[woff]>=4.0.0", "html5lib>=1.1", - "pydyf>=0.8.0", - "tinycss2>=1.0.0", + "pydyf>=0.10.0", + "tinycss2>=1.3.0", ] files = [ - {file = "weasyprint-61.2-py3-none-any.whl", hash = "sha256:76c6dc0e75e09182d5645d92c66ddf86b1b992c9420235b723fb374b584e5bf4"}, - {file = "weasyprint-61.2.tar.gz", hash = "sha256:47df6cfeeff8c6c28cf2e4caf837cde17715efe462708ada74baa2eb391b6059"}, + {file = "weasyprint-62.0-py3-none-any.whl", hash = "sha256:021b2fcde720756dd496645f251e40240b742e91a85f446f612f4666fdca316d"}, + {file = "weasyprint-62.0.tar.gz", hash = "sha256:9f56eaefdaafcf35ae568c56eee5dba189af1272a46f4d205bd12936315f9481"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 15a71c2..fd4dabe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,13 +12,13 @@ dependencies = [ "django-markdownx~=4.0", "django-recurrence~=1.11", "django-widget-tweaks~=1.5", - "django-stubs-ext~=4.2", + "django-stubs-ext~=5.0", "markdownify~=0.12", "mdformat~=0.7", "mdformat-tables~=0.4", "mysqlclient~=2.2", "django-autocomplete-light~=3.11", - "weasyprint~=61.2", + "weasyprint~=62.0", "requests~=2.31", "semver~=3.0", "djangorestframework~=3.15", @@ -115,13 +115,13 @@ lint = [ "ruff~=0.4", ] typing = [ - "mypy~=1.7", - "django-stubs~=4.2", + "mypy~=1.10", + "django-stubs~=5.0", "setuptools~=69.5", "types-bleach~=6.1", "types-requests~=2.31", "types-urllib3~=1.26", - "djangorestframework-stubs[compatible-mypy]~=3.14", + "djangorestframework-stubs[compatible-mypy]~=3.15", "lxml-stubs~=0.5", ] debug = [