Package Details: dvc 2.11.0-1

Git Clone URL: https://aur.archlinux.org/dvc.git (read-only, click to copy)
Package Base: dvc
Description: Open-source version control system for data science projects
Upstream URL: https://github.com/iterative/dvc
Licenses: Apache
Submitter: None
Maintainer: alerque
Last Packager: alerque
Votes: 4
Popularity: 0.037120
First Submitted: 2018-10-04 23:00 (UTC)
Last Updated: 2022-06-08 10:50 (UTC)

Pinned Comments

commented on 2018-10-04 23:54 (UTC)

Note: This package is not supported by the DVC maintainers.

https://github.com/iterative/dvc/pull/1188

Latest Comments

vuvko commented on 2022-01-10 12:33 (UTC)

I cannot confirm on a clean system now, but at least on almost clean one, it installed just from AUR (without the need of cloning your user repository).

vuvko commented on 2022-01-10 12:32 (UTC)

I installed it without an issue and it seems to work (at least dvc init does not throw errors).

alerque commented on 2022-01-10 12:12 (UTC)

@vuvko Can you give the -2 pkgrel bump here a try? I've added packages for some of the new dependencies to the AUR and fixedup as much as I can. Some of the AUR packages for dependencies are not mine and are currently broken, but the builds of them in my user repository should be workable (dvc is there too). It would be great to get confirmation that it functions properly again.

alerque commented on 2022-01-10 11:08 (UTC)

@vuvko Wow what a fiasco. It appears previous versions were being naughty and installing vendored dependencies silently during build. The latest version is being naughty in different way(s), including but not limited to the PyPi release actually being a git archive source tarball not an actual sdist build. Gah. I'll try to get something working, but the upstream project officially denouncing source builds makes this a hard one to keep up with.

vuvko commented on 2022-01-10 10:06 (UTC)

@alerque I understand your skepticism regarding the pip check, but it should get dependencies from the dvc's setup.cfg. Also after installation using this PKGBUILD the dvc init command is exiting with an error:

ModuleNotFoundError: No module named 'fsspec'  

After installing fsspec it cannot find a dpath module and so on.

alerque commented on 2022-01-10 09:34 (UTC)

@vuvko I'm happy to accept contributions for confirmed dependency issues as patches here (use git format-patch) or as PRs on this GitHub repo. That being said I'm not convinced all those things are actually problems, pip check is not an authority on what is actually required to function. My observation is all or most of those are not needed, but some may be valid to list as optdepends.

vuvko commented on 2022-01-09 07:59 (UTC)

After installing with this PKGBUILD a lot of dependencies are still missing:

% pip check | grep dvc
dvc 2.9.3 requires aiohttp-retry, which is not installed.
dvc 2.9.3 requires dictdiffer, which is not installed.
dvc 2.9.3 requires diskcache, which is not installed.
dvc 2.9.3 requires dpath, which is not installed.
dvc 2.9.3 requires flatten-dict, which is not installed.
dvc 2.9.3 requires fsspec, which is not installed.
dvc 2.9.3 requires pydot, which is not installed.
dvc 2.9.3 requires python-benedict, which is not installed.
dvc 2.9.3 requires rich, which is not installed.
dvc 2.9.3 requires scmrepo, which is not installed.
dvc 2.9.3 has requirement grandalf==0.6, but you have grandalf 0.7.

piotlinski commented on 2021-10-06 09:10 (UTC)

On my installation there is some issue with fsspec module:

Traceback (most recent call last):
  File "/usr/bin/dvc", line 8, in <module>
    from dvc.main import main
  File "/usr/lib/python3.9/site-packages/dvc/__init__.py", line 6, in <module>
    import dvc.logger
  File "/usr/lib/python3.9/site-packages/dvc/logger.py", line 8, in <module>
    from dvc.progress import Tqdm
  File "/usr/lib/python3.9/site-packages/dvc/progress.py", line 6, in <module>
    import fsspec
ModuleNotFoundError: No module named 'fsspec'

I tried installing it manually with pip, but there is some version mismatch, I was not able to sort out.

alerque commented on 2021-09-20 17:55 (UTC)

Please restore the build() function like this once was. Having it split is important for some environments and makes debugging the build easier for all possible scenarios. Also it's the guidelines, please refer to the wiki on packaging Python stuff.

This also needs a check() function and some related dependencies.

haawda commented on 2021-03-17 16:57 (UTC)

matmo, what makes you think so? builds fine for me in clean changeroot.

matmo commented on 2021-03-17 08:57 (UTC) (edited on 2021-03-17 09:08 (UTC) by matmo)

Missing dependencies on my system: python-pygtrie python-shtab python-diskcache python-dulwich python-dpath python-networkx

GBl commented on 2020-04-02 08:11 (UTC)

Hey mroutis!

Okay, I took the pip path, thanks for pointing me to the appropriate resources. I've flagged the package as out of date.

Best :)

commented on 2020-04-02 04:19 (UTC)

https://aur.archlinux.org/packages/dvc#comment-736672

Hey, GBI, thanks for letting me know! Although, I no longer maintain this package. Actually, there's no actual maintainer who can address this :(

However, DVC folks have provided several methods to install DVC (anaconda, pip, etc.)

I understand that sometimes is more practical to have a system-wide installation of DVC. In that case, you can generate a PKGBUILD from the already provided package with https://github.com/anntzer/pypi2pkgbuild .

My recommendation would be to rely on pip to either, install the package in your home directory (with the --user option), or do a per-project installation.

Thanks for reaching out :)

GBl commented on 2020-03-31 09:56 (UTC) (edited on 2020-03-31 09:58 (UTC) by GBl)

Hello mroutis!

I think there lacks a depencency, it is not in aur:

==> Install or build missing dependencies for dvc:

error: target not found: python-shortuuid

I had to manually install it through pip: pip install shortuuid

And remove it from the PKGBUILD

TrialnError commented on 2020-01-11 19:01 (UTC) (edited on 2020-01-11 19:02 (UTC) by TrialnError)

Updates regarding the Python Packaging Guidelines.
Also updating to the latest version (quite active those folks oO) and adjusting the dependencies.
Work to be done: Implement check() function. And every dep downloaded in this PKGBUILD should be uploaded as an extra package to the AUR.
Dunno if I will do it. In that regard, I'm orphaning it for now

commented on 2018-10-04 23:54 (UTC)

Note: This package is not supported by the DVC maintainers.

https://github.com/iterative/dvc/pull/1188