fix: Streamlit use_container_width deprecation 마이그레이션 #74

Merged
xhh merged 1 commit from fix/streamlit-width-deprecation into main 2026-05-26 02:00:32 +09:00
Owner

변경 요약

Streamlit use_container_width deprecation 마이그레이션. =True 30곳을 모두 width="stretch" 로 치환.

원문 경고:

use_container_width will be removed after 2025-12-31.
For use_container_width=True, use width='stretch'.

변경 파일

  • frontend/streamlit/pages/1_Market_Coverage.py (+6/-6)
  • frontend/streamlit/pages/2_Sector_Flows.py (+6/-6)
  • frontend/streamlit/pages/3_Indicator_Detail.py (+10/-10)
  • frontend/streamlit/pages/4_Collection_History.py (+4/-4)
  • frontend/streamlit/pages/5_Data_Coverage.py (+2/-2)
  • frontend/streamlit/pages/6_Manual_Trigger.py (+1/-1)
  • frontend/streamlit/pages/7_API_Keys.py (+1/-1)

검증

  • NAS 로컬에서 docker compose build streamlit 후 재기동
  • 컨테이너 healthy 진입, curl http://localhost:8501/ HTTP 200
  • 재기동 이후 60초 로그에서 use_container_width deprecation 경고 0건

영향 범위

UI 동작 변화 없음 (true → stretch 는 의미 동일).

## 변경 요약 Streamlit `use_container_width` deprecation 마이그레이션. `=True` 30곳을 모두 `width="stretch"` 로 치환. 원문 경고: > `use_container_width` will be removed after 2025-12-31. > For `use_container_width=True`, use `width='stretch'`. ## 변경 파일 - `frontend/streamlit/pages/1_Market_Coverage.py` (+6/-6) - `frontend/streamlit/pages/2_Sector_Flows.py` (+6/-6) - `frontend/streamlit/pages/3_Indicator_Detail.py` (+10/-10) - `frontend/streamlit/pages/4_Collection_History.py` (+4/-4) - `frontend/streamlit/pages/5_Data_Coverage.py` (+2/-2) - `frontend/streamlit/pages/6_Manual_Trigger.py` (+1/-1) - `frontend/streamlit/pages/7_API_Keys.py` (+1/-1) ## 검증 - NAS 로컬에서 `docker compose build streamlit` 후 재기동 - 컨테이너 healthy 진입, `curl http://localhost:8501/` HTTP 200 - 재기동 이후 60초 로그에서 `use_container_width` deprecation 경고 0건 ## 영향 범위 UI 동작 변화 없음 (true → stretch 는 의미 동일).
fix: Streamlit use_container_width deprecation 마이그레이션
All checks were successful
Tests (PR) / pytest (pull_request) Successful in 34s
0fcbd80274
`use_container_width=True` 30곳을 `width="stretch"` 로 일괄 치환.
streamlit 측 안내(2025-12-31 제거 예정)에 따라 신 API 로 전환.

영향 파일 7개 (frontend/streamlit/pages/*).
컨테이너 리빌드 후 페이지 로드 시 deprecation 경고 0건 확인.
xhh merged commit 76f5cfb71f into main 2026-05-26 02:00:32 +09:00
xhh deleted branch fix/streamlit-width-deprecation 2026-05-26 02:00:32 +09:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xhh/financial-data-platform!74
No description provided.