dependabot[bot]
ed6cf093a8
build(deps-dev): bump pylint from 2.17.1 to 2.17.2 ( #9299 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.17.1...v2.17.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 10:11:47 +05:45
skshetry
7c3c47b4a2
bump ruff to 0.0.260 and enable bandit ( #9300 )
...
* bump ruff to 0.0.260 and enable bandit
* install toml extra for bandit
* suppress insecure use of hash md5
2023-04-04 10:01:43 +05:45
Ruslan Kuprieiev
ecdc44e010
dep: repo: use dvcfs
...
Makes dvc get/import/etc use dvcfs, which already supports cloud versioning,
circular imports and other stuff.
Also makes dvc import behave more like dvc import-url, so that we can use
the same existing logic for fetching those using index instead of objects.
Fixes #8789
Related iterative/studio#4782
2023-04-02 03:55:02 +03:00
David de la Iglesia Castro
894f530d22
deps: bump dvc-studio-client>=0.6.1,<1
2023-03-30 11:23:07 +02:00
Ruslan Kuprieiev
d41512c85c
deps: bump dvc-data to 0.46.0 ( #9241 )
...
* utils: determine_linecol: ignore mypy attr-defined error
* deps: bump dvc-data to 0.46.0
2023-03-26 22:06:23 +03:00
Peter Rowlands
1f80f2f2ed
deps: bump scmrepo to 0.1.17
2023-03-24 19:31:27 +09:00
Ruslan Kuprieiev
40484e8d57
dvcfs: handle broken symlink/TreeError ( #9231 )
...
* plots: handle broken symlink/TreeError
* dvcfs: ls: raise FileNotFoundError on broken symlink/TreeError
* deps: bump dvc-data to 0.45.1
2023-03-23 15:38:21 +02:00
dependabot[bot]
5c442cb867
build(deps-dev): bump pylint from 2.17.0 to 2.17.1 ( #9229 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.17.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 09:24:52 +01:00
skshetry
c52b12ac2a
dvcfs: support caching remote streams; use that in plots ( #9183 )
...
* dvcfs: support caching remote streams; use that in plots
* plots: show progress bar, cap max_workers to 16
* bump dvc-data to 0.44.1
2023-03-17 16:04:16 +05:45
David de la Iglesia Castro
2d820cccad
deps: bump dvc-render>=0.3.1<0.4.0.
...
For https://github.com/iterative/dvc-render/pull/124
2023-03-16 21:36:02 +01:00
Ruslan Kuprieiev
c8745dd580
deps: bump dvc-data to 0.44.0
2023-03-15 03:41:19 +02:00
Dave Berenbaum
12955da3c3
exp: fail fast in empty git repo ( #8840 )
2023-03-14 17:16:17 +00:00
Ruslan Kuprieiev
54a6709d99
Update pyproject.toml
2023-03-13 21:03:33 +02:00
Ruslan Kuprieiev
e4a5a2aec5
deps: bump dvc-data to >=0.43.0
2023-03-13 21:03:33 +02:00
Ruslan Kuprieiev
612f3039e0
repo: move state/index/data_index to site_cache_dir
...
We use all of these for optimization and should not depend on a potentially slow or broken
filesystem on which repository resides (could be HDD or CIFS/NFS/overlayfs/etc).
This PR means a few things:
* all odd filesystems that dvc repo might be on will work quickly out of the box
* when we start caching cloned repositories for `dvc get/import`, we will be
able to cache indexes for them as well (note that bare clones don't have a
worktree so there is no place for .dvc/tmp with the old approach).
* `index.dir` and `state.dir` are now obsolete.
* `dvc init` will cleanup site_cache_dir.
Related #5562
2023-03-13 02:58:23 +02:00
Ruslan Kuprieiev
17f523bf86
deps: bump dvc-data to >=0.42.3
2023-03-11 02:01:31 +02:00
Ruslan Kuprieiev
8ed9b911db
deps: bump dvc-data to >= 0.42.2
2023-03-10 22:40:59 +02:00
dependabot[bot]
1cfdc22549
build(deps-dev): bump pylint from 2.16.4 to 2.17.0 ( #9141 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.4 to 2.17.0.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.4...v2.17.0 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 16:23:47 +05:45
skshetry
08a50ee36e
tests: error on ResourceWarning ( #9123 )
...
* tests: error on ResourceWarning
* run-cache: avoid leaking temp files on Windows
* set returncode to popen to avoid ResourceWarning on gc.collect()
2023-03-08 15:36:10 +05:45
David de la Iglesia Castro
f1ea64c4ef
studio: Send metrics on done event. ( #9027 )
2023-03-07 19:47:22 +01:00
dependabot[bot]
7ede45af2d
build(deps-dev): bump mypy from 1.0.1 to 1.1.1 ( #9126 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v1.0.1...v1.1.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 23:13:54 +05:45
skshetry
51db1765ee
migrate from appdirs to platformdirs ( #9131 )
...
appdirs has been deprecated/unmaintained, platformdirs is now recommended.
Closes #9130 .
2023-03-07 23:13:28 +05:45
dependabot[bot]
77e900fed2
build(deps-dev): bump pylint from 2.16.3 to 2.16.4 ( #9127 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.3 to 2.16.4.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.3...v2.16.4 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 10:17:04 +05:45
skshetry
93eea0cd42
deps: bump scmrepo to 0.1.15; close subrepo.dvc on tests teardown ( #9122 )
2023-03-06 20:21:42 +05:45
skshetry
c5a3566e49
deps (tests): require pytest-xdist>=3.2, use -n=logical workers and workstealing scheduler ( #9116 )
2023-03-06 15:54:45 +05:45
skshetry
e7d4f5b24e
tests: filter warnings ( #9115 )
2023-03-06 15:41:45 +05:45
dependabot[bot]
83835afa69
build(deps-dev): bump pylint from 2.16.2 to 2.16.3 ( #9113 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.2 to 2.16.3.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.2...v2.16.3 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 10:33:02 +05:45
skshetry
4c5d052d8c
update ruff to v0.0.254 ( #9110 )
2023-03-04 17:26:59 +05:45
David de la Iglesia Castro
baeecd1972
deps: Bump scmrepo>=0.1.14
2023-03-03 15:42:41 +01:00
David de la Iglesia Castro
dbd098506c
deps: Drop dvclive.
...
See https://github.com/iterative/dvclive/pull/481
2023-03-03 14:45:48 +01:00
Ruslan Kuprieiev
4779c248f8
deps: bump dvc-data to >=0.42.1
2023-03-02 17:53:07 +02:00
Peter Rowlands
54e39e4abd
deps: bump dvc-task to >=0.2.0
2023-03-02 12:35:54 +09:00
Ruslan Kuprieiev
546becddaf
deps: bump dvc-gs to 2.22.0
2023-03-01 08:36:33 +02:00
Ruslan Kuprieiev
c0754ee5b3
deps: bump dvc-data to 0.42.0
2023-02-28 14:48:34 +02:00
skshetry
4a6f3ed64a
dvc.testing: fix lockfile in docker_services fixture ( #9088 )
...
dvc.testing.docker_services: rollback to previous state
where we were not tearing down the containers
2023-02-28 16:54:33 +05:45
David de la Iglesia Castro
9f0c4350bd
deps: Bump scmrepo>=0.1.13.
...
Closes #9080
2023-02-28 17:46:09 +09:00
Ruslan Kuprieiev
968a8fde99
data: status: introduce --remote-refresh
2023-02-21 12:32:40 +02:00
Ruslan Kuprieiev
cd9dd0a312
index: use has_node instead of ls
...
Current code doesn't work for prefixes longer than one, which makes index cache
effectively not work and it should've used has_node from the very start anyway.
2023-02-20 17:45:15 +02:00
Ruslan Kuprieiev
ea6e01d0e0
dvcfs: implement get_file
...
Currently we use `open`, which is much slower. For example,
```
$ dvc get dvc-bench data/small/dataset
```
goes down from 110sec to 50sec.
Discovered as a part of https://github.com/iterative/dvc-bench/issues/419
2023-02-20 11:10:13 +02:00
dependabot[bot] and Saugat Pachhai
19038b32bd
build(deps-dev): unpin pytest-docker
...
* fix docker fixtures and unpin pytest-docker
* git_server: mount volume to different /custom-cont-init.d
---------
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2023-02-20 12:57:31 +05:45
Peter Rowlands
03bfdf2663
deps: use ranges for dvc sub-packages
2023-02-20 14:35:08 +09:00
skshetry
8edaef0103
deps: drop importlib-resources and typing-extensions ( #9055 )
...
deps: remove importlib-resources and typing-extensions
2023-02-19 11:36:48 +05:45
skshetry
fd8a8c2729
pyproject: format using pyproject-fmt ( #9053 )
...
I haven't added pyproject-fmt to pre-commit hook because of two reasons:
1. There is a bug that keeps adding empty lines after `[[tool.mypy.overrides]]`.
2. The list gets exploded to multiple lines. However, this is a minor issue.
2023-02-18 23:07:57 +05:45
skshetry
5426ca6f79
deps (tests): unpin test deps ( #9052 )
2023-02-18 22:41:50 +05:45
skshetry
a89c25700f
pyproject.toml: cleanup metadata ( #9051 )
2023-02-18 17:40:36 +05:45
dependabot[bot]
0e0bb8ad76
build(deps-dev): bump mypy from 0.991 to 1.0.1 ( #9049 )Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
...
Bumps [mypy](https://github.com/python/mypy ) from 0.991 to 1.0.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.991...v1.0.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 17:03:41 +05:45
skshetry
1de37556d5
bump ruff to v0.0.247 ( #9050 )
...
* bump ruff to v0.0.247
* ruff: enable pep8-naming check
rename some camelCased APIs, especially in logger
rename G variables to graph
ignore some variable namings and help messages in dvc.commands
2023-02-18 16:50:35 +05:45
Ruslan Kuprieiev
098685b8f3
deps: bump dvc-data to 0.40.4
...
Improves index view related performance (e.g. `dvc diff`).
2023-02-18 11:35:01 +02:00
dependabot[bot]
3f0da8f6cc
build(deps-dev): bump scmrepo from 0.1.10 to 0.1.11 ( #9039 )Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.1.10...0.1.11 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 18:03:13 +05:45
Ruslan Kuprieiev
c95c3f0f7a
deps: limit types-tqdm
...
See https://github.com/iterative/dvc/pull/9036
2023-02-16 06:43:20 +02:00