You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2026/02/01 00:33:34 UTC

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

This is an automated email from the ASF dual-hosted git repository.

rmuir pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 75863e63470 build(deps): bump basedpyright from 1.36.2 to 1.37.2 in /dev-tools/scripts (#15639)
75863e63470 is described below

commit 75863e6347086683a7681b22845bad7eaa6c069b
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Sat Jan 31 19:33:29 2026 -0500

    build(deps): bump basedpyright from 1.36.2 to 1.37.2 in /dev-tools/scripts (#15639)
    
    * build(deps): bump basedpyright in /dev-tools/scripts
    
    Bumps [basedpyright](https://github.com/detachhead/basedpyright) from 1.36.2 to 1.37.2.
    - [Release notes](https://github.com/detachhead/basedpyright/releases)
    - [Commits](https://github.com/detachhead/basedpyright/compare/v1.36.2...v1.37.2)
    
    ---
    updated-dependencies:
    - dependency-name: basedpyright
      dependency-version: 1.37.2
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    
    * fix: remove deprecated python function usage
    
    ---------
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
    Co-authored-by: Robert Muir <rm...@apache.org>
---
 dev-tools/scripts/requirements.txt    | 2 +-
 dev-tools/scripts/smokeTestRelease.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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):