huggingface / huggingface/dataset-viewer

Upgrade huggingface_hub

Open
#2,277 1 comment 0 reactions 0 assignees View on GitHub
P2 refactoring / architecture
Dominant language
Python
Stars
899
Forks
130
Avg merge
9h 26m
Merged PRs (30d)
14

Description

Once https://github.com/huggingface/huggingface_hub/pull/1965 is released, as mentioned in https://github.com/huggingface/datasets-server/pull/2276, we can use `DisabledRepoError` in:

https://github.com/huggingface/datasets-server/blob/453aa6c532880786716279eb26a56859e464d24f/libs/libcommon/src/libcommon/operations.py#L47-L54

Note that we should first ensure the huggingface_hub version is compatible with datasets.

Contributor guide

Open the contributing guide

Research direction

Wait for huggingface_hub PR #1965 to be released, then inspect the dependency versions used with datasets. Start at libs/libcommon/src/libcommon/operations.py lines 47-54 and verify that the compatible version exposes DisabledRepoError; done means the dependency is safely upgraded and the error can be used there.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
backend, data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.