Ruslan Kuprieiev
c7be921f44
cachemgr: don't use tmp_dir
...
We used to use it in gdrive before https://github.com/iterative/PyDrive2/pull/211
2023-02-16 06:43:20 +02:00
Ruslan Kuprieiev
c95c3f0f7a
deps: limit types-tqdm
...
See https://github.com/iterative/dvc/pull/9036
2023-02-16 06:43:20 +02:00
skshetry
be824ede0d
render: avoid deepcopying ( #9033 )
...
* render: avoid deepcopying
* remove unnecessary line
2023-02-15 16:25:45 +05:45
Ruslan Kuprieiev
cbe46cccd8
data: status: fix typo
...
Leftover from #9031
2023-02-15 07:18:19 +02:00
Ruslan Kuprieiev
49b5157abe
diff: use index
2023-02-15 06:40:02 +02:00
Ruslan Kuprieiev
6f87c14bf9
data: status: bring back ui.status
2023-02-15 05:57:50 +02:00
Ruslan Kuprieiev
0f80d16ba7
data: status: fix typing
2023-02-15 05:57:50 +02:00
Ruslan Kuprieiev
4b23b4f8ae
repo: cache index for cloud versioning
...
This allows us to reuse cloud versioning index that we've built in other
operations like `data status`.
Note, this only works with `dvc config feature.data_index_cache true`
right now.
Also note that index is not populated for regular remotes, it will come
in a separate PR as there are some http-related issues to figure out.
Related #8962
2023-02-15 04:53:48 +02:00
Ruslan Kuprieiev
446871d84f
index: build_data_index: use dvcignore
...
Fixes #9008
2023-02-14 21:33:43 +02:00
dependabot[bot]
99bbe15980
build(deps-dev): bump pylint from 2.16.1 to 2.16.2 ( #9020 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.1 to 2.16.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.1...v2.16.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-02-14 22:35:59 +05:45
David de la Iglesia Castro
320771551b
exp: Preserve staged changes after experiments.
...
- Detach head after stashing workspace.
- Use reinstate_index.
2023-02-14 16:59:10 +01:00
David de la Iglesia Castro
1676d1f344
Add test_stash_exp.
2023-02-14 16:59:10 +01:00
David de la Iglesia Castro
c8ae2895f0
deps: bump scmrepo==0.1.10
...
https://github.com/iterative/scmrepo/releases/tag/0.1.10
2023-02-14 16:59:10 +01:00
skshetry
ed1ab7fa75
scm: use dulwich backend when fetching exps during clone/pull ( #9023 )
...
refspecs uses pygit2 backend by default, which does not support git credential
helpers. This PR forces to use dulwich backend during clone/pull operations.
2.45.0
2023-02-14 19:18:40 +05:45
Karan Jakhar
73497dae9e
Handle filenames which has ":" ( #9000 )
...
* Fixes #8773 issue
* added test for #8773 issue
* skip test for windows
2023-02-14 11:21:32 +00:00
skshetry
eff775c760
brancher: add trace when switching filesystem ( #9022 )
...
brancher: add trace info when switching filesystem
2023-02-14 15:27:18 +05:45
Ruslan Kuprieiev
e73d662686
repo: introduce data_index
...
Extracting from `index.data` as a "root" data index that contains indexes
for different revisions/workspaces.
This is a setup for putting cloud versioning remote indexes and also replacing
old state.
2023-02-13 06:31:44 +02:00
Ruslan Kuprieiev
86a6fb104a
index: experimental persistent data index
...
Related https://github.com/iterative/dvc-data/issues/208
2023-02-13 02:57:30 +02:00
Ruslan Kuprieiev
3b097dcccd
deps: bump dvc-data to 0.40.1
2023-02-12 09:12:08 +02:00
David de la Iglesia Castro
e910dac0dc
Update pyproject.toml
2023-02-10 10:59:32 +01:00
David de la Iglesia Castro
17a71d6011
plots: Rename template_path to html_template.
2023-02-10 10:59:32 +01:00
dependabot[bot]
5a6ccc8027
build(deps-dev): bump dvc-render from 0.1.1 to 0.1.2
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.1.1...0.1.2 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-02-10 10:59:32 +01:00
pre-commit-ci[bot]
6dccfcb3f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-02-10 04:47:57 +02:00
karajan1001
2b0c365f35
Fix some mypy error.
2023-02-10 04:47:57 +02:00
dberenbaum
611e2f4311
update rich
2023-02-09 23:18:50 +02:00
dberenbaum
561a375b48
update: drop worktree from cli
2023-02-09 23:03:50 +02:00
skshetry
e51345e276
get/import: lazy import dvc.scm; reduces dvc --help by ~20% ( #8996 )
2.44.0
2023-02-09 15:04:55 +05:45
skshetry
00e61e18ae
logging: do not disable other loggers ( #8995 )
...
Closes https://github.com/iterative/dvc/issues/8631
2023-02-09 15:04:29 +05:45
skshetry
5490fc00d1
logger: check isatty stream to print colored logs or not instead of depending on colorama ( #8993
...
logger: check isatty stream to print colored logs or not
2023-02-09 13:50:38 +05:45
skshetry
f1043676da
[WIP] logging: change from dictConfig to equivalent code for creating logge… ( #8985
...
logging: change from dictConfig to equivalent code for creating loggers/handlers/formatters
dictConfig clears all handlers, and potentially disables existing loggers (we disabled this functionality
though). There's much more code than necessary in dictConfig than what we need.
I have tried to keep the setup equivalent to what we had in the config, so I have not tried to cleanup
the code.
2023-02-09 09:34:14 +05:45
Ruslan Kuprieiev
f7ebcbb974
deps: bump dvc-data to 0.39.3
2023-02-09 05:44:50 +02:00
dependabot[bot]
c637b963e0
build(deps-dev): bump dvc-azure from 2.21.0 to 2.21.1 ( #8991 )
...
Bumps [dvc-azure](https://github.com/iterative/dvc-azure ) from 2.21.0 to 2.21.1.
- [Release notes](https://github.com/iterative/dvc-azure/releases )
- [Commits](https://github.com/iterative/dvc-azure/compare/2.21.0...2.21.1 )
---
updated-dependencies:
- dependency-name: dvc-azure
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-09 08:31:13 +05:45
Ruslan Kuprieiev
9156bb80db
output: rename odb -> cache
2023-02-09 00:44:18 +02:00
Ruslan Kuprieiev
58295ca0ab
repo: rename odb -> cache
...
We used to have it named `cache` before, but these days it is clear that
you can have three odbs: just odb (e.g. in-memory), cache (typically local)
or remote (typically cloud). Fixing naming here before proceeding with
introducing `out.odb` and `out.cache`.
In preparation for migration to https://github.com/iterative/dvc-data/pull/304
2023-02-08 23:05:45 +02:00
skshetry
4176007493
push: check if versioning is supported or not during checkout on cloud versioning ( #8949 )Fixes https://github.com/iterative/dvc/issues/8824
...
* push: check if versioning is supported or not during checkout on cloud versioning
* bump dvc-data to 0.38.4
2023-02-08 17:05:27 +05:45
dependabot[bot] and Gao
9d7883f529
build(deps-dev): bump pytest-xdist from 3.1.0 to 3.2.0 ( #8981 )
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
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>
Co-authored-by: Gao <[email protected] >
2023-02-08 07:31:21 +00:00
Peter Rowlands
93c556acdd
index: fix index entries for partial import stages
2023-02-08 15:34:15 +09:00
Peter Rowlands
676b1e47e9
import-url: update stage md5 after unpartialing imports
2023-02-08 15:34:15 +09:00
Peter Rowlands
0b141ac08a
testing: test cloud versioned import-url --no-download
2023-02-08 15:34:15 +09:00
dependabot[bot]
b4db1e06a1
build(deps-dev): bump dvc-render from 0.1.0 to 0.1.1 ( #8982 )
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.1.0...0.1.1 )
---
updated-dependencies:
- dependency-name: dvc-render
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-08 09:11:42 +05:45
dependabot[bot]
0d0fff6ddc
build(deps-dev): bump dvc-data from 0.38.1 to 0.38.3 ( #8983 )
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.38.1...0.38.3 )
---
updated-dependencies:
- dependency-name: dvc-data
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-08 09:11:28 +05:45
Hagai Kariti
6c8c26f741
Support setting a exp name prefix in hydra sweeps
2023-02-07 18:49:23 +01:00
Peter Rowlands
f68a12558a
testing: mark 00 prefix tests xfail on fs without find()
2023-02-07 15:17:29 +09:00
Ruslan Kuprieiev
a8a5b29fb7
deps: bump dvc-data to 0.38.1 ( #8976 )
2023-02-07 06:58:15 +02:00
skshetry
037e2e54f0
serialization: reorder files section metadata ( #8950
...
serialization: reorder files section
2023-02-07 10:05:36 +05:45
skshetry
ae80889477
logging: defer calling colorama.init() in jupyter, otherwise initialize immediately ( #8969 )Closes https://github.com/iterative/dvc/issues/8957
...
logging: init colorama before logging if outside jupyter env
Otherwise, tty detection does not work as `colorama.init()` mutates
sys.stdout/sys.stderr, and after `dictConfig()`, the handlers will hold
on to the stream.
2023-02-07 10:05:05 +05:45
Gao
e1acab5113
Use pygit2 backend for fetch_refspecs ( #8907 )
...
fix : #8762
1. partly solve #8787 and #8477
2. Improve the performance
3. Bump `scmrepo` into 0.1.9
2023-02-06 16:07:00 +02:00
d84196db62
studio: Move post_live_metrics from queue to executor ( #8955 )
...
* studio: Move `post_live_metrics` from `queue/workspace` to `executor/base`.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update dvc/repo/experiments/utils.py
Co-authored-by: skshetry <[email protected] >
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2023-02-06 13:31:10 +00:00
Peter Rowlands
80c2815e67
deps: bump dvc-data to 0.37.8
2.43.4
2023-02-06 21:18:44 +09:00
Peter Rowlands
e42a01a3dd
testing: re-add 00 prefix remote traverse tests
2023-02-06 21:18:44 +09:00