stefanvodita opened a new issue, #14556:
URL: https://github.com/apache/lucene/issues/14556

   #14326 added a [line in 
scriptutil](https://github.com/apache/lucene/blob/92d79d47cbd238137ec136f6947c0c9e86003ce0/dev-tools/scripts/scriptutil.py#L26)
 that imports `override` from `typing`, which was [introduced in Python 
3.12](https://github.com/python/cpython/issues/101561).
   
   Running the smoke tester with 3.11, errors out like so:
   ```
   Traceback (most recent call last):
     File 
"/local/home/voditas/ws/open/lucene/dev-tools/scripts/smokeTestRelease.py", 
line 40, in <module>
       import scriptutil
     File "/local/home/voditas/ws/open/lucene/dev-tools/scripts/scriptutil.py", 
line 26, in <module>
       from typing import Self, override
   ImportError: cannot import name 'override' from 'typing' 
(/usr/local/lib/python3.11/typing.py)
   ```
   
   Maybe we can make it clearer what version Python is required?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to