Skip to content

Apache Lucene open-source search software

build(deps): bump basedpyright from 1.36.2 to 1.37.2 in /dev-tools/scripts (#15639)

dependabot[bot]75863e634708
diff --git a/dev-tools/scripts/requirements.txt b/dev-tools/scripts/requirements.txt
index 1ba6712ae1d..bb02a908936 100644
--- a/dev-tools/scripts/requirements.txt
+++ b/dev-tools/scripts/requirements.txt
@@ -13,6 +13,6 @@ PyGithub==2.8.1
# JIRA processing in githubPRs
jira==3.10.5
# type-checking in "make lint"
-basedpyright==1.36.2
+basedpyright==1.37.2
# linting in "make lint"
ruff==0.14.14
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index f6a280dc8b8..7009afa10d7 100755
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -431,7 +431,7 @@ def printFileContents(fileName: str):
# even if we are wrong, we replace errors ... the ASCII chars
# (which is what we mostly care about eg for the test seed) should
# still survive:
- txt = codecs.open(fileName, "r", encoding=sys.getdefaultencoding(), errors="replace").read()
+ txt = open(fileName, encoding=sys.getdefaultencoding(), errors="replace").read()
# Encode to our output encoding (likely also system's default
# encoding):