Skip to content

clean_skops.py job broken #231

@adrinjalali

Description

@adrinjalali

The job is broken:

Run echo "y" | python scripts/clean_skops.py
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py:233: FutureWarning: 'list_models' currently returns a list of objects but is planned to be a generator starting from version 0.14 in order to implement pagination. Please avoid to use `list_models(...).__len__` or explicitly convert the output to a list first with `list(iter(list_models)(...))`.
  warnings.warn(self._deprecation_msg.format(attr_name=attr_name), FutureWarning)
Are you sure you want to delete all repos under skops-ci older than 7 days? (y/[n])Found 1 models, checking their age...
Skipping model: skops-ci/test-bf49e533-8b1f-40ef-9084-fcad0e8bf7c5, age: 1

There's also a deprecation issue in the GH CI definition which needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions