Package Details: python-datasets 2.12.0-1

Git Clone URL: https://aur.archlinux.org/python-datasets.git (read-only, click to copy)
Package Base: python-datasets
Description: The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
Upstream URL: https://github.com/huggingface/datasets
Keywords: datasets deep-learning huggingface machine-learning
Licenses: Apache
Submitter: trougnouf
Maintainer: daskol
Last Packager: daskol
Votes: 1
Popularity: 0.038489
First Submitted: 2021-09-01 14:06 (UTC)
Last Updated: 2023-04-28 14:32 (UTC)

Latest Comments

1 2 Next › Last »

Relih commented on 2023-02-09 21:51 (UTC)

@daskol I managed to upgrade the package by manually removing the version restrictions. My guess is that the version format of the actually installed package doesn't match the format that is in the PKGBUILD and so the dependency can never satisfy the constraint.

daskol commented on 2023-02-08 11:02 (UTC)

@Relih No idea how to resolve dependency conflict. I guess that python-datasets depends on python-huggingface-hub as well as python-evaluate which depends on python-datasets in advance. May be this is the issue, not sure.

Relih commented on 2023-02-07 22:19 (UTC)

@daskol Here you go

Name            : python-huggingface-hub-git
Version         : 0.13.0.dev0-1
Description     : Client library to download and publish models on the huggingface.co hub
Architecture    : any
URL             : https://github.com/huggingface/huggingface_hub
Licenses        : Apache 2.0
Groups          : None
Provides        : python-huggingface-hub
Depends On      : python>=3.6  python-filelock  python-tqdm  python-requests  python-importlib-metadata
Optional Deps   : python-espnet-git: ASR toolkit
                  python-speechbrain-git: ASR toolkit
Required By     : python-datasets  python-evaluate  python-transformers
Optional For    : None
Conflicts With  : python-huggingface-hub
Replaces        : None
Installed Size  : 1757,33 KiB
Packager        : Unknown Packager
Build Date      : Di 07 Feb 2023 22:17:32 CET
Install Date    : Di 07 Feb 2023 22:17:41 CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

daskol commented on 2023-02-07 22:00 (UTC)

@Relih Sorry, I meant packages which requires python-huggingface-hub.

$ pacman -Qi python-huggingface-hub

How do you install python-datasets? What tool do you use?

Relih commented on 2023-02-07 21:34 (UTC)

@daskol sure can do, here is the output

Name            : python-datasets
Version         : 2.4.0-1
Description     : Library providing one-line dataloaders for many public datasets and efficient data pre-processing
Architecture    : x86_64
URL             : https://github.com/huggingface/datasets
Licenses        : Apache
Groups          : None
Provides        : None
Depends On      : python-pyarrow  python-dill  python-pandas  python-xxhash  python-multiprocess  python-aiohttp  python-huggingface-hub  python-fsspec
Optional Deps   : None
Required By     : python-evaluate
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 3,65 MiB
Packager        : Unknown Packager
Build Date      : So 07 Aug 2022 18:25:24 CEST
Install Date    : So 07 Aug 2022 18:25:39 CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

daskol commented on 2023-02-07 21:28 (UTC)

@Relih Thanks! Much better now. It seems that you have some packages which depend onpython-huggingface-hub or python-huggingface-hub-git. Can you find decendants of python-datasets?

pacman -Qi python-datasets

Relih commented on 2023-02-07 21:24 (UTC)

@daskol Sorry, should be fixed now

daskol commented on 2023-02-07 21:23 (UTC)

@Relih Could you attach as a log file or post output as monospace block? It is extremely hard to read and understand what is going on.

Relih commented on 2023-02-07 21:20 (UTC) (edited on 2023-02-07 21:24 (UTC) by Relih)

I am having problems updating this package, no matter what provider I choose for python-huggingface-hub pacman will report unmet dependency errors.

The following is what gets reported if I chose python-huggingface-hub

    ==> Leaving fakeroot environment.
    ==> Finished making: python-huggingface-hub-git 0.13.0.dev0-1 (Di 07 Feb 2023 22:09:01 CET)
    ==> Cleaning up...
     -> Found git repo: github.com/huggingface/huggingface_hub
    loading packages...
    resolving dependencies...
    looking for conflicting packages...
    :: python-huggingface-hub-git and python-huggingface-hub are in conflict. Remove python-huggingface-hub? [y/N] 
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: python-huggingface-hub-git and python-huggingface-hub are in conflict
    error: target not found: python-huggingface-hub-git
     -> exit status 1

And this if I choose python-huggingface-hub-git I get this after the git package is built

    ==> Making package: python-datasets 2.9.0-1 (Di 07 Feb 2023 22:17:49 CET)
    ==> Checking runtime dependencies...
    ==> Missing dependencies:
      -> python-huggingface-hub>=0.2.0
      -> python-huggingface-hub<1.0.0
    ==> Checking buildtime dependencies...
    ==> ERROR: Could not resolve all dependencies.
    checking dependencies...
    warning: removing python-multiprocess from target list
    warning: removing python-huggingface-hub-git from target list
     there is nothing to do
     -> error making: python-datasets

Freed commented on 2022-11-21 07:14 (UTC)

pip install 'charset-normalizer==2.1.1' can solve the bug temporarily.