bentoml / BentoML

The easiest way to serve AI/ML models in production - Build Model Inference Service, LLM APIs, Multi-model Inference Graph/Pipelines, LLM/RAG apps, and more!

Home Page:https://bentoml.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: Cannot install Development environment using pdm

sanspareilsmyn opened this issue · comments

Describe the bug

Hello there:)
I was about to set up dev env in my local mac by following the guide described in here.
After cloning the repo and setting upstream, I installed pdm with brew install pdm command and executed pdm install -G all as described. I encountered installation failure like below.

image

Due to the large size of log, I add last few hundreds of log instead.
error.log

To reproduce

  1. Fork BentoML main repo and clone it to local.
  2. Execute pdm install -G all

Expected behavior

No response

Environment

pdm: 2.15.2
Python: 3.12.3

image image

I guess this is related to compatibility issue. I guess It would be solved

  1. if we elevate versions of dependencies set in pyproject.toml.
  2. if I downgrade python version to lower level.

Python 3.12.3: April 9, 2024

ray 2.9.1 : Jan 19, 2024
multidict 6.0.4: 22 Decenber, 2022
pyArrow 13.0.0: 23 August, 2023
scipy 1.9.3: 20 October, 2022
numpy 1.24.4: 26 June 2023

I solved this bug by limiting python version. I will create PR on this issue.