yuqi1129 opened a new issue, #9919:
URL: https://github.com/apache/gravitino/issues/9919

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Recently, Github release a new runner image 
https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260201.15, 
which will case Gravitino python client fails
   
   ```text
   packages/llama_index/core/base/base_query_engine.py", line 9, in <module>
       from llama_index.core.prompts.mixin import PromptDictType, PromptMixin
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/llama_index/core/prompts/__init__.py",
 line 13, in <module>
       from llama_index.core.prompts.rich import RichPromptTemplate
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/llama_index/core/prompts/rich.py",
 line 1, in <module>
       from banks import Prompt
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/banks/__init__.py",
 line 7, in <module>
       from .env import env
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/banks/env.py",
 line 7, in <module>
       from .filters import audio, cache_control, document, image, lemmatize, 
tool, video, xml
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/banks/filters/__init__.py",
 line 4, in <module>
       from .audio import audio
     File 
"/home/runner/work/gravitino/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.9/lib/python3.9/site-packages/banks/filters/audio.py",
 line 54, in <module>
       def audio(value: str | bytes) -> str:
   TypeError: unsupported operand type(s) for |: 'type' and 'type'
   ```
   
   More, please refer to 
https://github.com/apache/gravitino/actions/runs/21815233530/job/62935433991?pr=9127
   
   ### Error message and/or stacktrace
   
   Please see above
   
   ### How to reproduce
   
   Please see above
   
   ### Additional context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to