skshetry
e7d4f5b24e
tests: filter warnings ( #9115 )
2023-03-06 15:41:45 +05:45
Peter Rowlands
1d2892efac
exp show: don't cache collection errors
2023-03-06 15:25:27 +09:00
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
e4d514c990
scm: Remove unused GitMergeError.
...
Not used after https://github.com/iterative/dvc/pull/9096
2023-03-03 18:09:57 +01:00
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
2cf3a12e46
tests: unmark exp celery tests as xfail
2023-03-02 15:44:34 +09:00
Peter Rowlands
78fb5275e5
exp: add dvc exp clean command
2023-03-02 12:35:54 +09:00
Peter Rowlands
ccbe2de89e
exp: auto cleanup celery on queue worker exit
2023-03-02 12:35:54 +09:00
Peter Rowlands
54e39e4abd
deps: bump dvc-task to >=0.2.0
2023-03-02 12:35:54 +09:00
Ruslan Kuprieiev
59a4c4f67c
remote: set hash_name as md5
...
Fixes #7977
2023-03-01 13:26:24 +02:00
Peter Rowlands
1a7ae16f69
exp: use stash-apply instead of merge
2023-03-01 19:11:12 +09:00
Peter Rowlands
286f4fda3e
repo: call Repo.close() on Repo.__exit__()
2023-03-01 17:49:27 +09:00
Peter Rowlands
d2c63bffcb
exp: ensure repo instance is closed after executor.reproduce
2023-03-01 17:49:27 +09:00
Peter Rowlands
2b41305c51
exp: fix queued run file descriptor leak
2023-03-01 17:49:27 +09:00
Ruslan Kuprieiev
546becddaf
deps: bump dvc-gs to 2.22.0
2023-03-01 08:36:33 +02:00
David de la Iglesia Castro
c6015a05a3
exp save: Don't relink during commit
...
Same change as in https://github.com/iterative/dvc/pull/9076 but for `exp save`
2023-02-28 22:29:57 +02:00
Ruslan Kuprieiev
c0754ee5b3
deps: bump dvc-data to 0.42.0
2023-02-28 14:48:34 +02:00
skshetry
4db2e89938
build: use macos-11 to build package ( #9091 )
...
macos-10.15 image has been deprecated for a while, see https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/ and https://github.com/actions/runner-images/issues/5583 .
setup-ruby removed the support for these images yesterday: https://github.com/ruby/setup-ruby/pull/467 .
which fails our package builds. Now using macos-11 to build packages.
2023-02-28 17:33:05 +05:45
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
a91528c3c9
Revert "testing: fixtures: fix docker regression"
...
This reverts commit b80d84e689 .
2023-02-27 15:02:22 +02:00
Ruslan Kuprieiev
b80d84e689
testing: fixtures: fix docker regression
2023-02-27 14:17:07 +02:00
skshetry
2a2c02c184
remove typing.cast ( #9082 )
2023-02-26 13:15:54 +05:45
Dave Berenbaum
35b648bbcf
plots: shorten names in the legend ( #8900 )
...
* plots: shorten field names
* plots: handle missing field names
* plots: make compatible with py3.8
* plots: fix for missing data
* plots: add test for field shortening
* plots: strip separators regardless of os
* plots: don't shorten field name
* plots: drop test for shortening field name
2023-02-24 17:26:16 +01:00
Peter Rowlands
96ac321dd5
repo: use local root when determining state/index db dirname
2023-02-24 16:33:42 +09:00
Peter Rowlands
50fd8ca15d
exp show: cache git refs per show() call
2023-02-24 16:33:26 +09:00
David de la Iglesia Castro
184cc35cf0
pull: Add allow_missing flag.
...
Allows `pull` to succeed even if some files or directories are missing.
Closes #4746
2023-02-24 09:11:50 +02:00
Ruslan Kuprieiev
81da91a973
exp: run: don't relink during commit
...
Part of #8809
2023-02-24 08:09:35 +02:00
Peter Rowlands
ad5b91e51a
exp show: cache collected git revs
2023-02-24 14:18:58 +09:00
Peter Rowlands
391cf80e7b
exp: support caching collected exp data
2023-02-24 14:18:58 +09:00
Peter Rowlands
8d13486048
exp: add SerializableExp dataclasses
2023-02-24 14:18:58 +09:00
Ruslan Kuprieiev
37761a2627
data: status: get rid of --not-in-remote
2023-02-21 12:32:40 +02:00
Ruslan Kuprieiev
968a8fde99
data: status: introduce --remote-refresh
2023-02-21 12:32:40 +02:00
David de la Iglesia Castro
3043b6588f
exp save: Use pathspec to handle include_untracked.
...
Closes #9061
2023-02-21 09:43:25 +01:00
47208533a2
Add metrics_show to dvc.api ( #9042 )
...
* refactor: add metrics_show, rename module to show
* tests: add functional tests for metrics_show
* api.show: return empty dict for no params/metrics
* test_show: Return relpaths in `metrics_repo`.
---------
Co-authored-by: codamuse <[email protected] >
Co-authored-by: David de la Iglesia Castro <[email protected] >
2023-02-20 21:53:38 +00:00
Ruslan Kuprieiev
09ccd9c7e4
repo: data_index: store in .dvc/tmp/index/data
2023-02-20 21:57:27 +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
6fbbbeccc5
index: store data index under tree prefix
...
Tidying it up, so root of the index will look like this:
```
tree/
remote/
```
This hasn't been released yet, so we are not breaking anything.
2023-02-20 13:33:22 +02:00
Ruslan Kuprieiev
c34cbf63af
data: status: introduce --not-in-remote
...
Also supports cloud versioning.
Fixes #8761
2023-02-20 12:25:17 +02:00
Ruslan Kuprieiev
b76aad8d56
data: status: rename with_missing to not_in_cache
2023-02-20 12:25:17 +02:00
Ruslan Kuprieiev
68bf095eae
remote: rename index prefix from remotes to remote
2023-02-20 12:24:46 +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
648edd71eb
exp: move apply tests into their own module
2023-02-20 14:36:38 +09:00
Peter Rowlands
0c95cde712
exp: remove unused ApplyConflictError
2023-02-20 14:36:38 +09:00
Peter Rowlands
e218431f64
apply: add --no-force deprecation message
2023-02-20 14:36:38 +09:00
Peter Rowlands
d3182e0dd9
exp apply: drop --no-force CLI option
2023-02-20 14:36:38 +09:00