diff --git a/templates/python/dependency_management/depandabot/depandabot.yml b/templates/python/dependency_management/depandabot/depandabot.yml
index a2ed599b5186a3756de318c3e864fdfe07f7d0b6..b00bc54a67ff2ee66c1778f128da30e84406731b 100644
--- a/templates/python/dependency_management/depandabot/depandabot.yml
+++ b/templates/python/dependency_management/depandabot/depandabot.yml
@@ -19,7 +19,7 @@ depandabot:
         - |
             COMMIT_MESSAGE="build(deps): bump new versions"
         - $([ -f ${OUTPUT_FILE_PATH} ]) && ACTION="update" || ACTION="create"
-        - pip-compile --quiet -o ${OUTPUT_FILE_PATH} ${REQUIREMENTS_FILE_PATH}
+        - pip-compile --quiet --strip-extras -o ${OUTPUT_FILE_PATH} ${REQUIREMENTS_FILE_PATH}
         - if [ -n "$(git status --porcelain ${OUTPUT_FILE_PATH})" ]; then
         - |
             curl --header "Authorization: Bearer ${DEPANDABOT_TOKEN}" \
@@ -34,7 +34,7 @@ depandabot:
             --form "actions[][file_path]=${OUTPUT_FILE_PATH}" \
             --form "actions[][content]=<${OUTPUT_FILE_PATH}" \
             "https://${GITLAB_API_URL}/api/v4/projects/${CI_PROJECT_ID}/repository/commits"
-        - requirement-compare ${REQUIREMENTS_FILE_PATH} ${OUTPUT_FILE_PATH}
+        - requirements-compare ${REQUIREMENTS_FILE_PATH} ${OUTPUT_FILE_PATH}
         - |
             curl --header "Authorization: Bearer ${DEPANDABOT_TOKEN}" \
             --form "source_branch=$DEPS_BRANCH" \