Skip to content

Commit 4b284cf

Browse files
committed
개선: huggingface-hub 허용 범위를 <3, filelock 을 <5 로 넓힌다 (#172, #173)
Dependabot PR #172, #173 의 범위 완화를 uv.lock 의 requires-dist 와 함께 반영한다. PR 을 그대로 병합하면 pyproject 와 lock 이 어긋나, --locked 없이 uv sync 하는 데이터 파이프라인이 러너에서 다시 해석해 huggingface-hub 2.x 로 올라갈 수 있다. 잠긴 버전(huggingface-hub 0.36.2, filelock 3.x)은 그대로다. - huggingface-hub 2.x 는 HTTP 스택을 httpx2 로 바꿨다. src 에는 requests 직접 사용과 HTTP 백엔드 설정이 없고, 2.2.0 에서 huggingface_hub.utils 오류 import, 404 -> EntryNotFoundError(response.status_code), HfFileSystem 열기, list_repo_tree, retryHfCall 의 429 판정을 실제 HF 로 확인했다. PR #173 의 test-fast 는 신선 해석으로 huggingface_hub 2.2.0 을 깔고 8,420 통과했다. - filelock 4.1.1 에서 FileLock·Timeout 사용(mappingLedger, secrets)이 같게 동작한다. 검증: uv lock --check 통과, lock diff 는 specifier 2 줄.
1 parent db545b0 commit 4b284cf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dependencies = [
6767
# DARTLAB_CROSS_SCAN_ENGINE=duckdb 또는 large dataset 검출 시 자동 fallback.
6868
"duckdb>=1.0,<2; sys_platform != 'emscripten'",
6969
"cryptography>=46,<51; sys_platform != 'emscripten'",
70-
"filelock>=3.20,<4; sys_platform != 'emscripten'",
70+
"filelock>=3.20,<5; sys_platform != 'emscripten'",
7171
"keyring>=25.7,<26; sys_platform != 'emscripten' and sys_platform != 'win32'",
7272
"numpy>=1.26.0,<3; sys_platform != 'emscripten'",
7373
"numpy; sys_platform == 'emscripten'",
@@ -78,7 +78,7 @@ dependencies = [
7878
# network
7979
"httpx>=0.28.1,<1; sys_platform != 'emscripten'",
8080
"httpx; sys_platform == 'emscripten'",
81-
"huggingface-hub>=0.20.0,<2; sys_platform != 'emscripten'",
81+
"huggingface-hub>=0.20.0,<3; sys_platform != 'emscripten'",
8282
"rich>=14.3.3,<16; sys_platform != 'emscripten'",
8383
"rich; sys_platform == 'emscripten'",
8484
# ai providers (pyodide 불필요)

‎uv.lock‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)