data-platform-hq / mlflow-oidc-auth

MLFlow Tracking Server OIDC Auth plugin
https://pypi.org/project/mlflow-oidc-auth/
Apache License 2.0
22 stars 8 forks source link

Index.html is missing in last releases #49

Open rovorman opened 3 days ago

rovorman commented 3 days ago

Hello,

discovered that after install last version (2.1.0) via pip install mlflow-oidc-auth I've got 404 Not found for /oidc/ui path

I've found that index.html is missing in site-packages/mlflow_oidc_auth/ui folder

Looks like yarn step is not working:


export MLFLOW_OIDC_AUTH_VERSION=${1:-0.0.0.dev0} - possible cause

pushd web-ui

yarn install

yarn release

popd

python -m build

maybe should fix it to ${2:-0.0.0.dev0}?

Thanks in advance!

rovorman commented 3 days ago

UPD:

Seems like problem with angular budgets (release.sh):

Build at: 2024-10-29T13:05:54.057Z - Hash: 214b9e1872db98be - Time: 9410ms

Warning: bundle initial exceeded maximum budget. Budget 500.00 kB was not met by 526.11 kB with a total of 1.00 MB.

Error: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 2.11 kB with a total of 1.00 MB.

error Command failed with exit code 1.