dependabot[bot]
a4e2bce5b2
build(deps-dev): bump dvc-oss from 2.19 to 2.20.0 ( #9870 )
...
Bumps [dvc-oss](https://github.com/iterative/dvc-oss ) from 2.19 to 2.20.0.
- [Release notes](https://github.com/iterative/dvc-oss/releases )
- [Commits](https://github.com/iterative/dvc-oss/compare/2.19.0...2.20.0 )
---
updated-dependencies:
- dependency-name: dvc-oss
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-08-23 08:45:43 +05:45
Ruslan Kuprieiev
736ca9a5e5
cache: check-missing: add type, oid name and oid
3.16.0
2023-08-23 02:07:32 +03:00
Ruslan Kuprieiev
cae1b1b647
ls/ls-url: use tqmd instead of humanize.naturalsize
...
Per https://github.com/iterative/dvc/pull/9857#issuecomment-1683185006
2023-08-22 20:21:08 +03:00
pre-commit-ci[bot] and Saugat Pachhai
3783d65dde
[pre-commit.ci] pre-commit autoupdate ( #9841 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.282 → v0.0.285](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.282...v0.0.285 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix ruff issues
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2023-08-22 15:22:57 +05:45
skshetry
0342e4f1c3
fix type hints ( #9863 )
2023-08-22 14:56:11 +05:45
skshetry
fc9af7a976
assert that the test is getting parametrized correctly ( #9859 )
...
Otherwise this may end up generating 0 or not enough commands, and passing tests
2023-08-19 13:57:48 +05:45
skshetry
fea59cfc52
tests: simplify test parametrization ( #9858 )
...
i.e. remove metafunc/pytest_generate_tests
2023-08-19 10:02:31 +05:45
Ruslan Kuprieiev
31ffce4fba
ls/ls-url: use humanize.naturalsize instead of tqdm
...
Currently we get odd formatting like
```
456 .devcontainer.json
139 .dvcignore
61.0 .gitattributes
96.0 .github
7.00 .gitignore
5.76k README.md
160 data
1.84k dvc.lock
519 dvc.yaml
4.00 foo
96.0 models
96.0 notebooks
225 params.yaml
46.0 requirements.txt
128 results
160 src
```
(notice stuff like 46.0)
and there doesn't seem to be a simple way to fix that in tqdm, in addition to
the general feeling that we are abusing tqdm's util for this.
So let's just use `humanize`, which gets us a more pleasing result:
```
456B .devcontainer.json
139B .dvcignore
61B .gitattributes
96B .github
7B .gitignore
5.8K README.md
160B data
1.8K dvc.lock
519B dvc.yaml
4B foo
96B models
96B notebooks
225B params.yaml
46B requirements.txt
128B results
160B src
```
2023-08-18 02:54:31 +03:00
dependabot[bot]
2da959acd1
build(deps-dev): update pytest-docker requirement from <2,>=1 to >=1,<3
...
Updates the requirements on [pytest-docker](https://github.com/avast/pytest-docker ) to permit the latest version.
- [Release notes](https://github.com/avast/pytest-docker/releases )
- [Changelog](https://github.com/avast/pytest-docker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/avast/pytest-docker/compare/v1.0.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: pytest-docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-08-18 00:41:47 +03:00
Ruslan Kuprieiev
72a42fce20
Update local.py
2023-08-18 00:31:52 +03:00
Dave Berenbaum and Ruslan Kuprieiev
1cbe64face
Update tests/unit/command/test_experiments.py
...
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2023-08-18 00:31:52 +03:00
dberenbaum
057b0112ea
exp: make run/save less noisy
2023-08-18 00:31:52 +03:00
Ruslan Kuprieiev
1805edbd32
import: set core.remote when both --remote and --remote-config are specified
...
From https://github.com/iterative/dvc/pull/9853#issuecomment-1682797083
2023-08-18 00:16:33 +03:00
Ruslan Kuprieiev
1723abcd79
ls/ls-url: introduce --size
...
I really need it only for studio right now, but this is really nice to have in a daily life
as well.
E.g.
```
$ dvc ls-url . --size
108 Metadata-and-Results.dvc
97 AudioMP3.dvc
97 AudioWAV.dvc
12181 README.md
54 .gitignore
168 .gitattributes
99 VideoFlash.dvc
312 LICENSE.txt
139 .dvcignore
96 AudioMP3
96 Asset
192 .dvc
64 Metadata-and-Results
64 AudioWAV
192 Scripts
64 VideoFlash
384 .git
96 .vscode
```
```
$ dvc list . --size
139 .dvcignore
168 .gitattributes
54 .gitignore
96 .vscode
96 Asset
96 AudioMP3
97 AudioMP3.dvc
64 AudioWAV
97 AudioWAV.dvc
312 LICENSE.txt
64 Metadata-and-Results
108 Metadata-and-Results.dvc
12181 README.md
192 Scripts
64 VideoFlash
99 VideoFlash.dvc
```
2023-08-18 00:08:48 +03:00
Ruslan Kuprieiev
3081c60414
dep: repo: handle dict as config ( #9853 )
2023-08-17 19:37:04 +03:00
dependabot[bot]
152991d878
build(deps-dev): bump mypy from 1.4.1 to 1.5.1 ( #9852 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.4.1 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.5.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-08-17 18:43:31 +05:45
skshetry
8098fd109d
plots: fix caching of legacy format ( #9849 )
...
* plots: fix caching of legacy format
* deps: bump dvc-data minversion to 2.15.0
2023-08-17 07:40:07 +05:45
Ruslan Kuprieiev
f0c1ff0219
fs: make _prepare_credentails/fs_args lazy ( #9848 )
...
* tests: unit: move s3 tests to dvc-s3
* deps: bump dvc-data to 2.14.0
* tests: unit: move azure tests to dvc-azure
3.15.3
2023-08-16 05:51:20 +03:00
Ruslan Kuprieiev
27c548575c
pyinstaller: declare dvc_ssh as hidden import ( #9840 )
...
Likely with removal of dvc-machine pyinstaller stopped picking up dvc_ssh automatically, so we need to declare it explicitly just like the rest of plugins.
3.15.2
2023-08-13 00:26:43 +03:00
Dave Berenbaum
79cc28501b
don't unprotect outs if not cached ( #9838 )
...
* don't unprotect outs if not cached
* fix tests
3.15.1
2023-08-11 18:12:25 +03:00
Peter Rowlands
a051b8b60f
remove support for dvc machine
3.15.0
2023-08-11 14:42:52 +09:00
Ruslan Kuprieiev
bee04c6d5f
deps: bump dvc-data to 2.13.1
...
Fixes #9733
2023-08-11 05:53:19 +03:00
Tibor Mach and Tibor Mach
04e891cef9
exp: Unify dvc exp list and show output ( #9808 )
...
* use _describe in exp list
* fix pre-commit checks
* simplistic fix
* single _describe, too complex
* slightly simpler
* even simpler
* simple, but with regex
* less substitutions
* describe public
* name handling in UI (tests need updating)
* fixed old tests
* lazy imports
---------
Co-authored-by: Tibor Mach <[email protected] >
2023-08-10 19:23:27 +09:00
Peter Rowlands
f5dda2d3cc
deps: bump scmrepo minver to 1.2.1
2023-08-10 19:21:06 +09:00
Ruslan Kuprieiev
e9545c8b55
fetch: merge config instead of updating
...
Update will replace sections instead of merging them together, which
is not desirable here.
Related https://github.com/iterative/studio/pull/6541
3.14.0
2023-08-10 04:52:08 +03:00
Ruslan Kuprieiev
09cfd911bb
config: use local config from local_dvc_dir
...
This used to work like so but by accident, when we didn't reload config
at all when collecting other revisions.
Regression from https://github.com/iterative/dvc/pull/9758
2023-08-10 04:36:42 +03:00
Ruslan Kuprieiev
4f61a63afd
config: resolve: handle ~ home dir
...
Fixes #9822
2023-08-10 03:28:32 +03:00
Ruslan Kuprieiev
c71b07b996
index: plot_keys: relparts -> parts
...
`_plot_sources` is messed up and needs a rewrite hard, but this will
do for now for studio purposes.
Related https://github.com/iterative/studio/pull/6541
3.13.3
2023-08-08 17:14:28 +03:00
Ruslan Kuprieiev
f4c0946f65
repo: cache: support some view options
3.13.2
2023-08-08 01:09:50 +03:00
Ruslan Kuprieiev
e35fb76dac
repo: add basic cache_check_missing
3.13.1
2023-08-07 22:23:49 +03:00
Ruslan Kuprieiev
722839dda6
fetch: add basic onerror
...
Related https://github.com/iterative/studio/pull/6541
3.13.0
2023-08-07 03:24:39 +03:00
Ruslan Kuprieiev
d5533348f7
deps: bump dvc-data to 2.12.0
2023-08-07 02:42:41 +03:00
dberenbaum
5d2ca11557
exp: abstract random name gen from repo
2023-08-06 13:13:11 +02:00
009b238807
Feature/hydra config modules ( #9783 )
...
* hydra: enable config modules
Lets the user specify Hydra configs in installed Python modules as well
as inside directories. Adds `hydra.config_module` to `.dvc/config`.
Fixes #9740
old tests green
tests for config modules
* hydra: fix linter errors
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* hydra: fix mypy error
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* hydra: fix tests
* Update dvc/utils/hydra.py
Co-authored-by: David de la Iglesia Castro <[email protected] >
* address comments
* convince mypy not to worry
* split long line
* fix test
* check for raised error in test
---------
Co-authored-by: Dom Miketa <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: David de la Iglesia Castro <[email protected] >
2023-08-06 10:39:09 +02:00
Ruslan Kuprieiev
43b371c43a
deps: bump dvc-data to 2.11.0
3.12.0
2023-08-04 15:42:25 +03:00
skshetry
d1160a28e0
dvc.yaml: add matrix-do ( #9725 )
...
* dvc.yaml: add matrix-do
* remove docs
* no do in matrix
* add types
2023-08-04 13:29:15 +05:45
skshetry
bc86fa0643
completion: fix broken completion generation for zsh ( #9797 )
...
`dvc commit --help` was also completely broken, which is also fixed.
This adds unit tests for completion generation for both zsh/bash, and
tests that --help works for all commands.
3.11.1
2023-08-04 09:21:01 +05:45
Saugat Pachhai (सौगात)
4067a86926
fix flaky test for repro --keep-going and --ignore
2023-08-04 05:46:58 +03:00
Ruslan Kuprieiev
9d1d51caa7
deps: bump dvc-data to 2.10.0
2023-08-04 03:40:36 +03:00
Peter Rowlands
761422638f
output: add progress for commit
3.11.0
2023-08-03 18:19:19 +09:00
Peter Rowlands
d01e2355d4
push/pull: generate explicit progress bars for dvc-data transfers
2023-08-03 18:19:19 +09:00
Peter Rowlands
aa94bfd66b
deps: bump dvc-data to 2.9.1
2023-08-03 18:19:19 +09:00
skshetry
b9b9f91084
ruff: enable autofix ( #9790 )
2023-08-03 11:08:29 +05:45
Ruslan Kuprieiev
8a382f51fd
deps: bump dvc-data to 2.9.0
2023-08-03 02:05:14 +03:00
Ruslan Kuprieiev
b235487ecc
ls/import/get: introduce --remote and --remote-config
...
Fixes #9656
2023-08-02 16:28:16 +03:00
pre-commit-ci[bot] and Saugat Pachhai
502b3df6c9
[pre-commit.ci] pre-commit autoupdate ( #9756 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.9.0 → v3.10.1](https://github.com/asottile/pyupgrade/compare/v3.9.0...v3.10.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.278 → v0.0.281](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.278...v0.0.281 )
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](https://github.com/PyCQA/flake8/compare/6.0.0...6.1.0 )
* fix issues reported by ruff
- also remove redundant flake8 plugins
- remove beautysh as we don't have any scripts now
- remove pyupgrade as it is redundant due to ruff
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2023-08-02 18:08:30 +05:45
dependabot[bot]
5c2fd67e6d
build(deps-dev): bump pylint from 2.17.4 to 2.17.5 ( #9769 )
...
Bumps [pylint](https://github.com/pylint-dev/pylint ) from 2.17.4 to 2.17.5.
- [Release notes](https://github.com/pylint-dev/pylint/releases )
- [Commits](https://github.com/pylint-dev/pylint/compare/v2.17.4...v2.17.5 )
---
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-07-31 16:35:40 +05:45
Fabian Zills
ed34c0f0bd
dvc commit update description (#9760 )
...
* Update commit.py
* fix formatting
2023-07-31 08:45:52 +00:00
Ruslan Kuprieiev
7c60dfd3c5
deps: bump dvc-data to >=2.8.1
3.10.1
2023-07-30 04:18:09 +03:00
Ruslan Kuprieiev
225814fdde
dvc: don't use realpath where not needed
3.10.0
2023-07-30 02:24:00 +03:00