diff --git a/poetry.lock b/poetry.lock index 05c9c48d4af..706a79e3883 100644 --- a/poetry.lock +++ b/poetry.lock @@ -463,47 +463,6 @@ files = [ {file = "charset_normalizer-3.4.1.tar.gz", hash = "sha256:44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3"}, ] -[[package]] -name = "cheetah3" -version = "3.2.6.post1" -description = "Cheetah is a template engine and code generation tool" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -groups = ["compile"] -markers = "platform_machine != \"s390x\" and platform_machine != \"ppc64le\" or platform_machine == \"s390x\" or platform_machine == \"ppc64le\"" -files = [ - {file = "Cheetah3-3.2.6.post1-cp27-cp27m-macosx_10_13_x86_64.whl", hash = "sha256:33eff0a209f8f6da2ac112fa5d7a3eaaeeb6d16b268cec1a9666513b5142d50f"}, - {file = "Cheetah3-3.2.6.post1-cp27-cp27m-win32.whl", hash = "sha256:f6d7c4f3e1d84e86af416078def46a841dc26dc95fed91b049d7d4599e612b0b"}, - {file = "Cheetah3-3.2.6.post1-cp27-cp27m-win_amd64.whl", hash = "sha256:c6a596dfff94fe3bb6f5ac4515537096798d98461488fbcce30ab6456bc97c21"}, - {file = "Cheetah3-3.2.6.post1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:b9b3b25798754ecc75b4815fabc2f20e4df50c2f0fa0b576f82f12406699e143"}, - {file = "Cheetah3-3.2.6.post1-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:1d33efa6ce33c8157cc1b3d0e251c1621b35b75f696aba283e3bc65192344fd7"}, - {file = "Cheetah3-3.2.6.post1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:8e816020698ad4da3524d9d4bc3349896d06b9e3b5c91a526fe9ac6c910b0002"}, - {file = "Cheetah3-3.2.6.post1-cp35-cp35m-win32.whl", hash = "sha256:8c7c31794035ae16bdcf21801b45e97fe9aa288d697df3a31e830d47c79ba368"}, - {file = "Cheetah3-3.2.6.post1-cp35-cp35m-win_amd64.whl", hash = "sha256:65d051269a001504c8b1c44fa55ba111d9267c30523883a704fef74d4eb7cdd3"}, - {file = "Cheetah3-3.2.6.post1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a50b75e87ad88ccf1d63d43aa5c95817b8cddbefac0201b16881ca476414bc0f"}, - {file = "Cheetah3-3.2.6.post1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:95b5169f9e25e9ab74be5d07f45b08bdfbd34f959eb44b11f546dc96e961c49c"}, - {file = "Cheetah3-3.2.6.post1-cp36-cp36m-win32.whl", hash = "sha256:3e75fd1c1edefa954ff88ef177a4c1af6cf1a5ae226bcb4c86fd6c842b4db5d4"}, - {file = "Cheetah3-3.2.6.post1-cp36-cp36m-win_amd64.whl", hash = "sha256:b875941d5c15163cd03e19aeff65af4529e017e5371e15be053a0ad45b80c244"}, - {file = "Cheetah3-3.2.6.post1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:6baf23ef7ab14bf51de2c9721da8513b518e426e7f610dae2c5a6ab0ba95a770"}, - {file = "Cheetah3-3.2.6.post1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d3d6adc91d7b5ebb7896ff22f806c67862a496d89a17bab91c83094b2eabfee5"}, - {file = "Cheetah3-3.2.6.post1-cp37-cp37m-win32.whl", hash = "sha256:ae7bd6760f8d4d6fbbb3bd1aab3a7c43997bdebc29a8d8d2252975f1665a75fa"}, - {file = "Cheetah3-3.2.6.post1-cp37-cp37m-win_amd64.whl", hash = "sha256:8b68dacd559cebdafd8d8346b32e389ca022d9a2111fee0ee8894160fc20ecb2"}, - {file = "Cheetah3-3.2.6.post1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5ff60b049b338ced59f8f4d838812e287f2d077fb970c1dafa78fbe2d26165eb"}, - {file = "Cheetah3-3.2.6.post1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:3367f2eea7d887f42cbaff962eb4bdc851ca92ff0d3360d825e27821cddc844f"}, - {file = "Cheetah3-3.2.6.post1-cp38-cp38-win32.whl", hash = "sha256:8608b7b9dd0b37149a0c5a9b0ffb8fa2d4e996016fa43b39e65cba02c7e3f6f9"}, - {file = "Cheetah3-3.2.6.post1-cp38-cp38-win_amd64.whl", hash = "sha256:01924bf4c4d6f3d5fd5989f0a5d7fb59ebb2944fc0b9722b3e62704002269817"}, - {file = "Cheetah3-3.2.6.post1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:ac044d9da2d9f04b6797dcc79a496d3e170a326eddecda58882ffba02dbb7c59"}, - {file = "Cheetah3-3.2.6.post1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:c5c6bf37f82309b2250d02f0a76a2e50edb310ab16b1e6c4bafaae9aee465861"}, - {file = "Cheetah3-3.2.6.post1-cp39-cp39-win32.whl", hash = "sha256:d70453753d7322cd85f3ae3c3282da82dd3bfa8263305ddd8c47f42b8639b5c6"}, - {file = "Cheetah3-3.2.6.post1-cp39-cp39-win_amd64.whl", hash = "sha256:3546a9527c98343324a4b3a98c723901caf51597680e4eb1085c324c211b74bd"}, - {file = "Cheetah3-3.2.6.post1-pp27-pypy_73-win32.whl", hash = "sha256:090a3aa778fa239c17b0b3bf53ee69036d9b2e31b5f03cc111d1e28fd4789c95"}, - {file = "Cheetah3-3.2.6.post1.tar.gz", hash = "sha256:58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967"}, -] - -[package.extras] -filters = ["markdown"] -markdown = ["markdown"] - [[package]] name = "cleo" version = "2.1.0" @@ -686,6 +645,60 @@ ssh = ["bcrypt (>=3.1.5)"] test = ["certifi (>=2024)", "cryptography-vectors (==44.0.2)", "pretend (>=0.7)", "pytest (>=7.4.0)", "pytest-benchmark (>=4.0)", "pytest-cov (>=2.10.1)", "pytest-xdist (>=3.5.0)"] test-randomorder = ["pytest-randomly"] +[[package]] +name = "ct3" +version = "3.4.0.post5" +description = "Cheetah is a template engine and code generation tool" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +groups = ["compile"] +markers = "platform_machine != \"s390x\" and platform_machine != \"ppc64le\" or platform_machine == \"s390x\" or platform_machine == \"ppc64le\"" +files = [ + {file = "ct3-3.4.0.post5-cp27-cp27mu-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3511fdd016f86d117e8b2500e234f11bd0a8109b56a683e211a0e0da30f326f3"}, + {file = "ct3-3.4.0.post5-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:ed22b1285c751597e00fc610a8d8e1bdb66743256d6c801c5b189983877cbbfc"}, + {file = "ct3-3.4.0.post5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:bc5d4c34c4a41324d136e6ab3ca37f1b23ab9e466b0e3768df858abd1c9febd4"}, + {file = "ct3-3.4.0.post5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c74ec58ccf1f1ef12f6a2338c435c94479b9b42c84bd78094194c28c1e5a1203"}, + {file = "ct3-3.4.0.post5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:56dfd588ca05f0d17e8d963fb9bb540329213aa31734e1d8873c677d4a6a5cb2"}, + {file = "ct3-3.4.0.post5-cp310-cp310-win_amd64.whl", hash = "sha256:310262a732d1523a784d0ad133cdb8b7552d6aa95ee9f51168d21038b5f3f6da"}, + {file = "ct3-3.4.0.post5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b11b1830bf828a34350e9d4424f9f891ec731467ab14d8f65516c75b3895c293"}, + {file = "ct3-3.4.0.post5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71c8a490b997ad3d9d1868061010366ba7cb3c0c1a324c285f6f4762ebd0f3e8"}, + {file = "ct3-3.4.0.post5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:fba0d4810a3c300b3768840abcd34c557965d67c7248cbbd70b734efef425685"}, + {file = "ct3-3.4.0.post5-cp311-cp311-win_amd64.whl", hash = "sha256:62654f67ca96aba08d16ef15fbbe39c48f963beadd02deb88c54059b1c0419d3"}, + {file = "ct3-3.4.0.post5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:443bff9699ccb0fac142027bea3321a57fb33fe43ec7cccdbac5dd0be337dcbd"}, + {file = "ct3-3.4.0.post5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:61ec5dc8261ff8bb3b0d579ba95f8be9a938251e9a3547cc09ca65de702dbc69"}, + {file = "ct3-3.4.0.post5-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:3be2cd9d24b6c6741e90c3f854b20dd019b0c47f7887962972a515b92c35204e"}, + {file = "ct3-3.4.0.post5-cp312-cp312-win_amd64.whl", hash = "sha256:9f8ed00963e774c41031727876df99694695b62c791e7de2e4352892ac1e1e06"}, + {file = "ct3-3.4.0.post5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b9a98284dad8fd32e49c05f5223226610cadef69a6a816a4e979fa8af6d870c5"}, + {file = "ct3-3.4.0.post5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:371baa49402fdbf50924fa159000c54503071a8354922513c81bdd91234c17d1"}, + {file = "ct3-3.4.0.post5-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:a85e6d708344ebe93e846d2855d73e0db73b6a8c7aabdc2f4daf27b56abf44b9"}, + {file = "ct3-3.4.0.post5-cp313-cp313-win_amd64.whl", hash = "sha256:216201ee1978bc653d40ccf7a1cafc5076e81670d64971a5be87e83ade0781fc"}, + {file = "ct3-3.4.0.post5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9611a4052fd76df8bd8961be0f8d94150908f712f910fcf22b2ceddae8f1882a"}, + {file = "ct3-3.4.0.post5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9ca95ce66a9a359df85be7bc6f0a09f45773e036b9676dda8a5fed1c0cf592d7"}, + {file = "ct3-3.4.0.post5-cp314-cp314-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:5316275804d3b08a5f0c2aefabfb1c30291db4fce48249a698124c3808e08292"}, + {file = "ct3-3.4.0.post5-cp314-cp314-win_amd64.whl", hash = "sha256:7b9cba31c0bb478dc7f5a2cec1786c09e5e67fa0684341f2af54d979b48a4e87"}, + {file = "ct3-3.4.0.post5-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:265ba32f052ef775c48357806d6a5c9b4bbbd72bea3e98c22451e9415b274329"}, + {file = "ct3-3.4.0.post5-cp35-cp35m-win_amd64.whl", hash = "sha256:bfdb23d5dfbed4deb09abef3d9542671b536e725d89962360a3a16971873cd51"}, + {file = "ct3-3.4.0.post5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5203cf90eaea583bcb1e28b73efcc84d2071575809b6628b096b8861765a2bc4"}, + {file = "ct3-3.4.0.post5-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:a38ca4578cc0cff2fbc21c856093f723fe310423f9f562899ba32dffc7c06207"}, + {file = "ct3-3.4.0.post5-cp36-cp36m-win_amd64.whl", hash = "sha256:d7cc35d87cd96c9af26898a95f36e40fb4a43b63dd2eeca4eb6db16616a9b67d"}, + {file = "ct3-3.4.0.post5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94cb60105728551bf60e1ebf27a9851c6ac2e0fab522eecfc8a7cb352ab3d55a"}, + {file = "ct3-3.4.0.post5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:1cca5c88824493caf983893079884e3c2f0b07d076dcc0ccac6d8e265f2e47b1"}, + {file = "ct3-3.4.0.post5-cp37-cp37m-win_amd64.whl", hash = "sha256:89e433b5a15c11f641c879b9f99dca3d50d7ab3b84c3a31ae0f01911f84e9068"}, + {file = "ct3-3.4.0.post5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c92655f85fb6709226717979c1fc36c47719024d633c3034db61239d88611666"}, + {file = "ct3-3.4.0.post5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d3dca93d064f0c2082752adbcf40c6149f7da8d4ccfa7e86b48a7c790c1f0a78"}, + {file = "ct3-3.4.0.post5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:c34e618479db9567dc8df9fff8eab65c81b0453cc69f2353e0269b5f900aa400"}, + {file = "ct3-3.4.0.post5-cp38-cp38-win_amd64.whl", hash = "sha256:c3a348277a147559346c133a273038107aeadb443add22f7f99e3e4ed7d4625a"}, + {file = "ct3-3.4.0.post5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:306b2964c34f25060ed942ef536cd18c94aed1bcdef3562a7a17276ce27b2a18"}, + {file = "ct3-3.4.0.post5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fed4a83fad12c8dd891d411198a91f85096dfce88635825eb976ca86108b7f85"}, + {file = "ct3-3.4.0.post5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:88b6924f6cb5b4b8643df251d39437e2219db48e04a65871c6350d045c94e70d"}, + {file = "ct3-3.4.0.post5-cp39-cp39-win_amd64.whl", hash = "sha256:1177fc69cbd11c8497977e4cc0d1308857475e7c56cc4ffbc8d2030bd226c775"}, + {file = "ct3-3.4.0.post5.tar.gz", hash = "sha256:1c5f2000d52d591703c74f6f5f7ef427ed1b6501be28e3f1634f62c3a5d792e1"}, +] + +[package.extras] +filters = ["markdown"] +markdown = ["markdown"] + [[package]] name = "curatorbin" version = "1.2.4" @@ -5808,4 +5821,4 @@ libdeps = ["cxxfilt", "eventlet", "flask", "flask-cors", "gevent", "lxml", "prog [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "74748385429e064561228a7b802a7600951a292f294df6ee268bd42a7964a3b1" +content-hash = "3ef58493bfccad1ba55460621106e69e1d94ced86eb473b6a22ef87831c52bcd" diff --git a/pyproject.toml b/pyproject.toml index acbb7b84adc..1dacd1bc8f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,7 +58,7 @@ puremagic = "^1.26" tabulate = "^0.9.0" [tool.poetry.group.compile.dependencies] -cheetah3 = "<=3.2.6.post1" # src/mongo/base/generate_error_codes.py +ct3 = "3.4.0.post5" # Renamed from cheetah3 packaging = "^24.0" regex = "^2024.11.6" setuptools = "^58.1.0" diff --git a/src/mongo/base/BUILD.bazel b/src/mongo/base/BUILD.bazel index a6174f441d5..f74f0c73b38 100644 --- a/src/mongo/base/BUILD.bazel +++ b/src/mongo/base/BUILD.bazel @@ -30,7 +30,7 @@ render_template( output = "error_codes.cpp", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency( @@ -56,7 +56,7 @@ render_template( output = "error_codes.h", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency( diff --git a/src/mongo/db/BUILD.bazel b/src/mongo/db/BUILD.bazel index 25f9d0c1e1b..29fa23a98a7 100644 --- a/src/mongo/db/BUILD.bazel +++ b/src/mongo/db/BUILD.bazel @@ -66,7 +66,7 @@ render_template( output = "feature_flag_test.idl", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency( diff --git a/src/mongo/db/auth/BUILD.bazel b/src/mongo/db/auth/BUILD.bazel index cb95285bde4..ba2d4516354 100644 --- a/src/mongo/db/auth/BUILD.bazel +++ b/src/mongo/db/auth/BUILD.bazel @@ -361,7 +361,7 @@ render_template( output = "builtin_roles.cpp", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency( diff --git a/src/mongo/shell/BUILD.bazel b/src/mongo/shell/BUILD.bazel index 4e2d41b7e09..e4b38fddb1f 100644 --- a/src/mongo/shell/BUILD.bazel +++ b/src/mongo/shell/BUILD.bazel @@ -228,7 +228,7 @@ render_template( output = "error_codes.js", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency( diff --git a/src/mongo/util/version/BUILD.bazel b/src/mongo/util/version/BUILD.bazel index 0b1dc58a2aa..90989fa31ee 100644 --- a/src/mongo/util/version/BUILD.bazel +++ b/src/mongo/util/version/BUILD.bazel @@ -21,7 +21,7 @@ render_template( output = "releases.h", python_libs = [ dependency( - "cheetah3", + "ct3", group = "compile", ), dependency(