skshetry
d762372d55
schema: add strict schema validation for top-level plots ( #8289 )
...
schema: add strict schema validation for plots
2022-09-15 16:30:10 +05:45
Peter Rowlands
f3d304580a
schema: update lockfile schema for versioning and dir files
2022-09-15 13:13:31 +03:00
Peter Rowlands
0e0d46e232
output: lazy load tree from files list in get_obj
2022-09-15 13:13:31 +03:00
Peter Rowlands
95ae018ed8
push/fetch: support dirs in worktree remotes
2022-09-15 13:13:31 +03:00
Peter Rowlands
c29e721823
output: support loading/dumping dir trees from metadata
2022-09-15 13:13:31 +03:00
Peter Rowlands
a9c7032d50
dvc-data: bump to 0.8.0
2022-09-15 13:13:31 +03:00
Peter Rowlands
ecb767d622
index: add workspace/key generation helper
2022-09-15 13:13:31 +03:00
Saugat Pachhai (सौगात)
fa45a9bbba
dvcfs: default open to binary mode
2022-09-15 13:11:52 +03:00
daniele
f50ae589ba
deps: remove unused mock dep ( #8290 )
2022-09-15 07:34:21 +05:45
Daniele Trifirò
611c114f01
import-url: pass fs_config down from imp_url to get_cloud_fs
2022-09-14 22:26:19 +03:00
skshetry
fdc18d5483
expose dvcfs in dvc.api and add to fsspec's registry ( #8287 )
...
* expose dvcfs in dvc.api and add to fsspec's registry
* readd __all__ to avoid exposing modules
2022-09-14 20:02:56 +05:45
David de la Iglesia Castro
3b532b7d59
exp run: Support hydra basic sweeper.
...
Requires `--queue` to be used alongside `--set-param`.
Doesn't strictly require `hydra.config.enabled`.
Add `get_hydra_sweeps` to `dvc/utils/hydra.py`. Uses hydra `BasicSweeper` to generate the different sweeps.
`glob` syntax for sweeps is not supported in this P.R.
Closes #8083
---
Using setup from https://hydra.cc/docs/tutorials/basic/your_first_app/composition/ :
```console
$ dvc exp run -S "db=mysql,postgresql" -S "schema=warehouse,school" --queue
Queueing with '{'params.yaml': ['db=mysql', 'schema=warehouse']}'.
Queued experiment '5ab98b8' for future execution.
Queueing with '{'params.yaml': ['db=mysql', 'schema=school']}'.
Queued experiment '57c2fb6' for future execution.
Queueing with '{'params.yaml': ['db=postgresql', 'schema=warehouse']}'.
Queued experiment 'b9d6391' for future execution.
Queueing with '{'params.yaml': ['db=postgresql', 'schema=school']}'.
Queued experiment '145cd55' for future execution.
```
2022-09-13 13:43:30 +02:00
skshetry
e78c4455de
dvcfs: remove unused config code for opening a repo, change signature ( #8277 )
...
dvcfs: remove unused code for opening a repo
2022-09-13 09:26:33 +05:45
skshetry
8e5f4a8f35
data ls: new command to show metadata with outputs ( #8252 )
...
data ls: add new command to show metadata for the outputs
2022-09-09 17:36:24 +05:45
Saugat Pachhai (सौगात)
cb3159e586
dvcfs: remove config
2022-09-09 13:16:27 +03:00
skshetry
7b301b09a1
data status: fix type hints ( #8275 )
2022-09-09 13:38:41 +05:45
skshetry
55b16166c8
add/import/import-url: update help message for labels/type/desc ( #8271 )
2022-09-08 23:09:10 +05:45
Ronan Lamy
c70d0bd14d
fs: cleanup and rename _get_fs_pair_2() to _get_subrepo_info()
2022-09-08 17:39:32 +03:00
Ronan Lamy
b99a0cd6ca
fs: _get_dvc_path() cannot be called with dvc_fs=None
2022-09-08 17:39:32 +03:00
Ronan Lamy
d4170b2ec0
fs: refactor _get_fs_pair_2()
2022-09-08 17:39:32 +03:00
Ronan Lamy
a3181bb509
fs: remove _get_fs_pair()
2022-09-08 17:39:32 +03:00
Ronan Lamy
4d6b90502b
fs: improve performance of _DvcFileSystem._update()
...
Avoid back and forth conversions between key tuples and path strings.
2022-09-08 17:39:32 +03:00
Ronan Lamy
947427f4d9
fs: remove dead code
2022-09-08 17:39:32 +03:00
Ronan Lamy
0482a1a88b
fs: simplify data flow
...
This uses the fact that repo.fs is always self.repo.fs and that
self.repo.fs always exists.
2022-09-08 17:39:32 +03:00
Ronan Lamy
b470459987
fs: simplify return values of _get_fs_pair_2()
2022-09-08 17:39:32 +03:00
Ronan Lamy
81a010674e
fs: avoid costly redundant dvcignore check when calling ._info() from .ls()
2022-09-08 17:39:32 +03:00
Ronan Lamy
d946a1328e
fs: Extract ._info() from .info()
...
This avoids unnecessarily recomputing dvc_parts when calling .info()
from .ls()
2022-09-08 17:39:32 +03:00
Ronan Lamy
ad7d39da20
fs: chop up ._get_fs_pair()
2022-09-08 17:39:32 +03:00
Saugat Pachhai (सौगात)
8432de5980
metadata: add support for dvc.yaml file
2022-09-08 15:10:33 +03:00
Saugat Pachhai (सौगात)
c73764156e
metadata: support custom metadata in .dvc files
...
This adds support for custom metadata in outputs under `meta` key.
Also adds `--meta` flag to `add`/`import`/`import-url` that supports
`key=value` values.
2022-09-08 14:10:35 +03:00
skshetry
df60df5242
add metadata fields: label, type to data ( #8232 )
...
gto like metadata fields: labels and type
2022-09-08 16:33:47 +05:45
dependabot[bot]
504485ed6e
build(deps-dev): Bump pylint from 2.15.0 to 2.15.2 ( #8268 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.15.0 to 2.15.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.15.0...v2.15.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 10:57:12 +05:45
dependabot[bot]
1e989bde2c
build(deps): Bump scmrepo from 0.1.0 to 0.1.1 ( #8269 )
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.1.0...0.1.1 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 10:56:53 +05:45
Ruslan Kuprieiev
7e2248bbe5
deps: bump dvc-data to 0.7.1
2022-09-07 23:07:35 +03:00
Daniele Trifirò
a2d80b2403
silence flake8 errors (abstract class with no abstract method)
2022-09-07 21:51:33 +03:00
Daniele Trifirò
76e7c76ae5
data status: fix for scmrepo 0.1.0
2022-09-07 21:48:53 +03:00
Ruslan Kuprieiev
6cada6dc12
dvc: cloud versioning POC
2022-09-07 21:43:34 +03:00
Ruslan Kuprieiev
89d4461908
deps: temporarily limit dulwich to <0.20.46
...
Looks like the new release broke some data status logic.
2022-09-07 02:56:14 +03:00
Ruslan Kuprieiev
a124d7e866
deps: bump dvc-data to 0.6.3
2022-09-07 02:23:29 +03:00
Ruslan Kuprieiev
628be2ae49
deps: bump dvc-data to 0.6.1
2022-09-06 20:30:20 +03:00
dependabot[bot]
7a71e06946
build(deps): Bump dvc-render from 0.0.9 to 0.0.10
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.0.9 to 0.0.10.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.0.9...0.0.10 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-09-06 17:12:36 +02:00
dependabot[bot]
91e54d8c27
build(deps): Bump dvc-data from 0.4.0 to 0.5.3
2022-09-06 17:17:21 +03:00
skshetry
071b2b8f81
add support for foreach target ( #8210 )
...
add general support for foreach target
2022-09-06 06:39:37 +05:45
skshetry
0b2b59a601
dvc.yaml: preserve outputs' desc on rewrites/updates to the stage ( #8247 )
...
preserve outputs' desc on rewrites/updates to the stage
We were not loading `desc` of the output, due to which we were not preserving the desc field over rewrites. Note that the rewrite only happens in select commands for `dvc.yaml`: `freeze`/`unfreeze`/`run`/`stage-add`, so we did not notice this before.
2022-09-05 18:49:39 +05:45
dependabot[bot]
65dc1cd08f
build(deps-dev): Bump pytest from 7.1.2 to 7.1.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.2...7.1.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-09-03 02:04:01 +03:00
dependabot[bot]
1b103297b7
build(deps-dev): Bump dvc-azure from 2.20.0 to 2.20.2
...
Bumps [dvc-azure](https://github.com/iterative/dvc-azure ) from 2.20.0 to 2.20.2.
- [Release notes](https://github.com/iterative/dvc-azure/releases )
- [Commits](https://github.com/iterative/dvc-azure/compare/2.20.0...2.20.2 )
---
updated-dependencies:
- dependency-name: dvc-azure
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-09-03 02:03:46 +03:00
John Henning
887c73b3c6
adjusted formatting for dvc-hdfs
2022-09-02 23:04:59 +03:00
Peter Rowlands
660c17f654
output: save version_id meta
2022-09-01 19:36:53 +03:00
skshetry
49da2eef02
tests: set celery ping_task_timeout 3x the default ( #8221 )
...
tests: set celery ping_timeout 3x the default
2022-09-01 16:48:19 +05:45
Ruslan Kuprieiev
aff65d42bb
deps: bump dvc-azure and dvc-s3 to 2.20.0
2022-09-01 13:00:47 +03:00
skshetry
8968405770
data status: fix path for committed changes in Windows ( #8220 )
...
The path we get from GitFileSystem is posixpath, even on Windows. We need to
convert that posixpath to os.path here.
2022-09-01 10:02:08 +05:45
dependabot[bot]
b6e8ba6758
build(deps-dev): Bump pylint from 2.14.5 to 2.15.0
...
Bumps [pylint](https://github.com/PyCQA/pylint) from 2.14.5 to 2.15.0.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.5...v2.15.0)
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
2022-09-01 10:42:16 +08:00
Ruslan Kuprieiev
e307a62dc0
deps: bump dvc-data to 0.4.0
2022-09-01 02:59:24 +03:00
Saugat Pachhai (सौगात)
639eeed43b
skip tests that depend on hydra.compose in 3.11
2022-08-31 17:24:09 +02:00
David de la Iglesia Castro
91f12395f1
exp run: Support composing and dumping Hydra config.
...
The feature will be used depending on whether `config.hydra.enabled` is True or False.
Uses `hydra.initialize_config_dir` and `hydra.compose` (from https://hydra.cc/docs/advanced/compose_api/ ) to build the config and dump it to `params.yaml`. The content of the output file will be overwritten.
`config.hydra.config_dir` and `config.hydra.config_name` can be used to customize the values passed to `hydra.initialize_config_dir` and `hydra.compose`.
Can be combined with `--set-param` overrides.
Closes #8082
2022-08-31 17:24:09 +02:00
Ruslan Kuprieiev
e7daeb1c3e
deps: bump dvc-data to 0.3.0
2022-08-30 22:46:27 +03:00
Saugat Pachhai (सौगात)
d3569035c8
output.get_obj: catch ObjectCorruptedError
2022-08-30 21:31:33 +03:00
David de la Iglesia Castro
daee52e176
info: skip missing subprojects
2022-08-30 20:15:41 +03:00
skshetry
a8415b01d0
data status: fix quoting on command hints for untracked files ( #8211 )
...
data status: fix quoting on command hints
2022-08-30 22:51:39 +05:45
Daniele Trifirò
77f56090ff
do not checkout partials imports on fetch
2022-08-30 20:05:09 +03:00
Dave Berenbaum
1d3102f29b
data status: update hints to include fetch and checkout ( #8209 )
2022-08-30 22:05:32 +05:45
skshetry
a0cbcaa3c8
Delete CODEOWNERS
2022-08-30 13:12:57 +05:45
David de la Iglesia Castro
ab780879d1
info: Include subprojects.
2022-08-30 09:22:39 +02:00
skshetry
bfad82a2e3
data status: remove --withdirs, show unknowns in CLI ( #8189 )
...
* data status: remove --withdirs, show unknowns in CLI
* data status: only consider unknown from newer object during diff
2022-08-30 12:11:02 +05:45
skshetry
e5eec59cb8
test on 3.11 ( #8196 )
...
We don't have aiohttp support yet, due to which we have to install
without cythonized extension.
Similarly, there has been some changes in how dataclasses disallows some
mutable arguments to be set as a class property, due to which
`hydra.conf` fails to import in 3.11.
See https://github.com/python/cpython/pull/29867 . For now, I have
patched the module and avoid importing as a pytest-plugin.
dvc-hdfs/pyarrow is not there yet, we'll usually see a release 2-3
months after official reelase.
dvc-hdfs is skipped in 3.11 in extras_requires. `--set-params` will
return a nice error message if hydra cannot be imported in 3.11. I
decided to only patch that in tests.
2022-08-29 19:58:17 +05:45
Paweł Redzyński
2a4b83060e
plots: support dirs in top level definitions
...
Fixes : #7914
2022-08-29 10:51:16 +02:00
David de la Iglesia Castro
9e2ebe9fcc
resolve_rev: raise DvcException on empty repo.
2022-08-29 01:50:14 +03:00
David de la Iglesia Castro
2cef130191
repo: Handle no commits for exp show and plots diff.
...
Make it consistent with all the other commands that use `brancher` (i.e. `dvc diff`, `metrics diff`, `params diff`)
Closes #8163
2022-08-29 01:50:14 +03:00
David de la Iglesia Castro
17b9b1571e
api: Add details forparams_show stages syntax.
...
Explain `stages` syntax for cases where the api is used from a directory different to the one the `dvc.yam` is located.
2022-08-29 01:49:38 +03:00
skshetry
37c8ef3406
Update dvc/commands/plots.py
2022-08-29 01:46:47 +03:00
b7aea414e6
plots templates: change ui to not dump to file
...
Update dvc/commands/plots.py
Co-authored-by: David de la Iglesia Castro <[email protected] >
Update tests/unit/command/test_plots.py
Co-authored-by: David de la Iglesia Castro <[email protected] >
Update dvc/commands/plots.py
Co-authored-by: Paweł Redzyński <[email protected] >
fixed test
2022-08-29 01:46:47 +03:00
pre-commit-ci[bot]
126a64618b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-08-29 01:43:43 +03:00
Alex Hall
8bdf9b1138
Better error message when using remove on file instead of dvc file
2022-08-29 01:43:43 +03:00
Ruslan Kuprieiev
9cb242c8a5
deps: bump dvc-http and dvc-gs
2022-08-28 23:13:18 +03:00
Ruslan Kuprieiev
11802426de
pyinstaller: don't forget dvc_* plugins
...
Fixes #8194
2022-08-28 21:05:25 +03:00
dependabot[bot]
b376044c45
build(deps): Bump dvc-data from 0.1.23 to 0.2.0
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.1.23 to 0.2.0.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.1.23...0.2.0 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-08-27 03:18:20 +03:00
David de la Iglesia Castro
7b3b4b373b
api: Fix params_show for untracked targets.
...
If an untracked target is provided alongside `stages` or `deps`, don't load the parameters from the target and raise no params found instead.
Closes #8161
2022-08-26 12:00:45 +02:00
Peter Rowlands (변기호)
512bfc4305
tests: mark exp queue func tests xfail ( #8186 )
2022-08-25 21:04:05 +05:45
skshetry
54ee8c0d77
data status: make untracked files to be relative paths ( #8184 )
2022-08-25 19:29:43 +05:45
skshetry
063eb6904d
data status: test cleanup and improvements ( #8185 )
2022-08-25 18:50:46 +05:45
Ruslan Kuprieiev
3e183d62ed
deps: bump dvc-* plugins to 2.19.0
...
These are the same packages but with correct versions to sync up with existing packages that we generated in conda over the years.
2022-08-25 14:44:13 +03:00
David de la Iglesia Castro
e815bbe211
metrics: show: Fix show from subdir.
...
This was a regression introduced in #7712 .
Calling `repo.metrics.show` from a subdir stopped returning metrics because `fs.isfile(metric)` check returned false.
2022-08-25 13:02:22 +02:00
Saugat Pachhai (सौगात)
2374c72105
status: add unknown state
2022-08-25 13:23:18 +03:00
Saugat Pachhai (सौगात)
5cf1421c61
fix tests
2022-08-25 13:23:18 +03:00
skshetry
a6a2feea62
Update setup.cfg
2022-08-25 13:23:18 +03:00
Saugat Pachhai (सौगात)
6c1d00c2d9
fix diff when no object exists by falling back to shallow_diff
2022-08-25 13:23:18 +03:00
Saugat Pachhai (सौगात)
f72456f67c
add shallow_diff
2022-08-25 13:23:18 +03:00
skshetry
2c556f58d3
data status: fix not-in-cache hint ( #8181 )
...
See https://github.com/iterative/dvc.org/pull/3812\#discussion_r936625617 .
2022-08-25 15:39:59 +05:45
Ruslan Kuprieiev
460d08057c
Create hook-fsspec.py
2022-08-24 23:39:46 +03:00
Ronan Lamy
cc6deb24c8
fs: remove obsolete special cases
2022-08-23 23:20:42 +03:00
Ronan Lamy
e681030c72
fs: simplify filtering out dvcfiles
2022-08-23 23:20:42 +03:00
Ronan Lamy
7a51548214
fs: Add fast path for the no subrepo case in _get_fs_pair()
2022-08-23 23:20:42 +03:00
Ronan Lamy
8e99fd0091
ls: Use fs.walk(..., detail=True) instead of separate call to fs.info()
2022-08-23 23:20:42 +03:00
Ronan Lamy
7e5a586f85
fs: Remove redundant .isdvc() check
...
fs.walk(..., dvc_only=True) already outputs dvc objects only, so
fs.isdvc(path, recursive=True) is always True.
2022-08-23 23:20:42 +03:00
Ronan Lamy
c76a84b7b1
fs: remove one call to ._get_key() in _DvcFS._get_fs_pair()
2022-08-23 23:20:42 +03:00
Daniele Trifirò
26008f1559
import-url/update: add --no-download flag
...
add --no-download flag to dvc import-url/dvc update to only create/update .dvc
files without downloading the associated data.
Created .dvc files can be fetched using `dvc pull` or can be
updated using `dvc update --no-download`.
2022-08-23 23:07:01 +03:00
Daniele Trifirò
92d680ff94
tests: fix typo in test name
2022-08-23 23:07:01 +03:00
Daniele Trifirò
c69c46d08c
fix error message on fetch/pull/checkout failure
2022-08-23 23:07:01 +03:00
skshetry
6477ade557
build: skip install fpm and ruby on Windows ( #8169 )
2022-08-23 18:02:47 +05:45
skshetry
78dd045d29
ci: drop __token__, it's the default ( #8157 )
2022-08-22 08:40:31 +05:45
skshetry
2ddbbdf5a4
ci: refactor binary executable building workflow ( #8156 )
...
This now uses the matrix to build executables from same jobs definition.
2022-08-22 08:38:58 +05:45
skshetry
17a565023b
build: bump ruby to 2.6 ( #8154 )
2022-08-20 23:32:23 +05:45
skshetry
b5d5728bf8
deps: bump dvc-data to 0.1.22 and dvc-s3 to 0.0.2 ( #8153 )
...
* deps: bump dvc-data to 0.1.22
* deps: bump dvc-s3 to 0.0.2
2022-08-20 22:59:40 +05:45
skshetry
055641a51e
deps: bump dvc-data to 0.1.21 ( #8147 )
2022-08-19 13:22:56 +05:45
Ruslan Kuprieiev
fc509d4e4a
Delete hook-googleapiclient.model.py
...
This is already provided by pyinstaller's standard hooks https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-googleapiclient.model.py
2022-08-18 21:07:57 +03:00
Ruslan Kuprieiev
a67fea2235
doctor: ignore missing plugins
2022-08-18 21:02:41 +03:00
skshetry
f062b52e05
Add python version label to the readme ( #8146 )
2022-08-18 18:34:58 +05:45
Paweł Redzyński
25166f3e02
plots: show-vega: adjust renderers before show vega
...
Fixes : iterative/cml#1112
2022-08-18 12:52:52 +02:00
Ruslan Kuprieiev
a79ea15827
tests: webhdfs: fix linter
2022-08-18 12:43:12 +03:00
Ruslan Kuprieiev
8db9a2f70f
deps: bump dvc-data to 0.1.19
2022-08-18 12:43:12 +03:00
David de la Iglesia Castro
ff2f2e433f
pyinstaller: Restrict to 5.0
...
5.2 didn't fix https://github.com/iterative/dvc/issues/7949
2022-08-18 12:42:11 +03:00
Ruslan Kuprieiev
3fc9f323a7
fs: don't import SSHFileSystem
2022-08-18 00:23:40 +03:00
Ruslan Kuprieiev
bf0aa5e8aa
repo: data: ignore pylint false-positives
2022-08-17 23:02:22 +03:00
Ruslan Kuprieiev
3b3866323e
deps: bump dvc-data to 0.1.18
2022-08-17 23:02:22 +03:00
Ruslan Kuprieiev
3c3cbee7fd
deps: bump dvc-http to 0.0.2
2022-08-16 22:31:05 +03:00
Ruslan Kuprieiev
4a95020155
gs: add endpointurl
2022-08-14 13:39:03 +03:00
Ruslan Kuprieiev
3a429a869e
tests: lockfile: use fs_path
2022-08-13 23:09:21 +03:00
Ruslan Kuprieiev
99465b25b5
deps: bump dvc-data to 0.1.17
2022-08-13 22:43:46 +03:00
Ruslan Kuprieiev
fcdad4d229
deps: bump dvc-data to 0.1.16
2022-08-13 22:25:24 +03:00
Ruslan Kuprieiev
2e8b463795
deps: bump dvc-data
2022-08-12 11:58:44 +03:00
Ivan Shcheklein
206e00ccbe
guard rwlock file to prevent not locked repo edits
2022-08-11 15:54:42 +03:00
Peter Rowlands
f13443477d
exp run: account for repo root when staging git-deps
2022-08-11 13:48:28 +09:00
Dave Berenbaum
9837747eef
exp run: ui tweak ( #8124 )
2022-08-11 09:14:43 +05:45
dependabot[bot]
cf5dfc517a
build(deps-dev): Bump filelock from 3.7.1 to 3.8.0 ( #8125 )
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.7.1...3.8.0 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 09:14:12 +05:45
dependabot[bot]
c134d4ab8e
build(deps): Bump dvc-data from 0.1.13 to 0.1.14 ( #8117 )
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.1.13 to 0.1.14.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.1.13...0.1.14 )
---
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>
2022-08-10 09:17:12 +05:45
skshetry
7a0b3e9377
Update tests/func/experiments/test_queue.py
2022-08-09 17:50:48 +08:00
karajan1001
d6f8e5a507
Add flaky to a queue related test.
...
This is a flaky, the queue tasks status might remain "Running" even if
it had already been completed, beside sometimes I also noticed it raise
a pytest fixture error.
2022-08-09 17:50:48 +08:00
Alex Hall and David de la Iglesia Castro
2ca1d6c7c1
refactor: extract load_path function from common code using LOADERS ( #7983 )
...
Following up on https://github.com/iterative/dvc/pull/7965#discussion_r912684074
Co-authored-by: David de la Iglesia Castro <[email protected] >
2022-08-09 09:09:43 +00:00
Ivan Shcheklein
f7fbac1eed
stage add: fix hint message consistency ( #8112 )
2022-08-09 11:18:37 +05:45
skshetry
7c1e339650
data status: handle path joining properly for tree leaves/items ( #8107 )
2022-08-09 09:34:15 +05:45
Ivan Shcheklein
b7c0c41262
lock test name fix
2022-08-09 00:47:04 +03:00
karajan1001
9180a718c1
queue status: show final experiment name
...
fix : #8059
1. showing final experiment name in `queue status` for successful tasks.
2. Add a unit test for `celery_queue.status`
2022-08-08 15:49:51 +09:00
karajan1001
306456d453
queue status: ERROR: Invalid experiment
...
fix : #8014
> ERROR: Invalid experiment '{entry.stash_rev[:7]}'.
This happens when the queue task failed from a scm error.
{"exc_type": "GitMergeError", "exc_message": ["Cannot fast-forward HEAD
to '05100047a341f2fa4a02421289d48f84d8c45e86'"], "exc_module": "dvc.scm"}.
And the failed task neither create a infofile nor create a fail_stash.
1. Didn't raise DvcException if no infofile found for failed tasks.
(success tasks still raise it)
2. Add a new unit test for this.
2022-08-08 15:07:11 +09:00
Ivan Shcheklein
95421a5605
fix logic for unlock on unlocked lock calls
2022-08-08 14:25:10 +09:00
David de la Iglesia Castro
31635b8312
exp run: Use hydra for parsing --set-param.
...
- Overriding a config value : foo.bar=value
- Appending a config value : +foo.bar=value
- Appending or overriding a config value : ++foo.bar=value
- Removing a config value : ~foo.bar, ~foo.bar=value
See https://hydra.cc/docs/advanced/override_grammar/basic/#modifying-the-config-object
---
Breaking changes:
To modify a list, `foo[0]=bar` must now be passed as `foo.0=bar`.
Modifying a nested list inside a dictionary is not supported by omegaconf.
---
Closes #4883
Closes #5868
Closes #6129
2022-08-05 17:53:24 +02:00
David de la Iglesia Castro
45ac64ddde
api: Fix params_show when stage has no params
...
Also fix when `deps=True` and no params in the entire pipeline.
Closes #8064
2022-08-05 16:26:19 +03:00
Sami Abdul-Wahid
c7b22b467c
Upgrade from toml to tomlkit library ( #7468 )
...
* Upgrade from toml to tomlkit library
2022-08-05 18:58:22 +05:45
karajan1001
ae83e3c787
Now exp remove can clean up failed tasks and associated successful tasks
...
fix : #8018
fix : #8071
1. Add one line to make `exp remove` can remove failed tasks, and will
also delete associated successful tasks
2. Add a new unit test for this behaviour.
3. Solve the unstable test_queue problem.
2022-08-05 16:09:51 +09:00
karajan1001 and Peter Rowlands
f68c4e9a4b
Refactor dvc.repo.experiment.remove to make matching exp by name also
...
return its queue entry info.
Some review changes.
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-08-05 16:09:51 +09:00
karajan1001
2182c4508d
Make exp remove flags and arguments mutually exclusive.
...
1. Current behavior didn't follow the either or description.
2. Make the underlying logic more clear.
2022-08-05 16:09:51 +09:00
karajan1001
eaab253e2b
Refactor dvc.repo.experiments.queue.remove.py
...
Make a better API for other place to call.
2022-08-05 16:09:51 +09:00
karajan1001
905c416ffc
Decouple queue clear and remove commands
2022-08-05 16:09:51 +09:00
karajan1001
a6063307b5
Replace the _clear_queue function with celery_queue.clear
2022-08-05 16:09:51 +09:00
Ruslan Kuprieiev
704191b15a
output: resolve relative to stage.wdir only on the same fs
...
Leftover from https://github.com/iterative/dvc/pull/8091
2022-08-04 19:25:31 +03:00
dependabot[bot]
5625a94365
build(deps): Bump dvc-data from 0.1.12 to 0.1.13
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.1.12...0.1.13 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-08-04 20:26:18 +05:45
dependabot[bot]
634894d3b1
build(deps): Bump dvc-data from 0.1.11 to 0.1.12
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.1.11...0.1.12 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-08-04 13:22:48 +03:00
Ruslan Kuprieiev
0ce4e769f1
repo: make lock/rwlock kinda work on non local fs
2022-08-03 21:10:28 +03:00
Ruslan Kuprieiev
2c3655f7ff
repo: use fs.makedirs instead of os.makedirs
2022-08-03 21:10:28 +03:00
Ruslan Kuprieiev
52bdd90840
repo: support basic workflow on s3fs/adlfs/etc
2022-08-03 21:10:28 +03:00
Ruslan Kuprieiev
fcc7240617
odb: use odb.path instead of odb.cache_dir
2022-08-03 21:10:28 +03:00
Ruslan Kuprieiev
ecd98bdf7d
odbmgr: separate repo and local odbs
2022-08-03 21:10:28 +03:00
Ruslan Kuprieiev
e525d9bedb
deps: bump dvc-data to 0.1.11
2022-08-03 21:10:28 +03:00
Yury
27b2a5cd6d
revert logger to lazy formatting
2022-08-03 13:18:10 +03:00
Peter Rowlands
8518fe639f
dvc-task: update to 0.1.2
2022-08-03 16:44:36 +09:00
Ruslan Kuprieiev
496599518a
deps: bump dvc-data to 0.1.9
2022-08-02 23:57:34 +03:00
Yury
116ad512e4
plots: remove legacy code from verify_metrics
...
Fixes : #7988
2022-08-02 14:38:29 +09:00
Ruslan Kuprieiev
6a7b55fdf7
datafs: use dvc-data's datafs
2022-08-02 03:13:06 +03:00
Paweł Redzyński
ed62ddb373
cmd: plots: update messaging
...
Related: iterative/dvc.org#3691
2022-08-01 17:29:13 +02:00
Peter Rowlands
38b1a41f2b
build: add pyinstaller hooks for dvc-task and celery
2022-08-01 12:26:53 +03:00
skshetry
6f0736142b
deps: bump dvc-data to 0.1.6
2022-07-28 21:45:23 +05:45
Gao
737d7cda4b
queue: missing f format for the error message.
2022-07-28 21:15:51 +08:00
dberenbaum
75745a70b4
readme: add exps to quickstart
2022-07-28 10:16:32 +02:00
Ivan Shcheklein
9ff18502b6
add gdrive remote profile field to config
2022-07-27 23:29:18 +03:00
Paweł Redzyński
44a4fb59a7
plots: account for wdir in stage plots
...
Fixes : #8003
2022-07-26 13:59:24 +02:00
Paweł Redzyński
6543683c0c
project: update dvc render and dvclive test dependencies
2022-07-26 13:40:59 +02:00
pre-commit-ci[bot]
8fee26c3d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-07-26 15:02:09 +05:45
Gao and skshetry
7c8994b538
Update dvc/repo/experiments/queue/workspace.py
...
Co-authored-by: skshetry <[email protected] >
2022-07-26 15:02:09 +05:45
karajan1001
9dfe88e2b1
exp run: workspace status wrong
...
fix : #8045
2022-07-26 15:02:09 +05:45
Saugat Pachhai (सौगात)
d0eda1d538
data status: add spinners during diff
2022-07-25 19:32:19 +05:45
Saugat Pachhai (सौगात)
896acedb07
data status: optimize printing status list
...
`--untracked-files` and `--unchanged` coupled with `--granular`
puts a lot of stress on `show_status`. Currently, with those options,
dvc spends ~26s on `_show_status` function.
Unhappy with the above result, I looked into improving the situation with
`console.out`. It did reduce that to 9s but it still felt like a lot.
Then I dropped to good old colorama, which dropped to 3s(term)/1.24(redirected).
I tested with buffering output which dropped this further to
~600ms(term)/~100ms(redirected).
This may seem like premature optimization, but this was preventing me
from figuring out perf issues in granular outputs, and I believe the
user should not be penalize for using feature that we already offer.
2022-07-25 17:47:23 +05:45
Saugat Pachhai (सौगात)
fd7dcae8aa
cli/log: handle SIGPIPE errors
...
`dvc <command> | head` for example could fail with SIGPIPE and
would print a traceback with BrokenPipeError exception. Now we
redirect do /dev/null in case of error as suggested in Python's
docs: https://docs.python.org/3/library/signal.html\#note-on-sigpipe .
2022-07-25 16:38:09 +05:45
karajan1001
a4763593c7
queue: clean local EXEC_HEAD & EXEC_BASELINE after we run exp with queue.
...
fix : #8031
Currently when we use tmp directory to run a experiment, we set
`EXEC_HEAD` , `EXEC_BASELINE` and `EXEC_MERGE` heads locally but forget
to remove it. This cause some problem when we use `exp show`
1. Clean `EXEC_HEAD` , `EXEC_BASELINE` and `EXEC_MERGE` after we pushed
them to tmp_dir
2. Add a unit test for it.
Co-authored-by:
2022-07-25 18:17:12 +08:00
dberenbaum
cc2d2495c0
readme: link to docs for related tech
2022-07-22 23:31:59 +02:00
Jorge Orpinel
9b30ef474a
exp branch: update -h stdout
...
per https://github.com/iterative/dvc.org/pull/3780#pullrequestreview-1043024878
2022-07-22 23:30:14 +03:00
David de la Iglesia Castro
f95e6340e0
utils: remove dead code
2022-07-22 16:30:51 +02:00
Saugat Pachhai (सौगात)
c3ac4f84bf
data status: fix untracked files output for subdir
2022-07-22 16:29:04 +03:00
Saugat Pachhai (सौगात)
61729ff66a
use M fixture for concise tests
2022-07-22 16:29:04 +03:00
Saugat Pachhai (सौगात)
3dfcb82e5c
add tests for data:status command
2022-07-22 16:29:04 +03:00
Saugat Pachhai (सौगात)
340a158595
introduce new dvc data status command
2022-07-22 16:29:04 +03:00
Ruslan Kuprieiev
4b965c3f9f
fs: gdrive: add gdrive_acknowledge_abuse
...
Fixes https://github.com/iterative/dvc/issues/7832
2022-07-22 14:58:45 +03:00
dependabot[bot]
b5220129e7
build(deps): Bump pyinstaller from 5.0 to 5.2
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.0 to 5.2.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.0...v5.2 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-22 14:56:13 +03:00
Ruslan Kuprieiev
7a4886386f
deps: bump dvc-data to 0.1.4
2022-07-21 22:53:26 +03:00
Ruslan Kuprieiev
ae143505e4
deps: bump dvc-data to 0.1.3
2022-07-21 19:44:38 +03:00
Ruslan Kuprieiev
b9b2e5bbd9
Delete test_gdrive.py
...
Moved to dvc-gdrive.
2022-07-21 19:34:04 +03:00
Ruslan Kuprieiev
66420439c9
deps: bump dvc-data to 0.1.2
2022-07-21 19:16:21 +03:00
David de la Iglesia Castro
ed1d8e2b8f
exp: init: Use persist: true if checkpoint.
2022-07-21 13:21:06 +02:00
dberenbaum
0b07354361
readme: drop table of contents
...
readme: top-level links in comments
2022-07-21 09:01:17 +02:00
dependabot[bot]
fa200c9b4c
build(deps-dev): Bump pylint from 2.14.4 to 2.14.5
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.14.4 to 2.14.5.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.4...v2.14.5 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-20 10:04:44 +05:45
dependabot[bot]
1aaf836340
build(deps-dev): bump mypy from 0.961 to 0.971
...
Bumps [mypy](https://github.com/python/mypy ) from 0.961 to 0.971.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.961...v0.971 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-20 10:36:20 +08:00
Jorge Orpinel Perez
f51e96fe6d
Revert "readme: roll back non-vscode changes"
...
This reverts commit 5482de3582e366b86fb4923ba95e72cc39a2e37e.
2022-07-20 07:16:26 +05:45
Jorge Orpinel Perez
afefc0ddc1
readme: add paragraph about dvc exp, add GS links
2022-07-20 07:16:26 +05:45
Jorge Orpinel Perez
bd82af2e1e
readme: better Studio mention
2022-07-20 07:16:26 +05:45
Jorge Orpinel Perez
34f20bf69f
readme: 1 sentence = 1 line formatting
2022-07-20 07:16:26 +05:45
Jorge Orpinel Perez
2c339a7fb3
readme: move How it works after Quick started sections
2022-07-20 07:16:26 +05:45
Jorge Orpinel Perez
ec4d61e2b1
readme: improve and reformat How it works
2022-07-20 07:16:26 +05:45
Ruslan Kuprieiev
94eec50d27
deps: bump dvc-data to 0.1.1
2022-07-19 14:55:28 +03:00
Ruslan Kuprieiev
dd32ff6206
deps: bump dvc-data to 0.0.31
2022-07-19 04:54:34 +03:00
Ruslan Kuprieiev
52a9c58cc0
deps: bump dvc-data to 0.0.30
2022-07-19 04:36:41 +03:00
Ruslan Kuprieiev
01855b7dcf
deps: bump dvc-data to 0.0.28
2022-07-18 21:46:22 +03:00
Ruslan Kuprieiev
38f10884a7
deps: bump dvc-data to 0.0.27
2022-07-18 19:15:02 +03:00
Ruslan Kuprieiev
9e6d2163df
deps: bump dvc-data to 0.0.26
2022-07-18 01:03:06 +03:00
skshetry
dbfe88510f
deps: bump dvc-data to 0.0.24
2022-07-15 22:40:26 +05:45
Alexander Guschin
c04eb40f90
Update setup.cfg
2022-07-14 18:12:47 +05:45
David de la Iglesia Castro
c2668110b7
gc: Add --rev and --num.
...
Closes #7695
2022-07-12 20:13:07 +02:00
Peter Rowlands
80272a0770
queue: cleanup flaky tests
2022-07-12 21:39:49 +09:00
Peter Rowlands
5a6e363c16
queue: cleanup help/usage to match docs
2022-07-12 21:39:49 +09:00
Peter Rowlands
ed593493df
queue start: simply jobs validation
2022-07-12 21:39:49 +09:00
Peter Rowlands
3130a9a75f
queue status: use summary style output for worker status
2022-07-12 21:39:49 +09:00
Peter Rowlands
eeb516e7d3
queue: disable dvc-machine handling for queue
2022-07-12 21:39:49 +09:00
karajan1001
c0368e1756
Refactor: Move remove_revs from BaseStashQueue to expstash
2022-07-12 21:39:49 +09:00
Gao and Peter Rowlands
e19824fd2e
Update dvc/repo/experiments/queue/base.py dvc/repo/experiments/queue/remove.py
...
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 21:39:49 +09:00
karajan1001
02681f2e65
Rename _all to all_ remove some tricky func test.
2022-07-12 21:39:49 +09:00
karajan1001
b37524603a
Queue remove: Can remove successed,failed tasks msgs
...
Followed from #7592
1. Seperate remove method to a new file.
2. Add queued, failed, processed flags to remove.
3. Add new unit tests for queue status --queue/fail/success
4. Implement methods to remove done tasks.
5. add some new unit and functional test for celery_queue.remove
6. bump into dvc-task version 0.0.13
2022-07-12 21:39:49 +09:00
Peter Rowlands
ff3b23c1b6
dvc-task: bump to 0.1.0
...
- ends requirement to install kombu + dvc-task from source
2022-07-12 21:39:49 +09:00
Peter Rowlands
4e005411fe
exp show: use unique executor name for dvc-task & standalone tempdir exps
2022-07-12 21:39:49 +09:00
Peter Rowlands
1f7b802f79
exp show: collect running standalone tempdir experiments
2022-07-12 21:39:49 +09:00
Peter Rowlands
7c2bd340db
exp run: update --run-all logs behavior
2022-07-12 21:39:49 +09:00
Peter Rowlands
9e0788aa3a
exp run: preserve --temp standalone behavior
2022-07-12 21:39:49 +09:00
Peter Rowlands
e1cf62a583
exp queue: add separate standalone/tempdir implementation
2022-07-12 21:39:49 +09:00
Peter Rowlands
ce4cee184e
exp queue: separate queue implementations into their own modules
2022-07-12 21:39:49 +09:00
Peter Rowlands
db52c75221
dvc-task: bump to 0.0.12
2022-07-12 21:39:49 +09:00
karajan1001 and Peter Rowlands
bd74172633
queue status: add some unit test to increase the coverage
...
Followed by #7903
Add a new unit test to increase the coverage of test
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 21:39:49 +09:00
karajan1001
e5b4946309
queue status: some reviewed changes.
...
1. No `start -j` will only start worker (1,2,3,...,j). Will not start
j new worker.
2. Distinguish active worker and idle worker.
2022-07-12 21:39:49 +09:00
karajan1001
3918db945a
queue status: will show the current worker status
...
fix : #7950
Currently queue worker status are not show in `queue status` makes it
hard to tell if the worker is still living.
1. add a new method `active_worker` to return the currently running
worker node name.
2. give every worker a unique name.
3. `queue status` will show how much worker running at present.
2022-07-12 21:39:49 +09:00
karajan1001
25b5d1d522
queue start: give every worker a unique name
...
Currently, all of our celery workers are called `dvc-exp-worker` and
they will write to the same log path.
We give every single worker a unique name and seperate they logs if
under a debug log level
2022-07-12 21:39:49 +09:00
dberenbaum
164efe089f
queue: ui cleanup
2022-07-12 21:39:49 +09:00
karajan1001
4e82eb4978
queue remove: add remove support for short revs( #7840 )
...
fix : #7840
Now queue remove can not accept short rev as name.
1. Refactor the queue entry match in `queue remove`
2. Better output if no queue task found for name.
3. short rev on kill can only be work for rev with lens longer than 4
2022-07-12 21:39:49 +09:00
karajan1001
16bb31a284
queue worker shutdown: disable restore
...
fix : #7884
The complete task restored back to the queue causing a task duplication.
Might related to a bug from the celery celery/celery#5663
Follow what in https://github.com/celery/celery/issues/5663#issuecomment-734871162
Disabled the restore_at_shutdown
2022-07-12 21:39:49 +09:00
karajan1001
d7a917e2ab
queue status: use a short rev to represent tasks
...
1. use a short rev to represent tasks
2. Add a unit test for the result shown
2022-07-12 21:39:49 +09:00
Peter Rowlands
8dfcb0a36d
exp run: update Ctrl+C handling for --temp and --run-all
2022-07-12 21:39:49 +09:00
Peter Rowlands
67cbdf6de8
exp queue: remove dvc queue attach command
2022-07-12 21:39:49 +09:00
Peter Rowlands
f12091002f
exp queue: add dvc queue logs command
2022-07-12 21:39:49 +09:00
Peter Rowlands
570f4345a0
exp queue: implement queue.logs() support
2022-07-12 21:39:49 +09:00
Peter Rowlands
425d0701c9
exp queue: return completed exps in queue status
2022-07-12 21:39:49 +09:00
Peter Rowlands
99a11f7056
exp: save failed queue runs in separate stash/reflog
2022-07-12 21:39:49 +09:00
Peter Rowlands
8ab46c1549
exp: simplify shutdown behavior
2022-07-12 21:39:49 +09:00
Peter Rowlands
8b663f2719
exp: use single atomic task instead of chaining
2022-07-12 21:39:49 +09:00
Peter Rowlands
c0db513cf0
dvc-task: bump to 0.0.11
2022-07-12 21:39:49 +09:00
Peter Rowlands
bf1bc9625d
exp: use celery async wait in queue get_result
2022-07-12 21:39:49 +09:00
Peter Rowlands
686c15dab9
exp: use a single chain for all exp tasks
...
- removes separated scheduling for setup_exp
2022-07-12 21:39:49 +09:00
Peter Rowlands
10aa833f80
dvc-task: bump to 0.0.10
2022-07-12 21:39:49 +09:00
Peter Rowlands
9f5af04963
exp: update tests for match_queue_entry refactor
2022-07-12 21:39:49 +09:00
Peter Rowlands
ac5d72967a
dvc-task: bump to 0.0.9
2022-07-12 21:39:49 +09:00
karajan1001
bcc2f3b389
Reorganized get_queue_entry_by_names
2022-07-12 21:39:49 +09:00
karajan1001
3d0ee0d202
exp queue: monitor queue status ( #7590 )
...
fix : #7590
1. Add two new command `queue status` and `queue attach`
2. Add unit test for the CLI
3. Make `Running` exps can be found by `get_queue_entry_by_names`
2022-07-12 21:39:49 +09:00
karajan1001
6b8c87b58a
Add more unit test and implement a new method
...
1. Add some more unit test for `celery_queue.kill`
2. Implement `kill` argument for `celery_queue.shutdown`
3. Use dataclass's internal methods instead of `__eq__`
2022-07-12 21:39:49 +09:00
Peter Rowlands
fee1d02791
dvc-task: update to 0.0.8
2022-07-12 21:39:49 +09:00
Peter Rowlands
d766c01d2d
exp: enable late_ack to disable celery prefetch
2022-07-12 21:39:49 +09:00
Peter Rowlands
dc56c4c9b0
exp: use full task chain when checking active tasks
2022-07-12 21:39:49 +09:00
Peter Rowlands
7ece26d58a
tests: re-enable exp show celery tests
2022-07-12 21:39:49 +09:00
Peter Rowlands
f26664a569
exp: re-enable run --run-all with celery queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
4b0c65093a
tests: use pytest-celery for exp tests
2022-07-12 21:39:49 +09:00
karajan1001
12fc8c4e7d
exp queue: Add two command queue start and stop ( #7589 )
...
fix : #7589
1. Add two sub-command `dvc queue start` and `dvc queue stop`
2. Add a unit test to test them
2022-07-12 21:39:49 +09:00
karajan1001 and Peter Rowlands
a6cb4eb72e
exp queue: remove queued experiments( #7591 )
...
fix : #7591
1. Add a new command `dvc queue`
2. Add two sub-command `dvc queue remove` and `dvc queue kill`
3. Add a unit test to test them
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 21:39:49 +09:00
karajan1001
4df5a1321d
exp: implement internal queue.kill support( #7587 )
...
fix : #7587
1. Add implement kill method for local queue class
2. Add a test to make sure the following job will be success after the
original job was killed.
3. Some refactoring work on `exp remove`
2022-07-12 21:39:49 +09:00
Peter Rowlands
22deca3a6a
exp: use celery threadpool worker instead of prefork
2022-07-12 21:39:49 +09:00
Peter Rowlands
dc4292c602
exp: implement queue shutdown
2022-07-12 21:39:49 +09:00
Peter Rowlands
56f90eb3c9
exp: add test_queue unit test helper for celery queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
1c474e8f30
exp: re-enable most tmpdir/queue tests
2022-07-12 21:39:49 +09:00
Peter Rowlands
24654fe16c
exp: use dvc.daemon to run worker on windows
2022-07-12 21:39:49 +09:00
Peter Rowlands
44820e74a3
exp: wait for task collection when getting exp result
2022-07-12 21:39:49 +09:00
Peter Rowlands
c16908e9fc
exp: use queue remove in gc
2022-07-12 21:39:49 +09:00
Peter Rowlands
33dbdd20af
exp: exclude celery stash ref from util iterators
2022-07-12 21:39:49 +09:00
Peter Rowlands
69d7bdd0c0
exp: generate unique worker node names per DVC repo
2022-07-12 21:39:49 +09:00
Peter Rowlands
b9f4398826
exp: start migrating info logging to ui
2022-07-12 21:39:49 +09:00
Peter Rowlands
a6e7d43668
exp: return exp results for celery runs
2022-07-12 21:39:49 +09:00
Peter Rowlands
e2ee69ddb2
dvc-task: update to 0.0.6
2022-07-12 21:39:49 +09:00
Peter Rowlands
e8448345f1
exp: follow output on run-all
2022-07-12 21:39:49 +09:00
Peter Rowlands
acab008c65
dvc-task: update to 0.0.3
2022-07-12 21:39:49 +09:00
Peter Rowlands
8c74775a4e
exp: autostart celery worker
2022-07-12 21:39:49 +09:00
Peter Rowlands
9b31a4b463
exp: support remove from celery queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
9f022c576c
dvc-task: update to 0.0.2
2022-07-12 21:39:49 +09:00
Peter Rowlands
316029a9d2
exp: use queue status in exp show
2022-07-12 21:39:49 +09:00
Peter Rowlands
34fe643cee
exp: add queue.iter_active for iterating over active exps
2022-07-12 21:39:49 +09:00
Peter Rowlands
6a01cc530e
exp: use queue.iter_queued to get queued status in exp show
2022-07-12 21:39:49 +09:00
Peter Rowlands
81475bee09
dvc-task: update to 0.0.1
2022-07-12 21:39:49 +09:00
Peter Rowlands
a167dff019
exp: implement celery exp task collection
2022-07-12 21:39:49 +09:00
Peter Rowlands
cffd587952
exp: add queue-worker plumbing command
2022-07-12 21:39:49 +09:00
Peter Rowlands
a0ae9d3f45
exp: migrate workspace repro to queues
2022-07-12 21:39:49 +09:00
Peter Rowlands
e74f8f9e11
exp: add naive workspace queue
2022-07-12 21:39:49 +09:00
Peter Rowlands
e45ca1e830
exp: start moving queueing/execution from __init__
2022-07-12 21:39:49 +09:00
Peter Rowlands
46c734eb7e
exp: temporarily mark tmpdir/queue tests as xfail
2022-07-12 21:39:49 +09:00
Peter Rowlands
c17f7f03bd
exp: initial celery app/task setup
2022-07-12 21:39:49 +09:00
Peter Rowlands
7113568c60
exp: refactor base.py into refs.py and exceptions.py
2022-07-12 21:39:49 +09:00
Peter Rowlands
6143146974
exp: refactor stash handling into separate module
2022-07-12 21:39:49 +09:00
15ada9a1c3
Implement --date to exp gc
...
1. Implement `--time` to `exp gc`
2. add a unit test for it.
3. Rename `--time` to `--date` and change the warning msg.
4. To get a better msg for `gc` and `exp gc`
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
Co-authored-by: Dave Berenbaum <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001 and Peter Rowlands
217eb13495
Add argument commit_time to gc/brancher and iter_revs
...
1. Add argument `commit_time` to `gc`/`brancher` and `iter_revs`
2. Add unit test for iter_revs.
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001 and Dave Berenbaum
20d1f7a87d
gc: add a new flag --time ( #678 )
...
fix #678
1. Add a new flag `--time` to `dvc gc`.
2. Modify the unit test of `dvc gc`
3. Fix an argument checking error and update the error msg.
Co-authored-by: Dave Berenbaum <[email protected] >
2022-07-12 13:53:46 +02:00
karajan1001
9c59689aa7
Gc: Move old unittest gc tests to pytest
2022-07-12 13:53:46 +02:00
David de la Iglesia Castro
d47e3c40b8
tests: limit printed durations to 50
2022-07-11 12:36:37 +03:00
Ruslan Kuprieiev
d8be68436f
deps: bump dvc-data to 0.0.23
2022-07-10 18:10:45 +03:00
Ruslan Kuprieiev
f6adc49089
deps: bump dvc-data to 0.0.22
2022-07-10 17:05:26 +03:00
Saugat Pachhai (सौगात)
a4c0ae9c73
deps: bump dvc-data, install dvc-data cli deps in dev mode
2022-07-10 18:37:38 +05:45
Ruslan Kuprieiev
8b3020aaf3
deps: bump dvc-data to 0.0.20
2022-07-08 21:37:38 +03:00
Alex Hall
182a22b8f6
checkout: use dvcignore
...
Fixes #7374
2022-07-07 17:20:30 +08:00
Alex Hall
892b235d0b
metrics: support TOML files
...
Fixes #6402
2022-07-06 14:46:46 +02:00
dependabot[bot]
da93e9a76c
build(deps-dev): Bump pytest-mock from 3.8.1 to 3.8.2
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.8.1...v3.8.2 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-06 11:38:18 +02:00
Ruslan Kuprieiev
bd93d85d47
deps: bump dvc-data
2022-07-05 21:29:34 +03:00
Ruslan Kuprieiev
eed6a8483c
data_cloud: remove logger check
...
Per https://github.com/iterative/dvc/pull/7961/files#r913635687
2022-07-05 13:22:23 +03:00
David de la Iglesia Castro
954de0cae4
api: params_show: Raise exception if no params found.
...
Fixes #7926
2022-07-05 09:18:22 +02:00
David de la Iglesia Castro
909941308b
parsing: Support dict unpacking in cmd.
...
Allow to use dictionaries as values for template interpolation but only inside the `cmd` key.
See tests/func/parsing/test_interpolated_entry.py::test_cmd_dict for detailed syntax.
Add `config.parsing` section for configuring behavior of ambiguous data types
like booleans and lists.
2022-07-05 09:02:15 +02:00
Alex Hall
c59f935cc5
Switch uses of %r to %s with quotes to avoid escaped backslashes in logs, especially in windows paths
2022-07-05 02:09:25 +03:00
Alex Hall
03b789e206
logger: use lazy formatting
...
Fixes #1843
2022-07-05 02:09:25 +03:00
pre-commit-ci[bot]
cacc2f14cb
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/ambv/black: 22.3.0 → 22.6.0](https://github.com/ambv/black/compare/22.3.0...22.6.0 )
2022-07-05 00:51:59 +03:00
Ruslan Kuprieiev
0d71194741
dvc: normalize targets before entering brancher
...
Fixes #7888
2022-07-04 16:34:49 +03:00
dependabot[bot]
683d22c42b
build(deps): Bump dvc-data from 0.0.16 to 0.0.18
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.0.16 to 0.0.18.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.0.16...0.0.18 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-07-04 14:02:40 +05:45
dberenbaum
c687d1bf21
cli: help text for dvc update
2022-07-01 20:42:52 +02:00
Paweł Redzyński
fbb98a87d1
plots: introduce flexible plots configuration to dvcfiles
...
Closes : #7086
2022-07-01 13:17:24 +02:00
Ruslan Kuprieiev
f42beb4433
pyinstaller: add note about frozen version
2022-06-30 15:25:24 +03:00
David de la Iglesia Castro
de8ab044f8
Downgrade pyinstaller
...
Per https://github.com/iterative/dvc/issues/7949#issuecomment-1170927010
2022-06-30 15:24:11 +03:00
skshetry
3c76885577
deps: remove setuptools_scm_git_archive
...
setuptools_scm can now work with git archives, so we don't need this plugin.
2022-06-30 17:00:24 +05:45
dependabot[bot]
c347d9f84b
build(deps-dev): Bump pytest-mock from 3.7.0 to 3.8.1
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.7.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-30 12:20:05 +05:45
dependabot[bot]
efc4787cb0
build(deps-dev): Bump pylint from 2.14.3 to 2.14.4
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.14.3 to 2.14.4.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.3...v2.14.4 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-30 11:09:05 +05:45
skshetry
be3ec9dc59
deps: bump dvc-data to 0.0.16
2022-06-29 20:16:19 +05:45
dependabot[bot]
685a2d5579
build(deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-28 09:15:05 +02:00
David de la Iglesia Castro
c336507e51
render: image_converter: Support slash in revision.
...
Fixes #7934
2022-06-27 10:53:03 +02:00
Ruslan Kuprieiev
d448eb5fc1
setup: bump dvc-data
2022-06-26 19:40:31 +03:00
skshetry
3dcd0107d2
deps: bump dvc-data to 0.0.13
2022-06-23 14:04:16 +05:45
dberenbaum
2773e99afc
config: remove core.jobs dead code
2022-06-22 11:36:01 +08:00
Amey Kulkarni
9a1a3a05f5
Merge pull request #7671 from ap-kulkarni/amey/6141
...
s3fs: Adds support for SSE client keys
2022-06-22 00:54:10 +03:00
Ruslan Kuprieiev
286fab4aab
setup: bump dvc-data to 0.0.12
2022-06-22 00:41:29 +03:00
David de la Iglesia Castro
20f69a121e
api: Move to sub-package.
...
Split into sub-modules.
Split tests.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
b994c529a2
api: Add params_show.
...
Closes #6507
Uses `repo.params.show` with custom error_handler and postprocess the outputs for more user-friendly structure.
Extend `repo.params.show` to accept `stages` argument to cover the "params of current stage" use case.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
f106a68424
params.show: Fix deps for stages using same params file.
2022-06-21 20:52:19 +03:00
David de la Iglesia Castro
66c2e8cbd8
repo.collect: Add duplicates option.
...
Defaults to `False`.
If `True`, multiple `outs` sharing a provided `target_path` will not be filtered.
2022-06-21 20:52:19 +03:00
Yury
735b563ce4
dvc plots: allow for setting output directory via config
...
Fixes : #7816
2022-06-20 18:12:12 +02:00
Jorge Orpinel Perez
604e0178f7
readme: make VS Code installation into a separate section.
...
per https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011575851
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
f210e41d5a
readme: single QS, VSC gif in Install
...
per https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011465782
and https://github.com/iterative/dvc/pull/7916#pullrequestreview-1011465820
2022-06-20 16:10:38 +03:00
Jorge Orpinel
e07e79da52
readme: roll back non-vscode changes
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
1284842f70
readme: fix link
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
0aa063a1e7
readme: add VS Code Extension sction and gif
2022-06-20 16:10:38 +03:00
Jorge Orpinel and Dave Berenbaum
87c5cb7ebf
Update README.rst
...
Co-authored-by: Dave Berenbaum <[email protected] >
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
59570c08a4
readme: add VS Code to Installation list + formatting
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
eafe686dd6
readme: Link current Quick start to Cmd Ref
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
d056d8a4c5
readme: blocks to link to DVC GS
2022-06-20 16:10:38 +03:00
Jorge Orpinel Perez
165d95be56
readme: intro updates (VSCE)
2022-06-20 16:10:38 +03:00
Ruslan Kuprieiev
ea1c54f48e
setup: bump dvc-data to 0.0.11
2022-06-20 11:55:50 +03:00
Peter Rowlands
31f67cd3de
exp apply: preserve untracked files
2022-06-19 22:41:22 -07:00
Peter Rowlands
ee87e2b260
scmrepo: bump to 0.0.25
2022-06-19 22:41:22 -07:00
dependabot[bot]
ae61143956
build(deps-dev): Bump pylint from 2.14.2 to 2.14.3
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.14.2 to 2.14.3.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.2...v2.14.3 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-20 11:13:19 +05:45
Ruslan Kuprieiev
1253e6cc46
setup: bump dvc-data to 0.0.10
2022-06-19 21:16:08 +03:00
Ruslan Kuprieiev
19f2186c8b
setup: bump dvc-data to 0.0.9
2022-06-18 22:34:25 +03:00
Ruslan Kuprieiev
2e21c92c4f
dvc: use dvc-data 0.0.8
2022-06-17 22:08:33 +03:00
dberenbaum
4262e26a15
readme: consolidate intro
2022-06-17 10:22:42 +02:00
dependabot[bot]
830c116b4e
build(deps-dev): Bump pylint from 2.14.1 to 2.14.2
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.14.1 to 2.14.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.1...v2.14.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-16 10:32:09 +05:45
David de la Iglesia Castro and Peter Rowlands
1663b97eaa
api: open: Raise ValueError if rev is used in wrong mode.
...
Closes #7405
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-06-15 18:19:27 +02:00
David de la Iglesia Castro
15e10a1d81
api: open: Add docstring and type hints.
2022-06-15 18:19:27 +02:00
Saugat Pachhai (सौगात)
4bc6b5699a
quote node names
2022-06-15 12:43:45 +03:00
dependabot[bot]
8e003e5022
build(deps): Update networkx requirement
...
Updates the requirements on [networkx](https://github.com/networkx/networkx ) to permit the latest version.
- [Release notes](https://github.com/networkx/networkx/releases )
- [Commits](https://github.com/networkx/networkx/compare/networkx-2.5...networkx-2.8.4 )
---
updated-dependencies:
- dependency-name: networkx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-15 12:43:45 +03:00
Saugat Pachhai (सौगात)
af649af462
deps: bump dvc-data to 0.0.6; fix imports
2022-06-14 17:50:57 +05:45
dependabot[bot]
957d8d179b
build(deps): Bump dvc-render from 0.0.5 to 0.0.6
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/v0.0.5...0.0.6 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-14 08:36:27 +05:45
dberenbaum
e7b265a178
readme: change vscode to vs code
2022-06-14 00:17:59 +03:00
dberenbaum
422511f66d
readme: mention vs code extension
2022-06-14 00:17:59 +03:00
pre-commit-ci[bot]
6826d8ac35
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0 )
2022-06-14 00:08:50 +03:00
dependabot[bot]
bdea9847b5
build(deps-dev): Bump pylint from 2.13.9 to 2.14.1
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.13.9 to 2.14.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.9...v2.14.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 22:15:27 +05:45
Saugat Pachhai (सौगात)
8e6ea87b76
typing: executor: use queue.Queue instead of multiprocessing.Queue
2022-06-13 21:41:54 +05:45
dependabot[bot]
036ac8e7c2
build(deps-dev): Bump mypy from 0.942 to 0.961
...
Bumps [mypy](https://github.com/python/mypy ) from 0.942 to 0.961.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.942...v0.961 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 21:41:54 +05:45
dependabot[bot]
3306d2789b
build(deps-dev): Bump filelock from 3.7.0 to 3.7.1
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.7.0...3.7.1 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 20:39:12 +05:45
dependabot[bot]
b094839210
build(deps): Bump actions/setup-python from 3 to 4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-13 20:28:51 +05:45
Ruslan Kuprieiev
b9c04a247a
dvc: upgrade to dvc-data 0.0.5
2022-06-13 18:03:53 +05:45
Ruslan Kuprieiev
ef689c5593
dvc: upgrade to dvc-objects 0.0.4
2022-06-13 18:03:53 +05:45
Saugat Pachhai (सौगात)
7b16a377e5
deps: bump dvc-data to 0.0.3
2022-06-13 18:03:53 +05:45
Daniele Trifirò
793f97bdd5
fix dvc-objects/data imports
2022-06-13 18:03:53 +05:45
Saugat Pachhai (सौगात)
d30dbd50bc
run-cache: http: stage cache uploads in http remotes
...
Currently, there is no way to find run-cache in HTTP remotes.
In the future, we could use directory-listings from supported
webservers to find files.
Temporarily, we are restricting the run-cache uploads. This is a bit
strict, we could have only restricted the downloads, but it might be
more confusing to the users, so I went to categorically restrict
stage cache uploads and downloads for http filesystems.
2022-06-12 13:49:56 +03:00
Saugat Pachhai (सौगात)
e6db6ffc89
runcache: fix push from Windows to remote filesystems
...
We were passing paths with '\\' in the filename instead of posix paths to
remote filesystems which was causing failures to upload.
Although in some filesystems, this was failing silently, so upload would seem
to have passed, but the download later would fail.
2022-06-11 11:34:12 +03:00
Ruslan Kuprieiev
9ac2f49b57
Revert "fix dvc-objects/data imports"
...
This reverts commit 677da2b22c .
2022-06-10 12:01:07 +03:00
Ruslan Kuprieiev
9b2adfd3cc
Revert "deps: bump dvc-data to 0.0.3"
...
This reverts commit 6dd3f1e053 .
2022-06-10 12:01:07 +03:00
Saugat Pachhai (सौगात)
6dd3f1e053
deps: bump dvc-data to 0.0.3
2022-06-10 14:07:33 +05:45
Daniele Trifirò
677da2b22c
fix dvc-objects/data imports
2022-06-10 14:07:33 +05:45
dberenbaum
a3ee993739
remove .github/FUNDING.yml
2022-06-09 08:32:41 +05:45
dberenbaum
95f67445de
readme: remove donate requests
2022-06-09 08:32:41 +05:45
Peter Rowlands
c9a3cb803c
sshfs: bump min ver to 2022.6.0
2022-06-07 05:17:08 -07:00
Daniele Trifirò
41ecd2e204
scm: fix clone
...
`fetch_all_exp()` in `clone()` was called with `url="origin"`, which
resulted in the operation being performed with the remote URL defined
in the cloned repo's config, which did not include any credentials
initially provided to clone.
Fixes #7670
2022-06-07 05:11:05 -07:00
dberenbaum
33b3afa2f5
exp init: create output dirs
2022-06-07 17:55:24 +05:45
Daniele Trifirò
e849162018
exp: speed up repro execution with untracked directories in workspace
...
When large untracked directories are present in the workspace, a lot of
time is spent collecting untracked files in `scm.status` and `scm.is_dirty`.
2022-06-07 04:43:35 -07:00
Yury
c14f96391a
checkout: --relink show helpful message on completion
2022-06-07 00:31:42 +02:00
dependabot[bot]
88d3582d40
build(deps): Bump pre-commit/action from 2.0.3 to 3.0.0
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-06-06 04:20:08 -07:00
Ruslan Kuprieiev
8fa0e40669
setup: set upper bound on networkx
2022-06-06 13:31:59 +03:00
Ruslan Kuprieiev
a3d6b1299a
brancher: use scm.root_dir to determine relative cwd
...
Fixes #7776
2022-06-06 12:42:22 +03:00
Paweł Redzyński
20c7b0e3e6
plots: grouping: stop using dpath.util.search
2022-06-03 16:48:33 +03:00
huang06
6794dd28f7
docs: update package installation
2022-06-02 17:46:14 +08:00
Peter Rowlands
1cc803d12b
exp: output troubleshooting link on shallow merge failure
2022-06-02 01:15:16 -07:00
Ruslan Kuprieiev
2b6aa01392
setup: bump scmrepo to 0.0.24
...
Fixes #7824
2022-06-01 20:51:08 +03:00
Daniele Trifirò
906c87fdef
tests: replace unecessary map() call in test_live
...
caught by flake8
2022-06-01 20:41:14 +03:00
Daniele Trifirò
52f02d238d
bump scmrepo to 0.0.23
...
`scmrepo==0.0.23` includes proper support for windows file:// URLs
(https://github.com/iterative/scmrepo/pull/68 ), so Windows tests
relying on file URLs had to be fixed in order to be valid
[RFC 8089](https://datatracker.ietf.org/doc/html/rfc8089 ) URLs.
2022-06-01 09:20:07 +05:45
David de la Iglesia Castro
3d791778de
plots: Pass templates_dir to match_renderers.
...
We were forgetting to pass default template dir.
Fixes #7817 .
2022-05-31 16:17:58 +02:00
Saugat Pachhai (सौगात)
1e77be3ae3
testing: use shutil.copytree with dirs_exist_ok
...
See https://docs.python.org/3/library/shutil.html#shutil.copytree .
There is dirs_exist_ok kwarg in Python >3.8.
2022-05-30 20:40:31 +05:45
Ruslan Kuprieiev
844f77b4f9
dvc: drop python 3.7
...
Also upgraded with `pyupgrade --py38-plus`
Fixes #7708
2022-05-30 16:51:35 +03:00
David de la Iglesia Castro
34ef1807be
exp: show: Include additional info in --json.
...
Use relpath to repo.root_dir as keys in deps and outs.
Add `use_cache` and `is_data_source` for outs.
This allows to differentiate git-tracked dependencies and
intermediate outputs.
Closes #7575
Closes #7790
2022-05-25 09:01:39 +02:00
Dave Berenbaum
dae0000bcd
exp list: fix git_remote metavar
2022-05-24 18:47:26 -07:00
David de la Iglesia Castro
109d0e4e28
dag: mermaid: Use quotation marks to escape node name.
...
Fixes #7731
2022-05-24 18:27:58 +02:00
Saugat Pachhai (सौगात)
68b0d61c9e
tests: move run cache test to test_remote
2022-05-24 10:16:37 +05:45
Saugat Pachhai (सौगात)
942a080567
dvc.stage.cache: fix typo, was using src filesystem to transfer
...
This was working for LocalFileSystem as they work for any directories/path.
It's hard to test this these days, as we don't have remote tests inside
dvc, so it was not caught.
Potentially fixes #7718 .
2022-05-23 16:37:40 +03:00
Saugat Pachhai (सौगात)
60cbcec399
formatting: consider dvc-render as a known first party for ordering imports
2022-05-23 15:49:47 +05:45
Saugat Pachhai (सौगात)
0c5a18513c
fix linter issue
2022-05-23 14:12:54 +05:45
Alexander Schepanovski
b5c28dd9f9
Catch correct exception class in params.show()
2022-05-23 00:34:34 -07:00
dependabot[bot]
84439e6a04
build(deps): Bump dvc-data from 0.0.1 to 0.0.2
...
Bumps [dvc-data](https://github.com/iterative/dvc-data ) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/0.0.1...0.0.2 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-21 20:46:41 +05:45
Saugat Pachhai (सौगात)
75fa487406
dvc: remove unused utils and redundant tests
...
The tests should be in dvc-objects repo npw, and will be migrated soon.
The nanotime and diskcache are specified in dvc-objects, so we don't need
those here.
2022-05-20 19:17:00 +05:45
Saugat Pachhai (सौगात)
0ecd47b333
deps: remove jaraco.windows dependency
...
This is used by dvc-objects, and it has the dependency declared.
2022-05-20 15:18:13 +05:45
Saugat Pachhai (सौगात)
9710cafd38
deps: add dvc-objects dependency
2022-05-20 15:13:50 +05:45
Saugat Pachhai (सौगात)
e34767ca90
logging: show logs from dvc-data
2022-05-20 15:13:50 +05:45
Saugat Pachhai (सौगात)
9a2feaa4ed
dvc: remove dvc.data, fix imports
2022-05-20 15:13:50 +05:45
Saugat Pachhai (सौगात)
7bc98e3fb3
tests: remove objects related tests
2022-05-20 14:02:08 +05:45
Saugat Pachhai (सौगात)
5e561c1dfd
deps: add dvc-objects as a dependency
2022-05-20 14:02:08 +05:45
Saugat Pachhai (सौगात)
572b6dfca9
logging: show logs from dvc-objects
2022-05-20 14:02:08 +05:45
Saugat Pachhai (सौगात)
37921d618d
dvc: remove dvc.objects, fix imports
2022-05-20 14:02:08 +05:45
Saugat Pachhai (सौगात)
95c6cea36d
tests: restructure some tests for objects/data
2022-05-19 18:38:21 +05:45
Saugat Pachhai (सौगात)
455260b29c
data/objects: reduce log levels in dvc-objects and dvc-data
...
Also introduces a `validate_status` kwarg in `data.transfer`,
which is used in dvc to log for missing version info.
2022-05-19 18:33:39 +05:45
Saugat Pachhai (सौगात)
82dc67d890
objects: use separate Tqdm implementations
...
Now dvc.objects and dvc.data uses the implementation from dvc.objects
for Tqdm progress bars. This is temporary. :)
2022-05-19 18:07:47 +05:45
Saugat Pachhai (सौगात)
2057c471bb
data.checkout: remove dependency on DVC; prompts and DvcException
2022-05-19 15:11:27 +03:00
Saugat Pachhai (सौगात)
f23d31af64
fs/data: move repo related utils to dvc
...
This moves get_fs_config/get_fs_cloud and ODBManager to DVC
as they require DVC related utilities, and we don't need them
strictly in dvc-objects/dvc-data.
This also adds support to ReferenceHashFile to load from
any filesystem, using it's module name and filename.
Now we can get rid of DVCFileSystem dependency in
ReferenceHashFile.
This is a temporary solution, we really need a registry.
(I am not quite sure if this works in pyinstaller mode,
but I think it should, it's how fsspec does it if I understand
correctly.)
2022-05-18 19:39:09 +03:00
Saugat Pachhai (सौगात)
cf5d3830c5
dvc.objects: use own internal error instead of DvcException
...
transfer raises internal TransferError, merge raises internal MergeError
and local ODB raises ODBError on unprotect.
transfer's error is reraised to FileTransferError back in DataCloud.
2022-05-18 12:22:57 +03:00
Saugat Pachhai (सौगात)
32cd6c2c03
dvc.objects: use stub ignore in dvc.objects/dvc.data
...
This commit:
* defines a `Ignore` protocol in `dvc.objects`, that expects a `find` method.
This will be used in dvc-data and dvc-objects instead of depending on dvc.ignore.
dvcignore is expected to respect this protocol, which it does.
* renames `dvcignore` kwarg to `ignore` in `dvc-data` and `dvc-objects`.
* teaches dvc.cli that `IgnoreInCollectedError` is a known exception
and is logged correctly and adds a test for the behaviour.
I am not happy that we need to hardcode `.dvcignore` in dvc-data
but I don't see any easy way, since we always try to avoid
staging if the tree contains .dvcignore file, even if .dvcignore
is not passed.
2022-05-18 12:22:28 +03:00
Saugat Pachhai (सौगात)
54917e3255
dvc.objects: fix typing imports
2022-05-18 11:49:45 +05:45
dependabot[bot]
e8a439df8d
build(deps): Bump pyinstaller from 5.0 to 5.1
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 5.0 to 5.1.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v5.0...v5.1 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-17 20:15:17 -07:00
Ruslan Kuprieiev
71a4b4823a
fs: path: don't overuse parts
...
These days we have `self.flavour` that is more efficient and more simple.
2022-05-17 22:29:34 +03:00
Ruslan Kuprieiev
01cc97f38a
fs: path: use flavour.basename
2022-05-17 20:21:46 +03:00
Saugat Pachhai (सौगात)
3872f79dad
objects.fs: do not use format_link, DvcException and fix_env from DVC
...
* Introduce ConfigError and AuthError in dvc.objects.fs and raise it
instead of dvc.config.ConfigError.
* Provide hints and links by catching those errors in dvc.cli.main,
i.e decouple UI messages from filesystems for AuthError and
ConfigError.
* Copy flatten/unflatten utils to dvc.objects.fs.utils.
2022-05-17 18:23:29 +03:00
Saugat Pachhai (सौगात)
48176b80f6
fs: do not use DvcException in filesystems
...
* Refactor check_requires, move UI messages to dvc.cli
* Refactor link related error
2022-05-17 16:48:38 +03:00
Saugat Pachhai (सौगात)
8c9a9e9a1f
objects.fs: move schemes to objects.fs
2022-05-17 17:02:14 +05:45
Saugat Pachhai (सौगात)
120eb09c4d
fs: move GitFileSystem out of dvc.objects.fs
...
This is more of a DVC thing than objects.
2022-05-17 16:50:33 +05:45
Saugat Pachhai (सौगात)
bf7892012d
objects.fs: copy executors to dvc.objects
2022-05-17 16:50:21 +05:45
Saugat Pachhai (सौगात)
36605eea4c
objects.hash: rename HashedStreamReader to HashStreamFile
2022-05-17 13:25:38 +03:00
Saugat Pachhai (सौगात)
01e5f9eadd
objects.hash: use fobj.read instead of read1
2022-05-17 13:25:38 +03:00
Saugat Pachhai (सौगात)
752e10a834
dvc.objects: move HashedStreamReader to objects, use it for calculating fobj_md5
...
Now HashedStreamReader will be used to calculate md5 in fobj_md5/hash_file.
Also:
* adds in `bytes_md5` that may be useful for testing.
* adds a hasher-registry with hashlib
* adds a `text=` kwarg to be able to specify to use dos2unix or not
(useful for testing)
* makes `localfs` the default filesystem when `fs` arg is not passed
(makes it easier to test in the REPL)
2022-05-17 13:25:38 +03:00
Saugat Pachhai (सौगात)
092eda183c
objects.fs: use getpass for prompts
...
Note that this will change the behaviour of DVC to always show
prompt even in --quiet mode, which is what we need.
Previously it'd prompt without any message.
2022-05-17 16:06:27 +05:45
Saugat Pachhai (सौगात)
d82e094b13
fs: move filesystems to dvc.objects.fs.implementations
2022-05-16 17:54:57 +03:00
Saugat Pachhai (सौगात)
570e3a5359
dvc.fs: move fs to dvc.objects.fs
...
Some of the APIs/FileSystems are reimported inside dvc.fs module.
2022-05-16 13:15:19 +03:00
Saugat Pachhai (सौगात)
b8e770747f
fs.utils: copy dvc.utils.fs to dvc.fs.utils
2022-05-16 11:51:48 +05:45
dependabot[bot]
1999ecf0d3
build(deps-dev): Bump pylint from 2.13.8 to 2.13.9
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.13.8 to 2.13.9.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.8...v2.13.9 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-16 08:54:42 +05:45
dependabot[bot]
1ff5f30839
build(deps-dev): Bump filelock from 3.6.0 to 3.7.0
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.6.0...3.7.0 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-15 19:57:31 -07:00
Saugat Pachhai (सौगात)
c6ae91c907
dvc.fs: fix iscopy
2022-05-16 08:25:23 +05:45
Saugat Pachhai (सौगात)
dc1d3e880a
dvc.objects.cache: set type in a more compatible way
...
It turns out that diskcache.Disk saves passed arguments to the database
and uses that all the time. So this means that we are not forward
compatible as it breaks moving from newer version of DVC to an older
one. We don't promise this, but this breaks our benchmarks which
are probably not isolated enough.
Regarding the use of cache, it is a bit iffy to extend it this way.
We only need this type for error messages. We could consider removing
this, but since the error message is documented and it's not too hard
to extend this :), I decided to preserve the message.
2022-05-13 11:00:31 +05:45
Saugat Pachhai (सौगात)
3f5757a0a5
dvc.objects: move hashing functions to dvc.objects
...
This commit moves `HashedStreamReader`/`get_hash_file`/`file_md5`
into `dvc.objects.hash`.
The `get_hash_file` has been renamed to `hash_file`.
This also copies `relpath` and `is_exec` to the `dvc.fs.utils`.
2022-05-12 20:33:18 +03:00
Daniele Trifirò
7a795f79db
dvc.data: save and try loading raw dir objects
...
When staging a directory, always save a "raw dir object" to the odb.
If the corresponding ".dir" object has not been added to the odb,
`stage()` calls can load the tree from the raw dir object instead of
rebuilding it by walking the directory.
This can lead to significant speed improvements when calling
`dvc status` for modified directories.
Fixes #7390
2022-05-12 19:27:36 +03:00
skshetry
b3fb0dfdad
dvc.objects: extend diskcache to handle pickle errors ( #7734 )
...
dvc.objects: extend diskcache to handle pickle errors
2022-05-12 21:12:33 +05:45
Saugat Pachhai (सौगात)
ee29888e18
dvc.objects: move get_mtime_and_size to dvc.objects.utils
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
11eaa87849
add typings to istextfile and system
...
Also moves umask to dvc.fs.system
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
b4faa5616f
system: change System class to a dvc.fs.system module
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
4d6df989f2
dvc.objects: change imports to relative
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
e585c52187
istextfile: move to dvc.objects
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
4add88f627
objects: move System to dvc.fs
2022-05-12 18:02:42 +03:00
Saugat Pachhai (सौगात)
aac2fc0ca0
dvc.fs: rename fs.utils to fs.generic
...
In the spirit of fsspec.generic, it is for cross-filesystem operations.
Trying to avoid `fs.utils` as much as possible, but we have some
functions that are really utilities coming, so I am making a place
for them. :)
2022-05-12 18:02:15 +03:00
Ruslan Kuprieiev
005d56eedf
fs: rename RepoFileSystem to DvcFileSystem
2022-05-12 00:39:41 +03:00
Ruslan Kuprieiev
b6d25825c8
fs: rename DvcFileSystem to DataFileSystem
...
Current naming for `DvcFileSystem` and `RepoFileSystem` is confusing, because
dvc is not only about data and it is much more natural to expect something
named `dvcfs` to include complete view for your whole repo (including git
files), which is what `repofs` is doing right now.
`DvcFileSystem` can provide a view not only for the repo data, but also for
external data (e.g. local external outputs). So it makes more sense to call
it a `DataFileSystem`, since it really represents the data management side
of dvc.
2022-05-11 21:49:57 +03:00
dberenbaum
799dca8b67
update value prop in readme
2022-05-11 19:52:11 +03:00
Karthikeyan Singaravelan and David de la Iglesia Castro
3faf413288
Use sorted output in test since order is not deterministic.
...
Co-authored-by: David de la Iglesia Castro <[email protected] >
2022-05-11 18:40:21 +03:00
Karthikeyan Singaravelan
a3261637de
dag: fix dot file rendering order.
2022-05-11 18:40:21 +03:00
Karthikeyan Singaravelan
b8d738220d
Revert other tests and test only glob exception.
2022-05-11 18:37:09 +03:00
pre-commit-ci[bot]
fb36db450f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-05-11 18:37:09 +03:00
Karthikeyan Singaravelan and David de la Iglesia Castro
946ceb288d
Update tests/func/test_data_cloud.py
...
Co-authored-by: David de la Iglesia Castro <[email protected] >
2022-05-11 18:37:09 +03:00
Karthikeyan Singaravelan
8d99ce06aa
Move test to test_data_cloud.
2022-05-11 18:37:09 +03:00
Karthikeyan Singaravelan
9b3873c4f0
Move exception raising to glob_targets to cover all commands.
2022-05-11 18:37:09 +03:00
Karthikeyan Singaravelan
e177f041c8
Fail on sync when there is no match for glob.
2022-05-11 18:37:09 +03:00
Ruslan Kuprieiev
a80a85e6bd
dvc: detach gitfs from local paths
...
Our gitfs paths are currently tied to the local path in which the cloned
repository resides in, which results in a lot of hacky assumptions throughout
the code.
This PR detaches gitfs from local paths completely, making dvc work with a
proper fsspec gitfs implementation.
Part of #7543
2022-05-11 18:17:39 +03:00
Saugat Pachhai (सौगात)
14c9348f93
dvc.objects: move hash_info, state and meta into dvc.objects
2022-05-11 17:35:48 +03:00
karajan1001
7a1f133f29
dvc ls: not raise PathMissingError on empty dir.
...
fix #5841
2022-05-11 16:38:58 +03:00
Gao
45a01c6a30
Revert "dvc ls: not raise PathMissingError on empty dir."
...
This reverts commit 09afd2a0cd .
2022-05-11 14:54:13 +03:00
karajan1001
09afd2a0cd
dvc ls: not raise PathMissingError on empty dir.
...
fix #5841
2022-05-11 11:24:32 +03:00
Saugat Pachhai (सौगात)
d92c6fed67
fs.callbacks: simplify, ensure None does not break them, lazy richcallbacks
2022-05-10 20:37:21 +05:45
Saugat Pachhai (सौगात)
f10dbef0cf
TqdmCallback: minor fixup, check for None explicitly
...
Tqdm supports __bool__, so we should really use `is not None` test
rather than boolean check. This is not used anywhere right now, but
I'd prefer being correct.
2022-05-10 14:22:13 +05:45
Saugat Pachhai (सौगात)
8fb2f65d4b
TqdmCallback: make it lazy
2022-05-10 13:41:54 +05:45
dberenbaum
477f266dc5
exp init: fixes #7534 ; simplifies/updates exp init --live
2022-05-09 20:58:27 +05:45
Ruslan Kuprieiev
b14a972cd0
repofs: use / as root_marker
...
This makes dvcfs/repofs much easier to work with and allows it to support
isabs/abspath/etc correctly, as previously any full path (with root_marker "")
would be impossible to distinguish from a relative one.
This also detaches external workspaces from the main repo workspace in
DvcFileSystem, which was necessary to be able to distinguish dvcfs abspaths
from local external output paths. Note that currently we still have limited
support for those (e.g. get/api supports them, but import doesn't) and this
change keeps it that way.
2022-05-08 17:19:53 +03:00
Saugat Pachhai (सौगात)
562e61235b
objects: do not inherit from DvcException
2022-05-06 13:24:41 +03:00
David de la Iglesia Castro
9bd9ac4a37
FileSystem: Handle encoding via kwargs.
...
Drop if None.
Closes #7691
2022-05-06 02:34:38 +03:00
Saugat Pachhai (सौगात)
f89f4ac152
fs.put: introduce non-recursive put
2022-05-05 21:22:29 +03:00
Saugat Pachhai (सौगात)
54dd3ae90c
fs.get: use async implementation when supported by the filesystem
2022-05-05 14:15:21 +03:00
dberenbaum
35d2963069
repro/run/stage: reorder options
2022-05-05 16:42:29 +08:00
Samuel Knight
1f5f2f5c97
dvcfile: preserve 'remote' on add and commit
...
Preserves 'remote' output on dvc add and dvc commit.
Fixes #7356
2022-05-05 08:36:37 +05:45
Saugat Pachhai (सौगात)
c64db917f5
fs: add more fsspec methods
2022-05-05 08:16:34 +05:45
Paweł Redzyński
9d476aab8b
plots: image converter return absolute paths
2022-05-04 10:57:13 +02:00
Saugat Pachhai (सौगात)
5067e1f5bc
fs.utils.transfer: remove tqdm progress bars
2022-05-03 15:15:48 +05:45
Saugat Pachhai (सौगात)
8a0c5680e0
fs: remove download
2022-05-03 14:42:19 +05:45
Saugat Pachhai (सौगात)
61699d1d66
fs: remove upload function
2022-05-03 11:22:21 +05:45
dependabot[bot]
94c776182e
build(deps-dev): Bump pytest from 7.1.1 to 7.1.2
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.1.1...7.1.2 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-03 10:18:39 +05:45
dependabot[bot]
e3d3500db8
build(deps-dev): Bump pylint from 2.13.7 to 2.13.8
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.13.7 to 2.13.8.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.7...v2.13.8 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-05-03 09:48:49 +05:45
Saugat Pachhai (सौगात)
d0e05c4b66
deps: bump s3fs to 2022.02.0
...
The callbacks on _get_file/_put_file was only supported on >2022.02.0.
Fixes #7669 .
2022-05-02 12:57:00 +03:00
Ruslan Kuprieiev
58d960a47c
Revert "fs.utils: add upload that can be conditionally atomic"
...
This reverts commit dd187df667 .
2022-04-30 17:34:39 +03:00
Saugat Pachhai (सौगात)
dd187df667
fs.utils: add upload that can be conditionally atomic
...
The PR also makes odb.add operations atomic, but the checkout is still
not atomic.
2022-04-29 23:02:15 +03:00
Saugat Pachhai (सौगात)
b71ea349d2
repofs: only use dvcfs when --dvc-only is specified
2022-04-29 12:03:46 +03:00
karajan1001
c81d841fd7
exp pull/push: better result handling in exp sharing( #7448 )
...
fix : #7448
Current we skip on those experiments which already existed on both sides, but
do not exclude them from the result list. And if we have diverged experiment,
pulling/pushing them will stop the current progress and raise an exception, but
didn't give any information on the condition of other experiments.
1. Change the exp pull and push to match the new API in `scmrepo`.
2. Handle sync status after `exp pull/push` finished.
3. Bump scmrepo to 0.0.19
Co-authored-by:
2022-04-28 19:56:15 +08:00
Saugat Pachhai (सौगात)
127a9c74b2
fs.put_file: fix function signature for size
2022-04-28 15:54:40 +05:45
Saugat Pachhai (सौगात)
e30d2fdda5
fs.put_file: don't require size to be passed
2022-04-28 15:31:28 +05:45
Saugat Pachhai (सौगात)
ae4f56c5ad
fs.put_file: don't require size to be passed
2022-04-28 15:31:28 +05:45
Ruslan Kuprieiev
8cdcf9b8bb
utils: remove PathStringTrie
2022-04-27 22:40:38 +03:00
Ruslan Kuprieiev
55a4532f1d
ignore: use Trie instead of PathStringTrie
2022-04-27 22:40:38 +03:00
Ruslan Kuprieiev
43b9cab01b
repofs: use Trie instead of PathStringTrie
2022-04-27 22:40:38 +03:00
Saugat Pachhai (सौगात)
36d53bd403
dvc.stage: log time duration on stage collection walk in verbose mode
2022-04-27 18:04:14 +03:00
Saugat Pachhai (सौगात)
46fac33ba5
fs: remove unused CHUNK_SIZE var
...
There is no support for chunk_size kwarg in fs.open.
Also, `upload_fobj` is now able to figure out proper
chunk size from fileobj, so I don't think we need this on _upload_file.
2022-04-27 19:06:46 +05:45
David de la Iglesia Castro
8b68e4fa75
bump dvclive 0.7.3
2022-04-27 18:06:53 +05:45
Saugat Pachhai (सौगात)
4f1fdf0b0c
fs.ossfs: remove unused var COPY_POLL_SECONDS
2022-04-27 18:06:24 +05:45
Saugat Pachhai (सौगात)
0d48598e4b
fs.ssh: remove unused vars
2022-04-27 17:56:08 +05:45
Saugat Pachhai (सौगात)
5d64f6504f
fs.s3: remove custom put_file/get_file
2022-04-27 17:53:17 +05:45
Saugat Pachhai (सौगात)
3d54039614
scm: fix progress bar, show progress and repo being cloned
...
Before, as we were not passing `total`, the Tqdm progress bar would not
show the bar or not show any progress on the bar. As we get that value lazily,
we should force it to always show the bar.
Also updated the progress bar to say which repo is being cloned.
2022-04-27 16:42:28 +05:45
Saugat Pachhai (सौगात)
cda855b97a
fs: add cat/cat_file/cat_ranges/pipe/pipe_file/touch methods
2022-04-27 15:57:17 +05:45
David de la Iglesia Castro
bea7d56bd5
plots: Fix repo with removed plots
...
Changes in dvc-render 0.0.5 caused error.
2022-04-27 11:53:30 +02:00
Paweł Redzyński
10bcc9971d
plots: tests: integration tests for studio
...
Related: #7549
2022-04-26 21:32:56 +02:00
Paweł Redzyński
700b648da9
plots: tests: integration test for vscode
...
Closes : #7549
2022-04-26 21:32:56 +02:00
Saugat Pachhai (सौगात)
f84f9cf184
fs: do not pass size to underlying fs.put_file
2022-04-26 18:37:17 +05:45
Saugat Pachhai (सौगात)
b53ebc1a5e
build: try fixing building package
2022-04-26 17:28:36 +05:45
Saugat Pachhai (सौगात)
31e8eed402
fsspec.callbacks: add rich based callbacks
...
We have some issues, so we cannot enable them just yet, but will
be good to merge this so that we can play with it.
2022-04-26 12:28:32 +05:45
Saugat Pachhai (सौगात)
112ea1d448
dvc.objects: add callbacks for listing and estimating hashes
...
This PR gets rid of Tqdm progress bars inside `dvc.objects`.
Those are replaced with multi-phase callback in `hashes_exist`, and
simple callable that takes `completed` value in
`odb._estimate_remote_size()`.
The `odb.list_hashes_exists()` and `odb.all()` now return iterables,
hence the caller has the responsibility of handling progress.
This is now handled in `dvc.data` by using a custom `Tqdm` progressbar.
This is ugly and is temporary, but my motivation is to remove tqdm from dvc.objects
first. We can gradually get rid of these from `dvc.data` too, but
that requires more knowledge about `dvc.data` and involves more
design work. All in time, I guess. :)
2022-04-26 07:38:24 +05:45
Saugat Pachhai (सौगात)
f39e35445a
fs.upload/download: simplify, remove unused kwargs, callbacks
...
1. This PR simplifies `fs.upload`/`fs.download`/`fs.download_file`.
2. Removes unused kwargs.
3. `download` uses `dvc.utils.threadpool.ThreadPoolExecutor` which
supports canceling futures.
4. `download` for directories supports nested/branched callbacks
and progress bars.
2022-04-26 06:57:10 +05:45
Paweł Redzyński
7211bd02ed
fsspec wrapper: remove can handle dirs
2022-04-25 19:48:20 +03:00
Saugat Pachhai (सौगात)
83795ff3df
fs.put_file: add support for uploading fileobjects
...
Also changed the callbacks to inherit from our own so that we can
add few more utilities to it.
2022-04-25 21:23:05 +05:45
Saugat Pachhai (सौगात)
8ead29805f
fs: rename getsize to size
2022-04-25 18:52:46 +05:45
Saugat Pachhai
fecc81e951
Revert "dvc.objects: add callbacks for listing and estimating hashes"
...
This reverts commit 7599c6e20d .
2022-04-25 18:37:05 +05:45
Saugat Pachhai (सौगात)
7599c6e20d
dvc.objects: add callbacks for listing and estimating hashes
...
This PR gets rid of Tqdm progress bars inside `dvc.objects`.
Those are replaced with multi-phase callback in `hashes_exist`, and
simple callable that takes `completed` value in
`odb._estimate_remote_size()`.
The `odb.list_hashes_exists()` and `odb.all()` now return iterables,
hence the caller has the responsibility of handling progress.
This is now handled in `dvc.data` by using a custom `Tqdm` progressbar.
This is ugly and is temporary, but my motivation is to remove tqdm from dvc.objects
first. We can gradually get rid of these from `dvc.data` too, but
that requires more knowledge about `dvc.data` and involves more
design work. All in time, I guess. :)
2022-04-25 18:36:47 +05:45
Saugat Pachhai (सौगात)
68a3cd9a13
fs: unify fs.base.FileSystem with FSSpecWrapper
...
Since all of our filesystems are fsspec-compliant, there's no need for compat wrapper.
2022-04-25 16:01:06 +09:00
David de la Iglesia Castro
a394498067
render.match: Skip errored revisions in get_files
2022-04-22 16:44:52 +02:00
Saugat Pachhai (सौगात)
7708a8e292
gitfs: add regression test for broken stage.collect on gitfs when cwd != repo_root
2022-04-21 21:03:08 +05:45
Saugat Pachhai (सौगात)
23e62a9ff7
fs: make localfs fsspec-compliant
...
It is not completely fsspec compliant, but it's upto the level
required by our FSSpecWrapper.
Next thing to tackle would be to merging `fs.base.FileSystem`
and `fs.fsspec_wrapper.FSSpecWrapper` into one filesystem
that is lazily-loaded and is itself fsspec-compliant.
2022-04-21 12:44:55 +03:00
Saugat Pachhai (सौगात)
fed0bfb2b3
tests: add test for dvc.api.open with remote
...
Covers #7341
2022-04-21 15:12:01 +05:45
Saugat Pachhai (सौगात)
f22da81999
tests: make xfail-marked-tests to be strict by default
2022-04-21 15:06:47 +05:45
pre-commit-ci[bot]
22a988b113
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-21 15:06:31 +05:45
joncrall
77a8e870ff
Add log statement to collect repo
2022-04-21 15:06:31 +05:45
David de la Iglesia Castro
f20d6a7048
dag: Add --mermaid option.
2022-04-21 14:03:45 +05:45
Saugat Pachhai (सौगात)
6ffba62b75
executors: add support for cancel_futures=True in Python<3.9
...
Also adds a kwarg `cancel_on_error` on the constructor to support
cancelling futures on `shutdown`. This is not done by default to
be backward compatible with `concurrent.futures.ThreadPool` executor.
2022-04-21 14:03:10 +05:45
David de la Iglesia Castro
5c561572b0
exp init: Replace live section with metrics and plots.
...
Closes #7534
2022-04-21 08:55:49 +02:00
Peter Rowlands
444bf27e6f
exp show: add internal --no-fetch option to disable temp/queue ref fetch
2022-04-21 15:45:59 +09:00
Peter Rowlands
ba82faee53
exp show: don't acquire repo lock
2022-04-21 15:45:59 +09:00
dependabot[bot]
72d57f13bc
build(deps-dev): Bump pylint from 2.13.5 to 2.13.7
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.13.5 to 2.13.7.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.13.5...v2.13.7 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-21 08:22:47 +05:45
Saugat Pachhai (सौगात)
02b2ab6804
stage/exp list: alias --names-only to --name-only
...
Fixes #7570 .
2022-04-21 06:53:16 +05:45
Ruslan Kuprieiev
fd440df5b3
dvcignore: use fs.path instead of os.path
2022-04-20 12:27:26 +03:00
Saugat Pachhai (सौगात)
cc8a0ce134
completion: decouple completion related stuff from command
...
It also now uses the main parser itself that invokes the command rather than
creating a new parser object.
2022-04-20 13:29:33 +05:45
Ivan Shcheklein
5c1e7be909
bump pydrive: improves and fixes thread safety
2022-04-20 06:06:28 +05:45
David de la Iglesia Castro
179e080c2f
hdfs: Fix _strip_protocol and _checksum
...
Match behavior previous to #6946
2022-04-19 16:22:49 +03:00
Saugat Pachhai (सौगात)
f3a7ec7f48
completion: fix dvc exp completion
2022-04-19 17:28:22 +05:45
Saugat Pachhai (सौगात)
c0580c740b
fs: move NoDirectoriesMixin to http filesystem
2022-04-19 11:54:34 +05:45
dependabot[bot]
b4dcadbc9c
build(deps-dev): Bump pylint from 2.12.2 to 2.13.5 ( #7518 )
...
build(deps-dev): Bump pylint from 2.12.2 to 2.13.5
2022-04-19 11:35:10 +05:45
Ruslan Kuprieiev
55219e9089
fs: get rid of CallbackMixin in azure/gs/hdfs/webhdfs
...
No longer needed, as all of those filesystems already support callbacks.
2022-04-18 17:34:06 +03:00
David de la Iglesia Castro
70b57d4703
live: Remove html generation
...
Remove commands/live.
Remove LiveTask.
Bump dvclive.
2022-04-18 15:47:31 +02:00
Saugat Pachhai (सौगात)
5eb16ab05e
parsing: use relative paths; force absolute paths to relative
2022-04-18 14:19:56 +03:00
Ruslan Kuprieiev
517f45d45f
repofs: migrate to fsspec
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
53c7f44480
repofs: rename _main_repo -> repo
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
9d75e8261b
repofs: use repo paths
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
b3b0ec1fba
repofs: unify ls/walk/info/exists/etc behaviour
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
0a3f5cbdd5
repofs: base walk on ls
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
bdd21fd481
repofs: use fs.ls
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
394118ef3d
repofs: don't assume repofs paths are the same as underlying fs paths
2022-04-18 14:17:20 +03:00
Ruslan Kuprieiev
f500c66aef
repofs: use fs.walk directly
2022-04-18 14:17:20 +03:00
dependabot[bot]
318235f072
build(deps): Bump pyinstaller from 4.10 to 5.0
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 4.10 to 5.0.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v4.10...v5.0 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-18 14:13:52 +08:00
Peter Rowlands
ab395dfb7a
exp show: prefer exp names for experiments
2022-04-15 14:02:35 +09:00
Nick Sorros and Paweł Redzyński
dd9bc116a3
Update test name to be more informative
...
Co-authored-by: Paweł Redzyński <[email protected] >
2022-04-13 18:23:14 +02:00
Nick Sorros
0a3dd7a97f
Move test to output and use mocker
2022-04-13 18:23:14 +02:00
Nick Sorros
5da72fc8ff
Patch get_remote_odb instead
2022-04-13 18:23:14 +02:00
Nick Sorros and Paweł Redzyński
d8dac6f50d
Reraise RemoteMissingDepsError as is
...
Co-authored-by: Paweł Redzyński <[email protected] >
2022-04-13 18:23:14 +02:00
Nick Sorros
36c27ed17f
Add test for remote missing when adding data dir
2022-04-13 18:23:14 +02:00
pre-commit-ci[bot]
43f5faa652
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-04-13 18:23:14 +02:00
Nick Sorros
968f9b38bf
Raise informative missing s3 extra
2022-04-13 18:23:14 +02:00
pre-commit-ci[bot]
aab7f8af4d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.1.0 → v4.2.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.1.0...v4.2.0 )
2022-04-12 10:46:46 +09:00
Paweł Redzyński
79c87ba119
Update setup.cfg
2022-04-09 15:45:29 +03:00
dependabot[bot]
aa5cfc46ed
build(deps): Bump scmrepo from 0.0.16 to 0.0.17
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.16...0.0.17 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-09 15:45:29 +03:00
Peter Rowlands
69acbe33c9
erepo: include exp refs in clones
...
- add test for dvc get --rev=<exp>
2022-04-09 10:27:06 +09:00
David de la Iglesia Castro
7dd0cffd49
gdrive: Add test_service_account_using_env_var
2022-04-08 21:39:03 +02:00
RCdeWit
a11aac37ea
Process feedback @skshetry and @karajan1001
2022-04-08 21:39:03 +02:00
Rob de Wit and Laurens Duijvesteijn
6de1ddadf5
fs.gdrive: Fix GDRIVE_CREDENTIALS_DATA for service accounts
...
`_validate_config()` had a bug: it would not take into account that Google
Drive credentials can also be passed using `GDRIVE_CREDENTIALS_DATA` as
documented here [1].
This patches the validation logic to also accept this environment variable as a
means to provide service account credentials.
Before, commands like `dvc push` would exit with:
```
ERROR: failed to push data to the cloud - To use service account, set
`gdrive_service_account_json_file_path`, and
optionally`gdrive_service_account_user_email` in DVC config
Learn more at <https://man.dvc.org/remote/modify >
```
[1]: https://dvc.org/doc/user-guide/setup-google-drive-remote#authorization
Co-authored-by: Laurens Duijvesteijn <[email protected] >
2022-04-08 21:39:03 +02:00
Fabian Zills and Saugat Pachhai
7804e6550e
Update dvc/repo/index.py
...
Co-authored-by: Saugat Pachhai <[email protected] >
2022-04-07 21:05:47 +05:45
Fabian Zills and Saugat Pachhai
65d935e5c7
Update dvc/repo/index.py
...
Co-authored-by: Saugat Pachhai <[email protected] >
2022-04-07 21:05:47 +05:45
Fabian
44af5b3b7e
index: add getitem
...
* allow access to a stage via `getitem` in addition to iterating over the Index.
2022-04-07 21:05:47 +05:45
Paweł Redzyński
03f553c54b
plots: json: show even if no results
...
Related: iterative/vscode-dvc#1521
2022-04-07 11:45:01 +02:00
dependabot[bot]
1e0a4a26eb
build(deps): Bump codecov/codecov-action from 2.1.0 to 3
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-04-06 17:54:18 +02:00
Peter Rowlands
ee0a47f166
cli: check for closed stdout/stderr
2022-04-05 22:05:22 +09:00
Peter Rowlands
fa7b371c74
daemon: skip setting PYTHONPATH in pyinstaller frozen binary
2022-04-05 22:05:22 +09:00
David de la Iglesia Castro
117b22d58a
exp show: pcp: Allow to --drop Experiment
2022-04-04 11:48:55 +02:00
Paweł Redzyński
bfb1b74923
plots: image: fix image to_json structure
2022-04-01 12:26:20 +02:00
Ruslan Kuprieiev
d600eeca99
dvcfs: base on fsspec
2022-03-31 17:55:18 +03:00
Ruslan Kuprieiev
0470e164cc
repofs: use dvcfs.ls
...
Using ls instead of walk reduces potential problems that may occur if
dvcfs.walk happens to yield results in different order than
gitfs/localfs.walk.
2022-03-31 17:55:18 +03:00
Ruslan Kuprieiev
0ab86c8fae
dvcfs: implement ls
...
On our way to making dvcfs fsspec-compliant.
2022-03-31 17:55:18 +03:00
Saugat Pachhai (सौगात)
067442f348
webdav: consider path to be root
...
Remove _strip_protocol, moves to get_cloud_fs loading stage.
2022-03-31 17:35:23 +03:00
Saugat Pachhai (सौगात)
b58ebff5db
lint: fix variable reassignment bug while iterating from flake8
2022-03-31 13:41:25 +05:45
Saugat Pachhai (सौगात)
565a813e2a
setup.cfg: tests: try to remove more dependencies
2022-03-31 13:36:43 +05:45
Saugat Pachhai (सौगात)
dc0bc0c535
setup.cfg: tests: remove unnecessary dependencies
2022-03-31 12:29:29 +05:45
Jorge Orpinel Perez
65397517ca
pre-commit: fix black/ click incompatibility issue
...
per https://github.com/iterative/dvc/pull/7524#discussion_r839189136
2022-03-31 12:14:35 +05:45
Peter Rowlands
1a3a222239
scmrepo: update to 0.0.16
2022-03-30 15:46:18 +09:00
Saugat Pachhai (सौगात)
5ff1d76826
ui: add revision info on dvc.yaml/dvc.lock/.dvc syntax and schema errors
2022-03-29 17:49:03 +05:45
dependabot[bot]
582c4afc38
build(deps): Bump scmrepo from 0.0.13 to 0.0.14
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.13 to 0.0.14.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.13...0.0.14 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-29 17:37:37 +05:45
dependabot[bot]
b1284cb4af
build(deps-dev): Bump hdfs from 2.6.0 to 2.7.0
...
Bumps [hdfs](https://github.com/mtth/hdfs ) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/mtth/hdfs/releases )
- [Changelog](https://github.com/mtth/hdfs/blob/master/CHANGES )
- [Commits](https://github.com/mtth/hdfs/commits )
---
updated-dependencies:
- dependency-name: hdfs
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-29 16:23:01 +05:45
Saugat Pachhai (सौगात)
7d0d6a38d7
exp init: change ui prompts structure and output
2022-03-29 16:20:32 +05:45
dependabot[bot]
700654cb1e
build(deps): Bump dvc-render from 0.0.3 to 0.0.4
...
Bumps [dvc-render](https://github.com/iterative/dvc-render ) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/v0.0.3...v0.0.4 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-29 10:02:54 +02:00
dependabot[bot]
5a7790dcd5
build(deps-dev): Bump mypy from 0.931 to 0.942
...
Bumps [mypy](https://github.com/python/mypy ) from 0.931 to 0.942.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.942 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Bump mypy from 0.931 to 0.942
after mypy 0.940, it disabled all class scoped imports because it will
cause crashes.
1. upgrade mypy from 0.931 to 0.942
2. Solve the error `class scoped import` in mypy 0.942
2022-03-29 10:05:08 +05:45
David de la Iglesia Castro
ead7724824
render: vega_converter: make rev and filename optional.
...
Add `FILENAME_FIELD`.
2022-03-28 19:34:05 +02:00
David de la Iglesia Castro
ddd6c97f71
render: Extract to dvc_render
...
Create and use separate package for rendering logic.
Closes #6944
2022-03-28 19:34:05 +02:00
Saugat Pachhai (सौगात)
b71a0f30fb
s3: add aiobotocore as dependency explicitly
...
Fixes #7257 and fixes #7475 .
2022-03-28 19:48:55 +05:45
dependabot[bot]
9930551458
build(deps-dev): Bump pytest from 6.2.5 to 7.1.1
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 6.2.5 to 7.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.1.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-28 18:39:25 +05:45
Saugat Pachhai
3322980ff6
bump pytest-docker to 0.11.0
...
This adds support for pytest>7.
See https://github.com/avast/pytest-docker/pull/74 .
2022-03-28 18:17:59 +05:45
dependabot[bot]
23a86c9a15
build(deps-dev): Bump types-requests from 2.27.14 to 2.27.15
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.14 to 2.27.15.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-28 18:03:05 +05:45
Daniele Trifirò
57419273ea
fs.http: set sock_read timeout
2022-03-28 08:20:56 +02:00
Daniele Trifirò
879c9bd7d6
fs.http: force cleanup of closed connections
2022-03-28 08:20:56 +02:00
Saugat Pachhai
d09d39538a
Revert "build: pin setuptools to <61"
...
This reverts commit c08aa4a93b .
2022-03-26 07:26:51 +05:45
Casper da Costa-Luis
b684b2b25a
deps: bump tqdm
...
- fixes #7465
2022-03-25 19:16:33 +05:45
dependabot[bot]
7de443d8bc
build(deps-dev): Bump types-requests from 2.27.13 to 2.27.14
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.13 to 2.27.14.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-25 14:24:45 +02:00
Saugat Pachhai (सौगात)
d008054ea2
objects.db: get rid of callbacks from internal _list_paths API
...
This removes callback from internal APIs: `_list_paths`, `list_hashes`,
and `_hashes_with_limit`. These are all iterators and hence can just be
replaced by wrapping a progressbar over those iterators in the caller
side.
We still have progressbars in `hashes_exist`, `_estimate_remote_size`,
`_list_hashes_traverse` and `list_hashes_exists`, which should gradually
lifted up and replaced.
2022-03-25 14:13:26 +02:00
Saugat Pachhai (सौगात)
b92bc3e01a
fs.webdav: consider url/path to be root
...
Webdav filesystem expects path to be relative
to the base url, instead of having full prefix.
So we are setting it to "" (root) through `_strip_protocol`
which converts fully-qualified name to the file-system
specific path.
2022-03-25 13:56:33 +02:00
Saugat Pachhai (सौगात)
c08aa4a93b
build: pin setuptools to <61
...
A workaround for https://github.com/pypa/setuptools/issues/3196 .
2022-03-25 16:13:49 +05:45
Gao
81eee05995
UI problem in dvc exp push
2022-03-22 20:25:04 +09:00
karajan1001 and Dave Berenbaum
325ead5e8b
exp remove: show removed experiments #7449
...
fix : #7449
`exp remove`: should show the experiments that were removed
1. experiment.remove now returns the experiment list been removed.
2. modify the functional test to these the returned list.
3. use ui to show the removed list.
Co-authored-by: Dave Berenbaum <[email protected] >
2022-03-22 17:13:44 +08:00
dberenbaum
5cf59e4ee6
exp: remove mentions of resume
2022-03-22 14:07:56 +09:00
dependabot[bot]
290a593322
build(deps): Bump actions/cache from 2.1.7 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-22 10:32:12 +08:00
Peter Rowlands
19dcba9db6
erepo/exp: use explicit fetch + merge instead of pull
...
- tests: use mocker.spy instead of patch(wraps=...)
2022-03-21 18:17:36 +09:00
Peter Rowlands
ab54b5bdfc
scmrepo: update to 0.0.13
2022-03-21 18:17:36 +09:00
Peter Rowlands
2e21be992d
tests: fix incorrect git URLs
2022-03-21 18:17:36 +09:00
Saugat Pachhai (सौगात)
9d96ddfbe7
exp init: create params file by default
...
Note that this won't add support for tracking the params file,
it'll only create the params file. Some changes on error and
prompts are made.
2022-03-21 15:00:20 +05:45
Saugat Pachhai (सौगात)
a3bab48f41
params: allow tracking file
2022-03-21 13:47:44 +05:45
dependabot[bot]
a13f2770ef
build(deps-dev): Bump types-tabulate from 0.8.5 to 0.8.6
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-18 10:28:30 +05:45
dependabot[bot]
079714772c
build(deps-dev): Bump types-requests from 2.27.12 to 2.27.13
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.12 to 2.27.13.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-17 12:45:54 +01:00
dependabot[bot]
cd65400d83
build(deps-dev): Bump google-cloud-storage from 2.2.0 to 2.2.1
...
Bumps [google-cloud-storage](https://github.com/googleapis/python-storage ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/googleapis/python-storage/releases )
- [Changelog](https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-storage/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: google-cloud-storage
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-16 13:09:21 +01:00
dependabot[bot]
0d06a98c67
build(deps-dev): Bump google-cloud-storage from 2.1.0 to 2.2.0
...
Bumps [google-cloud-storage](https://github.com/googleapis/python-storage ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/googleapis/python-storage/releases )
- [Changelog](https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-storage/compare/v2.1.0...v2.2.0 )
---
updated-dependencies:
- dependency-name: google-cloud-storage
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-15 12:31:05 +08:00
dependabot[bot]
3fc8dcfc59
build(deps-dev): Bump types-requests from 2.27.11 to 2.27.12
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.11 to 2.27.12.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-14 10:44:03 +01:00
Saugat Pachhai (सौगात)
e80e725fe4
tests: fix test failures with rich==12
2022-03-11 19:26:54 +05:45
karajan1001
6a6955e27c
exp show/pull/push/list: help text for -n ( #7444 )
...
fix : #7444
from the discussion https://github.com/iterative/dvc.org/pull/3187#discussion_r821382100
1. Update the help message of `-n`
2022-03-10 17:11:42 +08:00
karajan1001 and Jorge Orpinel
efc021da73
exp remove: rename --all-commits flag and unify the collection of revs ( #7155 )
...
fix : #7155
1. rename flags `-A/--all-commits` in `exp remove`
2. add new flag `-n/--num` in `exp remove`
3. unify the revision collection in `exp remove`
4. add unit and func tests for `exp remove`
Co-authored-by: Jorge Orpinel <[email protected] >
2022-03-09 18:54:15 +08:00
karajan1001
244637e299
exp push/pull: add --all-commits flag and unify the collection of revs ( #7154 )
...
fix : #7154
1. rename flags `-A/--all-commits` in the `exp pull/push`
2. add new flag "--rev" and "--num" in the `exp pull/push`
3. Unify the collection of revs in `exp push/pull`
4. add unit and func tests for `exp push/pull`
2022-03-09 17:43:26 +08:00
karajan1001 and Jorge Orpinel
d033345860
exp list: add the new flags ( #7153 )
...
fix : #7153
Unify the flags in `exp list` to `exp show`
1. Add new `-A`, `-n` flags to `exp list` command.
2. Add unit test for the flag parse.
3. unify the revs retrive logic to `exp show`.
4. Add functional test for `exp list`
5. Update the documents.
Co-authored-by: Jorge Orpinel <[email protected] >
2022-03-08 16:17:33 +08:00
Lucas Cabral
de390419a6
fix: hooks install alongside pre-commit tool
2022-03-08 13:16:16 +05:45
Peter Rowlands
d80c43135f
exp run: remove unsupported (repro only) arguments
2022-03-07 12:01:51 +01:00
David de la Iglesia Castro
5249207ceb
live: Remove summary from tests
2022-03-07 10:09:04 +01:00
dependabot[bot]
2ebf9cb9b9
build(deps-dev): Bump dvclive[image] from 0.5.1 to 0.6.0
...
Bumps [dvclive[image]](https://github.com/iterative/dvclive ) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.5.1...0.6.0 )
---
updated-dependencies:
- dependency-name: dvclive[image]
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-07 10:09:04 +01:00
dependabot[bot]
17899bc109
build(deps): Bump pyinstaller from 4.9 to 4.10
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 4.9 to 4.10.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/v4.10/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v4.9...v4.10 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-07 15:29:18 +09:00
dependabot[bot]
380c65134e
build(deps): Bump scmrepo from 0.0.7 to 0.0.10
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.7 to 0.0.10.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.7...0.0.10 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-07 12:12:56 +05:45
dependabot[bot]
ab024a47b3
build(deps): Bump actions/checkout from 2.4.0 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-03 15:05:39 +08:00
dberenbaum
fc3f3ca8d7
diff: fix missing key bug ( #6720 )
2022-03-02 19:10:31 +01:00
David de la Iglesia Castro
6bb3794f52
Suppress --live-no-summary help.
2022-03-02 13:30:19 +01:00
dependabot[bot]
a2e25cf449
build(deps): Bump actions/setup-python from 2 to 3
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-03-01 17:30:52 +09:00
Peter Rowlands
59b8498905
fs: remove unused connection pool module
2022-03-01 15:36:49 +09:00
Zhenyu Gao
a378e017e1
Fix dvc add -o issue #7357
2022-02-28 15:24:16 +01:00
dependabot[bot]
4c71aadc21
build(deps-dev): Bump filelock from 3.5.1 to 3.6.0
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.5.1...3.6.0 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-28 15:21:02 +01:00
Paweł Redzyński
3b4d76df42
plots: json: add datapoints to vega plots
2022-02-25 17:12:45 +01:00
dependabot[bot]
6c04d0efd1
build(deps-dev): Bump types-requests from 2.27.10 to 2.27.11
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.10 to 2.27.11.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-23 12:31:15 +05:45
David de la Iglesia Castro
f41651c97c
Remove outdated SSH default jobs.
2022-02-22 12:34:25 +01:00
Saugat Pachhai (सौगात)
fcddf080da
exp init: refactor and simplify interactive mode
...
- Moves workspace tree for interactive mode after prompts. Previously
this was displayed before the prompts.
- Remove the yaml contents and the confirmation prompt in an interactive
mode.
- Simplify `init_interactive()`.
2022-02-22 16:59:08 +05:45
Ruslan Kuprieiev
82b0a3088f
dvcfs: handle repo root
...
Fixes #7407
2022-02-21 04:23:43 +02:00
Ruslan Kuprieiev
30fa3fc41b
fs: walk: get rid of onerror
...
Makes dvc/repofs and other filesystems comply with fsspec.
2022-02-18 16:17:46 +02:00
Ruslan Kuprieiev
d8fa55bafa
fs: git: move isfile/walk to fsspec wrapper
2022-02-18 12:48:13 +02:00
Daniele Trifirò
220c633497
status: cleanup invocation of hashes_exist
2022-02-18 02:37:48 +02:00
Daniele Trifirò
3767b03784
test_data_cloud: also check for the correct number of jobs
2022-02-18 02:37:48 +02:00
Daniele Trifirò
c0f63efe99
fix passing of jobs kwarg
...
the `jobs` kwarg was not being passed down properly,
resulting in it being ignored in some cases (push/pull/gc)
2022-02-18 02:37:48 +02:00
dependabot[bot]
0b18efb7b7
build(deps-dev): Bump filelock from 3.4.2 to 3.5.1
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.4.2 to 3.5.1.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.4.2...3.5.1 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-17 15:05:37 +02:00
Saugat Pachhai (सौगात)
497eac952c
s/Creating/Created
2022-02-17 14:18:08 +05:45
Saugat Pachhai (सौगात)
6eb5c31dd7
fix UI message
2022-02-17 14:18:08 +05:45
Saugat Pachhai (सौगात)
69ce69e427
exp init: update message
2022-02-17 14:18:08 +05:45
Saugat Pachhai (सौगात)
f8467cf375
exp init: log created dependencies in non-interactive mode
2022-02-17 14:18:08 +05:45
Saugat Pachhai (सौगात)
2735fbac71
exp init: create workspace structure by default, show workspace tree
2022-02-17 14:18:08 +05:45
dependabot[bot]
795fe24a5f
build(deps-dev): Bump types-requests from 2.27.9 to 2.27.10
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.9 to 2.27.10.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-16 12:02:54 +08:00
karajan1001
d1f7cf4540
exp show: show exp when checkpoint is running( #7329 )
...
fix : #7329
In a previous PR, we introduce a bug which use `HEAD` as the workspace
commit, while if there is a checkpoint is running, the `HEAD` is
actually changing all the time, we should use
`refs/exps/exec/EXEC_BASELINE` instead.
1. add `fix_exp_head` transfer in `dvc/scm.py::resolve_rev`
2. remove fix_exp_head from `diff`, `metrics diff`, `params diff` and
`plots diff`
3. modify a functional test to simulate the running conditions
2022-02-15 21:17:42 +08:00
dependabot[bot]
d5b809d705
build(deps-dev): Bump types-toml from 0.10.3 to 0.10.4
...
Bumps [types-toml](https://github.com/python/typeshed ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-toml
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-11 08:28:58 +05:45
Daniele Trifirò
4db9d19387
destroy: also remove dvcignore file
2022-02-10 16:16:12 +01:00
David de la Iglesia Castro
31a3461465
live: Update tests
2022-02-10 16:46:32 +05:45
dependabot[bot]
e6d52ac594
build(deps-dev): Bump dvclive[image] from 0.5.0 to 0.5.1
...
Bumps [dvclive[image]](https://github.com/iterative/dvclive ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.5.0...0.5.1 )
---
updated-dependencies:
- dependency-name: dvclive[image]
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-10 16:46:32 +05:45
dependabot[bot]
a78d63cf58
build(deps-dev): Bump types-requests from 2.27.8 to 2.27.9
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.8 to 2.27.9.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-10 15:52:07 +08:00
David de la Iglesia Castro
d89555cd31
exp show: handle renaming of metrics/params.
...
_extend_row did not considered partially empty `items`, which can occur when metris or params are renamed between commits.
Fixes #7070
2022-02-09 21:40:15 +01:00
Nikita Kodenko
b6fa1178e7
tests: migrate unittest to pytest
2022-02-08 18:51:17 +09:00
Ruslan Kuprieiev
e430693fc8
dvcfs: use paths relative to the repo root
...
Currently we use both absolute and relative (depend on cwd) paths, which is
terrible for an api, as their interpretation depends on external factors.
This PR makes dvcfs accept only paths relative to the repo root for regular
outputs and absolute paths for external outputs.
Pre-requisite for making repofs use same relative paths.
2022-02-07 20:12:33 +02:00
dependabot[bot]
e60ab00f51
build(deps): Bump pyinstaller from 4.8 to 4.9
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 4.8 to 4.9.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/v4.9/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v4.8...v4.9 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-07 18:02:45 +05:45
Ruslan Kuprieiev
cb584c6a53
dvcfs: detach from pipeline outputs
...
Introducing simple repo tree that combines all workspaces into one structure,
and allows us to detach data representation from pipelines.
Pre-requisite for dvc-data extraction and using relpaths in dvcfs/repofs.
2022-02-07 13:12:52 +02:00
Ruslan Kuprieiev
9b5ccb7554
Revert "ls: don't use outs"
...
This reverts commit 27b090709b .
2022-02-04 11:04:00 +02:00
Ruslan Kuprieiev
27b090709b
ls: don't use outs
...
ls doesn't support subrepos, so we can simply use dvcfs in --dvc-only.
2022-02-03 23:59:29 +02:00
Ruslan Kuprieiev
48641fb41f
repofs: don't use outs
...
Using outs directly breaks isolation and makes it really hard to understand
what's going on.
Redundant abspaths will go away in followups when moving to relpaths.
2022-02-03 23:33:37 +02:00
Ruslan Kuprieiev
8497edab93
dvcfs: use info() instead of metadata()
...
metadata was introduced before our migration to fsspec and no longer needed
now. This is a pre-requisite to using data index in dvcfs/repofs.
Note that a bunch of awkward flags like isdvc/isout/etc are still kept, and
will be removed in followups.
2022-02-03 22:45:10 +02:00
Saugat Pachhai
dc13179759
Delete scripts/schema directory
...
https://github.com/iterative/dvcyaml-schema provides the canonical schema,
this is not used anywhere and is stale.
2022-02-01 20:35:07 +05:45
David de la Iglesia Castro
37cfb8e8af
exp show: Sort deps columns.
...
Closes #7312
2022-02-01 15:23:26 +01:00
Paweł Redzyński
7bc14a5ddb
plots: make templates generation explicit
...
Fixes : #6389
2022-02-01 15:09:25 +01:00
dependabot[bot]
22ebfd1e2f
build(deps-dev): Bump pytest-mock from 3.6.1 to 3.7.0
...
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock ) from 3.6.1 to 3.7.0.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases )
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.6.1...v3.7.0 )
---
updated-dependencies:
- dependency-name: pytest-mock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-01 19:53:26 +05:45
pre-commit-ci[bot]
d213ccb686
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-02-01 19:53:13 +05:45
pre-commit-ci[bot]
0ce1f982b0
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/ambv/black: 21.12b0 → 22.1.0](https://github.com/ambv/black/compare/21.12b0...22.1.0 )
2022-02-01 19:53:13 +05:45
dependabot[bot]
a4b3da6acc
build(deps-dev): Bump types-requests from 2.27.7 to 2.27.8
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.7 to 2.27.8.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-01 19:24:56 +05:45
dependabot[bot]
b58a01cfd5
build(deps-dev): Bump dvclive[image] from 0.4.6 to 0.5.0
...
Bumps [dvclive[image]](https://github.com/iterative/dvclive ) from 0.4.6 to 0.5.0.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.4.6...0.5.0 )
---
updated-dependencies:
- dependency-name: dvclive[image]
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-02-01 14:24:23 +01:00
Daniele Trifirò
0562b4fd5f
tests: update test_exceptions for rich 11.1.0 behaviour
2022-02-01 13:20:07 +01:00
tapadipti
95731e9a37
Doc URL correction for GitAuthError
2022-01-31 14:50:37 +05:45
Ruslan Kuprieiev
aca6d229da
output: move isexec to meta
...
With our staging process automatically capturing file metadata, we no longer
need to set isexec ourselves.
In followup PRs we will also use meta during checkout, so that we won't need
to use Output.set_exec by hand.
2022-01-27 18:55:32 +02:00
dependabot[bot]
60e502d361
build(deps-dev): Bump google-cloud-storage from 2.0.0 to 2.1.0
...
Bumps [google-cloud-storage](https://github.com/googleapis/python-storage ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/googleapis/python-storage/releases )
- [Changelog](https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-storage/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: google-cloud-storage
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-27 14:48:46 +05:45
David de la Iglesia Castro
8c2f8095da
debug: Remove test_viztracer_internal
2022-01-27 09:36:06 +05:45
David de la Iglesia Castro
5e80fcce4f
exp show: Include outs in --json output.
2022-01-26 18:45:48 +01:00
David de la Iglesia Castro
1a1e28282d
exp show: Include deps columns.
...
Use `repo.index.deps` to collect dependencies associated with each experiment.
2022-01-26 18:45:48 +01:00
Daniele Trifirò
e3b97cb3a7
ignore: move debug statetement to the proper location
2022-01-26 18:44:01 +02:00
David de la Iglesia Castro
d882e21b9b
debug: Remove viztracer-depth default
2022-01-25 20:28:41 +05:45
David de la Iglesia Castro
3276c76a02
tests: Add test_debug
2022-01-25 20:28:41 +05:45
Saugat Pachhai
758dc43575
Update dvc/_debug.py
2022-01-25 20:28:41 +05:45
David de la Iglesia Castro
f1dc9e50a7
debug: Add support for viztracer profiler.
2022-01-25 20:28:41 +05:45
Saugat Pachhai (सौगात)
2f15f30b0e
exp run: do not log message twice on workspace executor
...
Fixes #7276 .
2022-01-25 19:01:48 +05:45
Peter Rowlands
47d10c4a8b
utils: add decorator to wrap diskcache pickle errors
2022-01-25 16:21:53 +09:00
David de la Iglesia Castro
822b501069
add: Update help of --jobs
2022-01-24 21:06:47 +01:00
Saugat Pachhai (सौगात)
943481f0a3
exp init: handle exception properly on missing parameters file
2022-01-24 17:43:29 +05:45
Jeff Hale
b30385885b
Fix 3 README links so that they render in GitHub
2022-01-24 15:55:12 +09:00
David de la Iglesia Castro
d4861d535a
TabularData: Simplify drop internals.
...
Update `subset` type hint.
2022-01-22 09:41:29 +08:00
dberenbaum
646097a735
update exp init help text
2022-01-21 11:07:32 +05:45
David de la Iglesia Castro
43953ace53
exp show: Add --drop and --keep args
...
Removed `--include-metrics` / `--include-params` and
`--exclude-metrics` / `--exclude-params`.
Removed `--no-timestamp` . Can be done by `--drop Created`.
`--drop` and `--keep` operate directly on the table columns.
`--keep` does not perform any filtering. It's only used
to specify columns to keep despite the other filtering.
For example `--only-changed --keep foo` will prevent
`foo` from being removed by `--only-changed`.
Another example, `--drop train.* --keep train.dropout`
will remove all columns matching `train.*` except for
`train.dropout`.
Closes #7079
Closes #7080
Pre-requisite for #6434
2022-01-20 03:28:33 +01:00
David de la Iglesia Castro
255e6a1aec
TabularData: Support protected`columns.
...
TabularData: Add subset arg to dropna and drop_duplicates.
Closes #7083
2022-01-20 03:28:33 +01:00
Saugat Pachhai (सौगात)
73fee513b9
cli: improve startup speed
...
fsspec callbacks were making us lose 35ms (~207 ms vs 170ms now).
These are now extracted from dvc.progress to dvc.fs._callback.
2022-01-19 20:38:19 +02:00
Saugat Pachhai (सौगात)
b0f65cbd17
tests: increase timeout for exp init tests
2022-01-19 20:26:41 +05:45
Saugat Pachhai (सौगात)
672f079cc6
tests: clean repositories before each test runs
2022-01-19 20:21:48 +05:45
Saugat Pachhai (सौगात)
446516d788
refactor: rename dvc.command to dvc.commands
2022-01-19 19:41:40 +05:45
Saugat Pachhai (सौगात)
1b3e1251e6
cli refactor: move dvc.command.base to dvc.cli.command
2022-01-19 19:41:40 +05:45
Saugat Pachhai (सौगात)
4268b5a339
cli: don't inherit DvcParserError from DvcException, move to dvc.cli
2022-01-19 19:41:40 +05:45
Saugat Pachhai (सौगात)
f5baf990cf
cli: refactor into a module
...
By splitting dvc.cli into a module, we'll be able to share cli-related
utilities, split parser-related stuffs into smaller parts, improve
reusability and improve API for command extensions in the future.
2022-01-19 12:22:07 +02:00
dependabot[bot]
69ff760e4b
build(deps-dev): Bump pytest-timeout from 2.0.2 to 2.1.0
...
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout ) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases )
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/2.0.2...2.1.0 )
---
updated-dependencies:
- dependency-name: pytest-timeout
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-19 10:57:17 +05:45
Saugat Pachhai (सौगात)
4ba504be3e
repro/exp run: display stage instead of filepath on failure
...
Before it used to say 'failed to reproduce dvc.yaml', which is now changed
to print 'failed to reproduce train' or something similar.
For stages that are in dvc.yaml in the current working directory, it will
just print the stage names. For stages in other dvc.yaml files, it'll print
in <relative_path>:<stage_name>.
2022-01-19 06:58:40 +05:45
Ruslan Kuprieiev
377b0bc689
find_root: unify error message
...
We used to use that message for special external repo cases, but we don't
need it anymore.
Fixes #7281
Leftover from #7214
2022-01-19 01:39:48 +02:00
Matt Seddon
89f2d42df8
plots: update linear template so colors can be externally overwritten
2022-01-18 12:42:17 +01:00
karajan1001
57263f15fa
Pull: accept multiple as input( #7196 )
...
fix : #7196
New feature: now `dvc exp pull` can accept a list of experiment names as input.
2. add support to list input for the `exp pull`
3. add function tests for the multi exp pull
4. add unit test for the arg parse
2022-01-18 17:31:55 +08:00
karajan1001
9bb6494e55
Push: accept multiple as input( #7196 )
...
fix : #7196
New feature: now `dvc exp push` can accept a list of experiment names as input.
1. refactor of experiment push
2. add support to list input for the `exp push`
3. add function tests for the multi exp push
4. add unit test for the arg parse
2022-01-18 17:31:55 +08:00
Ruslan Kuprieiev
13238e9716
objects: fix imports
2022-01-15 21:39:39 +02:00
Ruslan Kuprieiev
85181e396f
objects: fix empty line
2022-01-15 21:20:09 +02:00
Ruslan Kuprieiev
4c3c492b90
objects: don't forget __init__.py
2022-01-15 21:16:20 +02:00
dependabot[bot]
474812195e
build(deps-dev): Bump wsgidav from 3.1.1 to 4.0.1
...
Bumps [wsgidav](https://github.com/mar10/wsgidav ) from 3.1.1 to 4.0.1.
- [Release notes](https://github.com/mar10/wsgidav/releases )
- [Changelog](https://github.com/mar10/wsgidav/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mar10/wsgidav/compare/v3.1.1...v4.0.1 )
---
updated-dependencies:
- dependency-name: wsgidav
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-14 09:12:16 +05:45
Saugat Pachhai
c83612be71
deps-dev: don't specify pygments explicitly
...
pygments is a transitive dependency for us, from `rich` and here it was for `collective.checkdocs`.
2022-01-14 09:11:20 +05:45
dependabot[bot]
161e7892ba
build(deps-dev): Bump google-cloud-storage from 1.43.0 to 2.0.0
...
Bumps [google-cloud-storage](https://github.com/googleapis/python-storage ) from 1.43.0 to 2.0.0.
- [Release notes](https://github.com/googleapis/python-storage/releases )
- [Changelog](https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-storage/compare/v1.43.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: google-cloud-storage
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-14 09:02:38 +05:45
dependabot[bot]
0a0e3c3f9c
build(deps-dev): Bump types-requests from 2.27.5 to 2.27.7
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.27.5 to 2.27.7.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-14 09:02:25 +05:45
dependabot[bot]
ac2feb2340
build(deps): Bump pyinstaller from 4.7 to 4.8
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 4.7 to 4.8.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES-3.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v4.7...v4.8 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-13 17:00:03 +09:00
Peter Rowlands
dd5d999644
exp: add exp run --machine flag
2022-01-13 16:34:20 +09:00
Peter Rowlands
3c7695b39d
exp: add SSHExecutor.reproduce via exp exec-run
2022-01-13 16:34:20 +09:00
Peter Rowlands
367e5d1429
exp: add exec-run plumbing command to run exp from ExecutorInfo
2022-01-13 16:34:20 +09:00
Peter Rowlands
fb16cd06e3
machine: update behavior for exp ssh executors
...
- log startup script finished message
- add setup_script option for runtime env setup
2022-01-13 16:34:20 +09:00
Peter Rowlands
39eee9b5a6
exp: implement git + DVC cache collection for ssh executors
2022-01-13 16:34:20 +09:00
Peter Rowlands
84da78a62b
exp: initial SSHExecutorManager implementation
2022-01-13 16:34:20 +09:00
Peter Rowlands
4b9d39c901
push/fetch: support push/fetch to specific ODB
...
- prerequisite for remote execution
- allow explicitly pushing imports which would normally be skipped
(internal-use only, does not apply to `dvc push`)
2022-01-13 16:34:20 +09:00
David de la Iglesia Castro
5b8bf52eab
plots: Fix --json requiring -o.
...
`-o` was being required even when renderers don't need output path.
2022-01-12 18:00:08 +01:00
karajan1001 and Peter Rowlands
b673ac24d0
exp show: add --rev flag ( #7152 )
...
fix : #7152
1. Add `--rev` flag to `dvc exp show`.
2. Add -1 support for `--num` flag`.
3. Extract revision found logic to `utils`.
4. Brancher use this revision found logic.
5. Update command unit test
6. Add a util unit test.
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-01-11 19:01:34 +08:00
Saugat Pachhai (सौगात)
87abeaddc2
rich-table: fix add_column args/kwargs
...
Rich added `vertical` kwarg in `add_column`, which linter
is now complaining (as it should). But this may keep on breaking
when rich adds/removes args/kwargs in the future.
So, this commit uses (*args, **kwargs) instead of specifying particular
parameters explicitly. This also sets `collapse` directly to the
`rich.table.Column` rather than extending through our one `Column`
implementation.
2022-01-11 11:28:54 +05:45
dependabot[bot]
a3dece8236
build(deps-dev): Bump types-tabulate from 0.8.4 to 0.8.5
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-11 09:19:36 +05:45
dependabot[bot]
221adf246b
build(deps-dev): Bump types-toml from 0.10.1 to 0.10.3
...
Bumps [types-toml](https://github.com/python/typeshed ) from 0.10.1 to 0.10.3.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-toml
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-11 09:10:44 +05:45
dependabot[bot]
8681086bfb
build(deps-dev): Bump mypy from 0.930 to 0.931
...
Bumps [mypy](https://github.com/python/mypy ) from 0.930 to 0.931.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.930...v0.931 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-11 09:02:39 +05:45
dependabot[bot]
6c3b1370a3
build(deps-dev): Bump types-requests from 2.26.3 to 2.27.5
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.26.3 to 2.27.5.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-11 08:36:12 +05:45
Ruslan Kuprieiev
9a01d98876
odb: move gc into a separate function
2022-01-11 01:52:34 +02:00
Ruslan Kuprieiev
e190433249
lint: add new ignores
...
mypy:
```
dvc/utils/table.py: note: In member "add_column" of class "Table":
dvc/utils/table.py:24:5: error: Argument 7 of "add_column" is incompatible with
supertype "Table"; supertype defines the argument type as
"Union[Literal['top'], Literal['middle'], Literal['bottom']]" [override]
def add_column( # pylint: disable=arguments-differ
^
dvc/utils/table.py:24:5: note: This violates the Liskov substitution principle
dvc/utils/table.py:24:5: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
dvc/utils/table.py:24:5: error: Argument 8 of "add_column" is incompatible with
supertype "Table"; supertype defines the argument type as
"Union[Literal['fold'], Literal['crop'], Literal['ellipsis'], Literal['ignore']]"
[override]
def add_column( # pylint: disable=arguments-differ
^
dvc/utils/table.py:24:5: error: Argument 12 of "add_column" is incompatible
with supertype "Table"; supertype defines the argument type as "Optional[int]"
[override]
def add_column( # pylint: disable=arguments-differ
^
Found 3 errors in 1 file (checked 129 source files)
dvc/ui/table.py:87: note: In module imported here,
dvc/compare.py:25: note: ... from here:
dvc/utils/table.py: note: In member "add_column" of class "Table":
dvc/utils/table.py:24:5: error: Argument 7 of "add_column" is incompatible with
supertype "Table"; supertype defines the argument type as
"Union[Literal['top'], Literal['middle'], Literal['bottom']]" [override]
def add_column( # pylint: disable=arguments-differ
^
dvc/utils/table.py:24:5: note: This violates the Liskov substitution principle
dvc/utils/table.py:24:5: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
dvc/utils/table.py:24:5: error: Argument 8 of "add_column" is incompatible with
supertype "Table"; supertype defines the argument type as
"Union[Literal['fold'], Literal['crop'], Literal['ellipsis'], Literal['ignore']]"
[override]
def add_column( # pylint: disable=arguments-differ
^
dvc/utils/table.py:24:5: error: Argument 12 of "add_column" is incompatible
with supertype "Table"; supertype defines the argument type as "Optional[int]"
[override]
def add_column( # pylint: disable=arguments-differ
^
Found 3 errors in 1 file (checked 128 source files)
```
pylint:
```
************* Module dvc.utils.table
dvc/utils/table.py:24:4: W0237: Parameter 'vertical' has been renamed to 'overflow' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'overflow' has been renamed to 'width' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'width' has been renamed to 'min_width' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'min_width' has been renamed to 'max_width' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'max_width' has been renamed to 'ratio' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'ratio' has been renamed to 'no_wrap' in overridden 'Table.add_column' method (arguments-renamed)
dvc/utils/table.py:24:4: W0237: Parameter 'no_wrap' has been renamed to 'collapse' in overridden 'Table.add_column' method (arguments-renamed)
```
2022-01-11 00:47:38 +02:00
Ruslan Kuprieiev
f64018b75e
dvc: separate data and objects
...
Initial simple separation to get the process of extracting dvc-objects
and dvc-data packages out of dvc.
dvc-objects is for:
* defining base Object (aka HashFile) and ObjectDB
* providing tools to work with those objects (check/transfer/etc)
* etc
dvc-data is for:
* defining higher level objects (e.g. Tree)
* bulding objects from the workspace (aka staging)
* projecting objects back into the workspace (aka checkout)
* comparing Tree objects (aka diff)
* defining misc object databases (e.g LocalObjectDB)
* higher-level transfer (e.g. with Tree indexes)
* etc
For example, the objects we use in run-cache are based on dvc-objects
and not on dvc-data, as they have absolutely nothing to do with data
management.
There are still some mixups in the code that will be addressed in the
followups.
2022-01-11 00:47:38 +02:00
Gavin Li
92f714e5ca
fs: test_links: create destination directory first
...
`dvc.fs.utils.test_links()` fails with a CacheLinkError if the target `to_path` does not already exist, as is the case when "abc.dvc" exists (referring to a directory object) and we try to run "dvc pull abc/def". To avoid this issue, fully create `to_path` before attempting to create a link in it.
2022-01-08 13:56:51 +02:00
Jon Burdo
634246f81c
add tests for Path.parts
2022-01-07 13:26:45 +02:00
Jon Burdo
05b5e9dc29
handle paths ending with sep in dvc.fs.path.Path.parts
2022-01-07 13:26:45 +02:00
Paweł Redzyński
a3144482ba
render: vega: data processing outside of renderers
...
Fixes : #6943
2022-01-07 10:39:12 +01:00
Amrit Ghimire and Saugat Pachhai
44a1146915
test: fix test failure in case of different default branch ( #6857 )
...
* test: fix test failure in case of different default branch
When the git config has set global `init.defaultBranch` different than master,
a few test cases were failing.
Currently, the test case is assuming the default branch to be set as
master.
This commit will introduce **initial_branch** option to git init call
which will ensure *master* branch is used as default for out test cases.
Set default git branch to main for test CI
Since main is going to be new default branch, it will let the test case
handle the scenario where default branch is set other than master.
Introduce isolation for git configuration
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2022-01-07 11:13:04 +05:45
Saugat Pachhai (सौगात)
ec3600eb8e
output: don't raise RemoteCacheRequiredError on instantiation, make it lazy
2022-01-06 22:29:49 +02:00
Paweł Redzyński
fe4fefd880
ls: handle broken symlink
...
Fixes : #7120
2022-01-06 22:12:17 +02:00
karajan1001 and Peter Rowlands
b6a2402d27
exp remove: refactor exp utils ( #7196 )
...
fix : #7196
1. Refactor exp_ref_by_name in `dvc/repo/experiments/utils.py`.
In previous the exp_ref_by_name walk throught all of the references to
match only one exp name. This makes multi exp name seeking to be a job
of `O(mn)` complexity, Walking though the exp ref and return all of the
exp ref with greatly reduce this complexity to `O(n)`
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2022-01-06 12:20:29 +08:00
Saugat Pachhai
d90fe54df4
tests: remove tests.unit.scm
...
I forgot to remove it before during #6836 .
2022-01-05 20:36:29 +05:45
Peter Rowlands
9e590edb70
odb: pin index pickle protocol version
2022-01-04 20:22:08 +02:00
karajan1001
6bb4889022
ui: remove None in CellT type
...
From https://github.com/iterative/dvc/pull/6893/files#r777784748
Table rendering does not support `None` for now, and we will change it
back after (#7167 ).
2022-01-04 15:41:18 +08:00
David de la Iglesia Castro
0a4958bafd
TabularData: Decouple pcp from render.
2022-01-03 16:30:54 +01:00
David de la Iglesia Castro
5a9f861921
exp show: Rename html to pcp
...
Closes #7165
2022-01-03 16:30:54 +01:00
David de la Iglesia Castro
fc1ab7d3a1
Update show.py
2022-01-03 16:14:37 +01:00
David de la Iglesia Castro
760c8fceb3
plots: Add auto_open hint
2022-01-03 16:07:23 +01:00
David de la Iglesia Castro
d8e2c14927
config: Add plots.auto_open.
...
Option for enabling automatically open webbrowser with generated html.
Defaults False.
Closes #6091
2022-01-03 16:07:23 +01:00
dependabot[bot]
a73accd071
build(deps-dev): Bump filelock from 3.4.0 to 3.4.2
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.4.0...3.4.2 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-03 20:04:58 +05:45
dependabot[bot]
69ac43f131
build(deps-dev): Bump pylint-plugin-utils from 0.6 to 0.7
...
Bumps [pylint-plugin-utils](https://github.com/PyCQA/pylint-plugin-utils ) from 0.6 to 0.7.
- [Release notes](https://github.com/PyCQA/pylint-plugin-utils/releases )
- [Commits](https://github.com/PyCQA/pylint-plugin-utils/compare/0.6...0.7 )
---
updated-dependencies:
- dependency-name: pylint-plugin-utils
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-03 17:36:22 +05:45
Alexander Schepanovski
9ee428ef17
Fix memory leak in Index.build_graph()
...
`@memoize()` memory lives as long as decorated function lives, which is
permanent in this case. Since `self` is referenced as a memory key no
`Index` will ever be freed.
Changed to use `@cached_property` whose cache lives as long as the
parent instance.
2022-01-03 13:41:10 +02:00
Peter Rowlands
0e0e1725e6
exp: handle non-exp refs in get_exact_name()
2022-01-03 15:02:19 +05:45
Saugat Pachhai (सौगात)
a1609cfb10
exp: raise InvalidExpRefError properly
...
Before it was just left instantiated, but was not raised.
2022-01-03 15:02:19 +05:45
David de la Iglesia Castro
175ffaeb22
exp show: Remove alternating background
2022-01-03 16:38:39 +09:00
dependabot[bot]
025e15d500
build(deps-dev): Bump types-tabulate from 0.8.3 to 0.8.4
...
Bumps [types-tabulate](https://github.com/python/typeshed ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-tabulate
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-03 10:38:08 +05:45
dependabot[bot]
52a234c5b8
build(deps-dev): Bump pygments from 2.10.0 to 2.11.1
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.10.0 to 2.11.1.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.10.0...2.11.1 )
---
updated-dependencies:
- dependency-name: pygments
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-01-03 10:09:53 +05:45
Ruslan Kuprieiev
8ec1af1cf4
config: remove useless os.path.join
2021-12-31 19:03:05 +02:00
Ruslan Kuprieiev
35d364a527
repo: use fs instead of scm
...
SCM is used for both reading and writing operations, but in the former case -
as filesystem and in the latter - as actual scm/git. So we should distinguish
those and use fs directly, which follows the overall philosophy of being able
to use Repo on any fs.
Keeping `rev=` option for `Repo` because it is a very convenient way to get
repo instance from local path but for particular branch/tag/etc.
Pre-requisite for git/dvc/repofs refactorings.
2021-12-31 02:44:21 +02:00
David de la Iglesia Castro
9a5614d326
TabularData: Add ignore_empty flag to drop_duplicates.
...
Configures whether to consider missing values as relevant or not.
2021-12-29 21:33:36 +01:00
David de la Iglesia Castro
12a737d905
TabularData: Fix drop_duplicates for rich_text NaN.
...
When filling missing values with `ui.rich_text` (i.e. in experiments show CMD), those values were not being correctly matched against `self._fill_value`)
2021-12-29 21:33:36 +01:00
Paweł Redzyński
51a6116b92
plots: dir: handle no data in cache/remote
...
Fixes : iterative/cse#4
2021-12-29 13:21:37 +01:00
dependabot[bot]
3566b1941c
build(deps-dev): Bump types-requests from 2.26.2 to 2.26.3
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.26.2 to 2.26.3.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-29 12:53:59 +09:00
pre-commit-ci[bot]
ceeda6d307
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0 )
2021-12-28 15:01:38 +08:00
karajan1001
98d7f785e9
exp show: remove a useless function
...
The function `_raise_error_if_all_disabled` is copyed wrongly to this
place during sub command refactoring. It used to be used in `exp gc`,
can be deleted from this function.
2021-12-27 20:35:07 +01:00
Ruslan Kuprieiev
04e93da0bd
fs: remove unused RemoteCmdError
2021-12-23 19:02:44 +02:00
Ruslan Kuprieiev
72aaca4343
odb: move verify option to config
...
These options are part of the default config for each particular remote.
Plugins will define their default config on theirown, but for now we keep
those in one config schema.
2021-12-23 12:49:16 +02:00
dependabot[bot]
60cb8322d9
build(deps-dev): Bump mypy from 0.921 to 0.930
...
Bumps [mypy](https://github.com/python/mypy ) from 0.921 to 0.930.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.921...v0.930 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-23 09:50:23 +05:45
dependabot[bot]
b0b9a74207
build(deps-dev): Bump wheel from 0.37.0 to 0.37.1
...
Bumps [wheel](https://github.com/pypa/wheel ) from 0.37.0 to 0.37.1.
- [Release notes](https://github.com/pypa/wheel/releases )
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst )
- [Commits](https://github.com/pypa/wheel/compare/0.37.0...0.37.1 )
---
updated-dependencies:
- dependency-name: wheel
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-23 09:50:05 +05:45
Saugat Pachhai (सौगात)
32fcc73078
deps: explicitly specify pyarrow for hdfs
2021-12-22 16:45:12 +02:00
Saugat Pachhai (सौगात)
e3596178d4
deps: move requests-kerberos to webhdfs_kerberos extras instead of webhdfs
2021-12-22 16:44:52 +02:00
Saugat Pachhai (सौगात)
ba40d91de6
fs.hdfs: skip port if not available
2021-12-22 16:43:56 +02:00
dependabot[bot]
02cfbcfc32
build(deps-dev): Bump mypy from 0.920 to 0.921
...
Bumps [mypy](https://github.com/python/mypy ) from 0.920 to 0.921.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.920...v0.921 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-22 12:45:02 +02:00
dependabot[bot]
96acb64fec
build(deps): Bump scmrepo from 0.0.6 to 0.0.7
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.6...0.0.7 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
tests: fix invalid set_ref in exp func test
2021-12-22 17:52:30 +09:00
David de la Iglesia Castro
1507a6ed99
Update benchmarks.yaml
2021-12-21 09:03:19 +05:45
Saugat Pachhai
6034f0e36a
s3: remove explicit dependency on aiobotocore; simplify constraints
...
Hoping to fix `dvc[s3]` installations in pipenv. Pipenv's resolver is in loop, backtracking ruamel.yaml from 0.17.17 to 0.17.11 continuously. I think this has to do
more with `s3`'s dependency than `ruamel.yaml` as it only fails here. And, we are specifying dependency in 1.0.1 whereas aiobotocore has released 2.0 versions which is what is being installed, so it's redundant anyway. I am hopeful that this may help resolver with the simplification in constraints.
2021-12-20 14:32:42 +05:45
Saugat Pachhai
6df1ee87ab
Specify bcrypt explicitly
2021-12-20 12:16:14 +05:45
dependabot[bot]
a6263cffc8
build(deps-dev): Bump types-requests from 2.26.1 to 2.26.2
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.26.1 to 2.26.2.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-20 10:37:39 +08:00
Paweł Redzyński
8ca3a7b684
fs: repo: raise proper FileNotFoundError in metadata
...
Related: #7120
2021-12-17 15:48:29 +02:00
David de la Iglesia Castro
4d5be46ab4
exp show --html: Handle fill_value.
...
Adds new argument `fill_value` to ParallelCoordinatesRenderer.
For scalar columns, prevent converting to categorical by explictly inserting None when value is missing (value == fill_value).
For categorical columns, replace `fill_value` with `"Missing"` and ensure it is the last item so it gets rendered on top of the column.
2021-12-17 14:45:12 +09:00
David de la Iglesia Castro
5ee82d4000
exp show: Add parallel coordinates plot.
...
Uses `TabularData.to_parallel_coordinates`.
Adds new arguments: `html`, `out`, `open`
Reuses `--sort-by` to define colorscale.
Closes #4455
2021-12-17 14:45:12 +09:00
David de la Iglesia Castro
a5b7c5ea19
TabularData: Add to_parallel_coordinates.
...
Uses `ParallelCoordinatesRenderer` and `dvc.render.html.write`.
pre-requisite #4455
2021-12-17 14:45:12 +09:00
David de la Iglesia Castro
19b3c82698
dvc render: Add plotly parallel coords renderer
...
New renderer based on plotly. Not exposed to `dvc plots`.
Generate plotly datapoints from `TabularData`.
pre-requisite #4455
2021-12-17 14:45:12 +09:00
David de la Iglesia Castro
9bd60f62d7
exp show: Add alternating row colors and update border style.
...
Use `box.HORIZONTALS`.
rich_table: Support `box.HORIZONTALS`
Closes #7128
2021-12-17 14:31:53 +09:00
dependabot[bot]
970cbfa64e
build(deps-dev): Bump mypy from 0.910 to 0.920
...
Bumps [mypy](https://github.com/python/mypy ) from 0.910 to 0.920.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v0.910...v0.920 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-16 16:04:47 +09:00
Ruslan Kuprieiev
0bf56fe29b
rename master -> main
2021-12-15 22:19:36 +02:00
Ruslan Kuprieiev
30d6839a5f
diff: use relpaths
...
Regression from path_info removal.
Also fixes #7147
2021-12-15 17:27:38 +02:00
Paweł Redzyński
e24de3a0f3
plots: introduce --json option
...
Fixes : #7073
2021-12-15 11:05:57 +01:00
Peter Rowlands
25ef812ecf
exp: use process manager dirs for serialized executors
...
- partially refactor existing pidfile behavior into using proc manager
- old pidfiles are now json-serialized executor info files placed in
proc manager subdirs (alongside proc manager pidfile/logs/etc)
- move multiprocessing based (attached) execution into separate
execution path from future "detached" execution support
2021-12-15 15:55:32 +09:00
Peter Rowlands
fa819b0b70
exp: refactor workspace repro into executor classes
2021-12-15 15:55:32 +09:00
Peter Rowlands
37f8010b42
exp: initial executor manager refactor
...
- introduce ExecutorManager classes
- move executor init + execution from experiments.__init__ into the
manager classes
- make executors serializable via ExecutorInfo
2021-12-15 15:55:32 +09:00
Saugat Pachhai
8319cc50c6
Update setup.cfg
2021-12-14 21:11:28 +05:45
dependabot[bot]
98c22e3277
build(deps): Bump scmrepo from 0.0.4 to 0.0.5
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.4...0.0.5 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-14 21:11:28 +05:45
Saugat Pachhai (सौगात)
3ca8e26169
tests: get rid of GitFS related tests
...
Also refactored unittest-based tests for LocalFileSystem to pytest
2021-12-14 17:55:26 +05:45
karajan1001 and Peter Rowlands
0deab0118a
exp: split exp sub command ( #5489 )
...
related to #5489
Current dvc/command/experiments.py is too long for switch between cmd class
and the argument parser.
Split the sub command in dvc/command/experiments.py to individual files
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2021-12-14 19:16:04 +08:00
dependabot[bot]
72af8b8605
build(deps-dev): Bump pytest-timeout from 2.0.1 to 2.0.2
...
Bumps [pytest-timeout](https://github.com/pytest-dev/pytest-timeout ) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pytest-dev/pytest-timeout/releases )
- [Commits](https://github.com/pytest-dev/pytest-timeout/compare/2.0.1...2.0.2 )
---
updated-dependencies:
- dependency-name: pytest-timeout
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-14 16:53:58 +08:00
Saugat Pachhai (सौगात)
ba4955738f
tests: remove func.test_scm
2021-12-13 21:03:24 +05:45
dependabot[bot]
602713e57b
build(deps-dev): Bump pytest-xdist from 2.4.0 to 2.5.0
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 2.4.0 to 2.5.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/v2.4.0...v2.5.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-13 13:39:50 +09:00
Paweł Redzyński
7250e1b336
dvc: fix installation from archives
...
Fixes : #7124
2021-12-11 05:49:28 +02:00
Ruslan Kuprieiev
896bbf1fc6
fs: get rid of unused DETAIL_FIELDS
2021-12-10 18:02:22 +02:00
Ruslan Kuprieiev
81eda7e2b7
fs: get rid of CHECKSUM_DIR_SUFFIX and is_dir_hash
...
These are leftovers from old remotes, that clearly have nothing
to do with filesystems.
2021-12-10 10:53:10 +02:00
Ruslan Kuprieiev
82c5caee27
setup: unpin s3fs/ossfs/gcsfs
2021-12-09 15:20:22 +02:00
Paweł Redzyński
eb41b8b3e0
setup: bump gcsfs
...
Related: #7053
2021-12-09 15:20:22 +02:00
Ruslan Kuprieiev
ea49fb95f7
setup: bump s3fs
...
Fixes #7053
2021-12-09 13:57:40 +02:00
dependabot[bot]
e977bcc6d9
build(deps-dev): Bump dvclive[image] from 0.4.5 to 0.4.6
...
Bumps [dvclive[image]](https://github.com/iterative/dvclive ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.4.5...0.4.6 )
---
updated-dependencies:
- dependency-name: dvclive[image]
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-08 14:32:48 +02:00
dependabot[bot]
33228b5cd4
build(deps): Bump scmrepo from 0.0.3 to 0.0.4
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.3...0.0.4 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-08 12:01:56 +01:00
Ruslan Kuprieiev
064fbfd0d5
webdav: fix unstrip_protocol
2021-12-07 23:59:12 +02:00
Ruslan Kuprieiev
e8e1c76504
fs: path: use ntpath/posixpath
...
This is less error-prone than implementing these methods ourselves.
2021-12-07 22:58:48 +02:00
Saugat Pachhai (सौगात)
532e115782
exp init: unhide from dvc exp --help
2021-12-07 09:55:40 +05:45
Saugat Pachhai
189f4a0216
Update dvc/repo/experiments/init.py
2021-12-07 09:55:03 +05:45
pre-commit-ci[bot]
0bc101964e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-07 09:55:03 +05:45
Saugat Pachhai (सौगात)
3319808ed2
exp init: use shortlinks for doclinks
2021-12-07 09:55:03 +05:45
Saugat Pachhai (सौगात)
cd37ebca37
exp init: minor refactoring
2021-12-07 08:40:46 +05:45
dberenbaum
4385720fab
exp init: update tests
2021-12-07 07:34:31 +05:45
dberenbaum
d52123f850
exp init: change default stage name to train
2021-12-07 07:34:31 +05:45
pre-commit-ci[bot]
9803db6a64
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-12-07 06:17:02 +05:45
pre-commit-ci[bot]
bcb1ba0ea8
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/ambv/black: 21.11b1 → 21.12b0](https://github.com/ambv/black/compare/21.11b1...21.12b0 )
2021-12-07 06:17:02 +05:45
Saugat Pachhai (सौगात)
389fd48b5a
exp init: change type to --type=live to --type=dl
2021-12-07 05:56:23 +05:45
Ruslan Kuprieiev
2ecbb16769
setup: bump scmrepo
2021-12-06 19:27:16 +02:00
Ruslan Kuprieiev
ec73300782
odb: make some listing methods private
...
These are not used anywhere outside of odb, so we can make them private
to reduce the scope for the upcoming refactoring.
2021-12-06 14:10:50 +02:00
Paweł Redzyński
954ac6ab03
plots: roll back templates in packages change
...
Fixes : #6911
Reverts: a1b146669c
2021-12-06 09:55:13 +02:00
dependabot[bot]
1020b06a16
build(deps-dev): Bump pylint from 2.12.1 to 2.12.2
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.12.1 to 2.12.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.12.1...v2.12.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-06 09:47:25 +02:00
karajan1001
9cf1f45e71
proc: implement cleanup/removal ( #7063 )
...
fix : #7063
Add `cleanup` and `removal` function to ProcessManager
2021-12-06 15:25:15 +09:00
dependabot[bot]
b67e75c691
build(deps-dev): Bump requests-kerberos from 0.13.0 to 0.14.0
...
Bumps [requests-kerberos](https://github.com/requests/requests-kerberos ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/requests/requests-kerberos/releases )
- [Changelog](https://github.com/requests/requests-kerberos/blob/master/HISTORY.rst )
- [Commits](https://github.com/requests/requests-kerberos/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: requests-kerberos
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-12-06 11:38:43 +08:00
David de la Iglesia Castro
728731d4d7
ui: Add open_browser.
...
Use `webbrowser.open` and relpath for WSL plattform.
2021-12-05 15:44:13 +02:00
Paweł Redzyński
6723a34bda
render: image: make html less ugly
2021-12-05 15:42:07 +02:00
karajan1001
eb26b9a78d
ci: fix ci failure
...
We didn't mock `os.kill` in `test_dead_process` and the pid it
kills might coincidentlly be the same with some real process.
1. Add a mocker to mock out `os.kill` in `test_dead_process`.
2. Use reset_mock to replace setting it again.
2021-12-04 19:40:57 +09:00
Ruslan Kuprieiev
42641ddd20
gha: remove remote leftovers
...
Followup for #7087
2021-12-03 23:11:22 +02:00
Ruslan Kuprieiev
b6f2a8e653
tests: remove redundant remote tests
...
With introduction of https://github.com/iterative/dvc-plugins ,
all important tests are being ran there, so there is no need
for dvc repo to run them again.
This PR also removes some redundant/broken remote tests.
2021-12-03 22:45:41 +02:00
Ruslan Kuprieiev
024f06d672
gdrive: fix path operations
2021-12-02 18:52:18 +02:00
Ruslan Kuprieiev
8dd3b28729
gdrive: fix typo
2021-12-02 17:22:47 +02:00
Ruslan Kuprieiev
d4178c080b
gdrive: don't forget bucket when generating a url
2021-12-02 17:21:51 +02:00
Ruslan Kuprieiev
302f5b07f6
gdrive: fix typo
2021-12-02 17:19:12 +02:00
karajan1001 and Peter Rowlands
7d68863ba2
proc: implement process signaling( #7062 )
...
fix : #7062
1. Add `send_signal`, `kill`, `terminate` to processManager.
2. Add tests for each of them.
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2021-12-02 16:39:41 +09:00
Ruslan Kuprieiev
09f48a5aaa
tests: introduce dvc.testing
...
This is a very early version of test utils for dvc plugins. This module
consists of existing tests with minimal changes and is going to evolve
a lot as our plugins are getting filled in and pytest-test-utils matures.
2021-12-02 09:08:40 +02:00
dependabot[bot]
004e15c2c0
build(deps-dev): Bump types-requests from 2.26.0 to 2.26.1
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.26.0 to 2.26.1.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-29 20:24:26 +05:45
dependabot[bot]
382edfc382
build(deps-dev): Bump dvclive[image] from 0.4.3 to 0.4.5
...
Bumps [dvclive[image]](https://github.com/iterative/dvclive ) from 0.4.3 to 0.4.5.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.4.3...0.4.5 )
---
updated-dependencies:
- dependency-name: dvclive[image]
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-29 17:17:46 +05:45
Peter Rowlands
dd535f617b
proc: initial ProcessManager skeleton
2021-11-29 07:00:38 +02:00
Peter Rowlands
15eb326188
proc: initial ManagedProcess implementation
...
- supports running (backgrounded) processes with redirected output
2021-11-29 07:00:38 +02:00
dependabot[bot]
34f402659c
build(deps): Bump scmrepo from 0.0.1 to 0.0.2
...
Bumps [scmrepo](https://github.com/iterative/scmrepo ) from 0.0.1 to 0.0.2.
- [Release notes](https://github.com/iterative/scmrepo/releases )
- [Commits](https://github.com/iterative/scmrepo/compare/0.0.1...0.0.2 )
---
updated-dependencies:
- dependency-name: scmrepo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-26 09:36:57 +05:45
dependabot[bot]
3e808b6f37
build(deps-dev): Bump pylint from 2.11.1 to 2.12.1
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.11.1...v2.12.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-26 09:36:25 +05:45
Saugat Pachhai (सौगात)
ea52ab2260
remove dvc.scm and dvc.fs.git module; rename dvc.fs.scm to dvc.fs.git
2021-11-25 19:09:58 +02:00
Paweł Redzyński
57c6b1036f
gha: allow builds for new 3.9 versions
...
Closes : #6975
2021-11-25 14:40:40 +02:00
Saugat Pachhai
950b576cbd
packages: build binary pkgs with Python 3.9
2021-11-25 14:40:11 +02:00
Saugat Pachhai (सौगात)
2cbe25ac90
scm: move warning on unsupported index to scmcontext
...
Also makes `Repo.init` avoid using `scm.add` directly.
2021-11-25 12:29:50 +02:00
Saugat Pachhai (सौगात)
c9cd4a8c51
scm: remove dvc specific message; add client kwarg
...
This commit removes dvc specific message hardcoded in
scm.detach_head. Now that we are decoupling scm, we are
adding `client=` kwarg to be set by the caller.
2021-11-25 12:05:25 +02:00
Saugat Pachhai (सौगात)
95c726b297
fs.git: refactor GitFileSystem to be fsspec compliant
...
Also adds a wrapper for DVC to use as GitFileSystem in dvc.fs.scm.
This is temporary, and will be renamed back to dvc.fs.git after the
split.
Note that this filesystem is not fully compliant, it's only
meant to be compatible with our previous implementation.
2021-11-25 08:32:20 +05:45
Saugat Pachhai (सौगात)
281b97c8ef
scm: remove dependency from dvc's utils in scm
...
This removes dependency from dvc.utils and dvc.types from DVC.
Some utils like fix_env, is_binary have been reimplemented.
Regarding fix_env and is_binary, I think eventually this
should be a responsibility of DVC itself to set.
relpath implementation in DVC also works with paths in
different drives in Windows. I have changed this to use
os.path.relpath for now.
2021-11-24 17:00:12 +02:00
Saugat Pachhai (सौगात)
a282e0e48c
scm: restructure scm
...
Makes it easier to decouple, we'd only need to rename
dvc/scm/__init__.py to dvc/scm.py.
2021-11-24 11:46:40 +05:45
Saugat Pachhai (सौगात)
48581715b6
scm: remove exp related behaviours from scm.resolve_rev
2021-11-24 11:39:39 +05:45
dependabot[bot]
13ca959e98
build(deps): Bump actions/cache from 2.1.6 to 2.1.7
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-24 08:47:13 +05:45
Saugat Pachhai (सौगात)
a0f4e12fb4
scm: unified progress reporting in a structured way
...
This adds a support for reporting progress from Git in a structured
format. The gitpython already provides somewhat structured progress
reporting, dulwich on the other hand only provides git-like line
messages.
As gitpython uses git binary, it already parse this line format
in a structured way. This PR makes dulwich use the same machinery
to unify progress reporting for both dulwich and gitpython python.
This does add a dependency on gitpython even on dulwich backend,
so I am iffy if we should do this.
The alternative is to translate gitpython's progress reports to
string, and just use string messages as progress reports on both
dulwich and gitpython.
2021-11-23 19:50:12 +02:00
Saugat Pachhai (सौगात)
d95dd27773
scm: map internal SCMError to DVC's exception type
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
f76ef84c88
exceptions: migrate other scm exceptions to internal
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
f2f4227656
exceptions: migrate RevError
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
7ca8fbbc82
exceptions: migrate CloneError
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
8ec1ff44de
exceptions: move AuthError and InvalidRemote errors
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
c19a11152a
scm: move FileNotInRepoError and MergeConflictError to scm.exceptions
2021-11-23 19:21:51 +02:00
Saugat Pachhai (सौगात)
cab60b54f8
live: import webbrowser lazily; only patch webbrowser.open
2021-11-23 22:08:21 +05:45
David de la Iglesia Castro
fc7caa487f
tests: Patch webbrowser.open on session level
...
Closes #7014
2021-11-23 22:08:21 +05:45
Saugat Pachhai (सौगात)
568abb3e28
scm: remove dependency from DvcException
2021-11-23 13:19:41 +02:00
Kwon-Young Choi and Peter Rowlands
3e7cff3e35
exp: respect repo hardlink_lock config for the exp scm lock
...
- Will fix #7029
Co-authored-by: Peter Rowlands (변기호) <[email protected] >
2021-11-23 19:51:42 +09:00
Saugat Pachhai (सौगात)
7dc5420548
metrics/params diff: catch NoSCMError instead of a broad exception
...
instead of catching broad exception, NoSCMError should work here.
2021-11-23 13:21:15 +05:45
pre-commit-ci[bot]
644e9ede92
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/ambv/black: 21.10b0 → 21.11b1](https://github.com/ambv/black/compare/21.10b0...21.11b1 )
2021-11-22 21:36:19 +02:00
Paweł Redzyński
a9512e8585
plots: collect: return callable instead of data
...
Related to: #6923 , iterative/viewer#2657
2021-11-22 21:31:20 +02:00
Saugat Pachhai (सौगात)
00e53c5c32
tests: fix black
2021-11-22 17:33:12 +05:45
Saugat Pachhai (सौगात)
0aaf96bce4
exp init: show 'n to omit' on --explicit mode
2021-11-22 17:20:16 +05:45
Saugat Pachhai (सौगात)
e07b99ed33
tests: increase timeout to 2 second for prompts test
2021-11-22 15:10:55 +05:45
Saugat Pachhai (सौगात)
7bc906011f
tests: timeout only on functions, excluding tests fixtures
...
Sometimes, `tmp_dir` fixtures take longer than a second. Using `func_only`
makes it only consider duration of test function run, excluding fixtures
duration.
2021-11-22 15:10:55 +05:45
Saugat Pachhai (सौगात)
b84227db89
scm: remove ignore list
2021-11-22 07:16:54 +02:00
David de la Iglesia Castro
318b269ad1
live: Call webbrowser.open.
...
Use `funcy.once_per_args` decorator to prevent opening the html multiple times if user closes first time.
Closes iterative/dvclive#180
2021-11-22 03:35:23 +02:00
Ruslan Kuprieiev
1176b6d875
Update setup.cfg
2021-11-22 03:31:23 +02:00
dependabot[bot]
ee6539292b
build(deps): Bump adlfs from 2021.9.1 to 2021.10.0
...
Bumps [adlfs](https://github.com/dask/adlfs ) from 2021.9.1 to 2021.10.0.
- [Release notes](https://github.com/dask/adlfs/releases )
- [Changelog](https://github.com/dask/adlfs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dask/adlfs/compare/2021.09.1...2021.10.0 )
---
updated-dependencies:
- dependency-name: adlfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-22 03:31:23 +02:00
Saugat Pachhai (सौगात)
bf313d92aa
exp init: timeout prompts' test
...
The `exp init` tests may just keep waiting on the prompts blocking tests.
The blocking of prompts is likely a failure in tests setup or a bug
in the implementation. It's hard to find out these failures or avoid it.
If they take longer than 1 second, they most likely have failed as
most of test takes 0.1 second at max.
2021-11-22 03:27:16 +02:00
Saugat Pachhai (सौगात)
46289182d2
tests: run on Windows with Python 3.10
...
pygit2 wheels should be now available.
Had to skip pytest-docker for Windows + Python 3.10 due to
a dependency issue with it's dependency, see:
https://github.com/docker/docker-py/issues/2902 .
2021-11-20 18:52:31 +02:00
Saugat Pachhai (सौगात)
cb941a836d
tests: cover exp init
2021-11-19 18:58:23 +05:45
Gustavo José de Sousa
a70b3087b4
build: bump sshfs from 2021.8.1 to 2021.11.2
...
This version uses bumps asyncssh to a version that supports ProxyJump.
2021-11-18 23:58:57 +02:00
Ruslan Kuprieiev
c9dd137426
fs: BaseFileSystem -> FileSystem
...
Following fsspec conventions and new object conventions.
2021-11-18 19:58:23 +02:00
Saugat Pachhai (सौगात)
93e6526907
scm: split tracking of to-be git-ignored/git-staged into SCMContext
2021-11-18 15:34:45 +02:00
dependabot[bot]
230eb7087d
build: bump google-cloud-storage from 1.42.3 to 1.43.0
...
Bumps [google-cloud-storage](https://github.com/googleapis/python-storage ) from 1.42.3 to 1.43.0.
- [Release notes](https://github.com/googleapis/python-storage/releases )
- [Changelog](https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/python-storage/compare/v1.42.3...v1.43.0 )
---
updated-dependencies:
- dependency-name: google-cloud-storage
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-18 16:36:00 +05:45
Saugat Pachhai (सौगात)
c3b91e5f85
exp init: interactive mode refactor and simplification
2021-11-18 16:06:52 +05:45
Saugat Pachhai (सौगात)
eac030598c
ui.prompt: move prompts from exp init to ui.prompt
...
Some fixes along the way to make it more generic, but it still has
lots of features tied with exp init.
2021-11-18 13:22:45 +05:45
karajan1001
068b8371aa
Machine: table output for machine status( #6892 )
...
Change the output format of `dvc machine status` command to tables for a
better readability.
2021-11-18 11:22:13 +08:00
karajan1001
888b6392bb
Machine:remove field name in config( #6892 )
...
Because our machine name now is the key value of the machine config
dict. And the machine config value will been overwritten by it when the
config is loaded. We can remove the field `name` from the config.
2021-11-18 11:22:13 +08:00
karajan1001
b24a31b834
Machine: use table for list outputs( #6892 )
...
fix : #6892
Current output of machine list is quite urgly, it is originaly used to
show configurations. In this PR, we use a new table format for it.
2021-11-18 11:22:13 +08:00
karajan1001
45553c5b30
TabularData: add a new how arg to dropna( #6892 )
...
Borrowed this idea from pandas api. Current dropna methods will drop a
column or row if any data is missing. But it is also quite useful to
drop those columns or rows only if all of its elements are missing. This
is mostly used for pruning a table.
2021-11-18 11:22:13 +08:00
Peter Rowlands
28f57933db
dulwich: flush stdin channel on asyncssh vendor write
2021-11-17 12:48:34 +02:00
Peter Rowlands
25dca0b665
dulwich: workaround github SSH server in asyncssh vendor
...
- allow mismatched RSA signature algo names in initial
SSH_MSG_USERAUTH_PK_OK response
- unit test overridden asyncssh publickey auth compatibility with
github ssh server
2021-11-17 12:48:34 +02:00
Peter Rowlands
45c4e1998d
dulwich: fallback to default client config in asyncssh vendor
...
- vendor should use ssh-agent or default IdentityFile(s) when no SSH key
has been provided by the user
- encrypted (fallback) keys will always be passed to ssh-agent
2021-11-17 12:48:34 +02:00
karajan1001
eea67a6396
machine:remove help text for irrelevant commands ( #6940 )
...
fix : #6940
`--global/system/project/local` help message are in some irrelevant
command `status`, `ssh`, `create`, `destroy`. These commands are more
related to running instances rather than `machine config`, level
options didn't work for them.
1. Remove `--global/system/project/local` options in `status`, `ssh`,
`create`, `destroy`.
2. Add a test for it.
3. Correct a typo error.
2021-11-17 16:25:48 +08:00
karajan1001 and Dave Berenbaum
f43c04f935
Make machine status name optional
...
fix : #6838
1. make machine status name optional.
2. show all machine status if no name provide.
3. UI changes for this cmd.
4. add a new test for it.
Co-authored-by: Dave Berenbaum <[email protected] >
2021-11-17 15:44:36 +08:00
dependabot[bot]
3486435a7f
build: bump filelock from 3.3.2 to 3.4.0
...
Bumps [filelock](https://github.com/tox-dev/py-filelock ) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/tox-dev/py-filelock/releases )
- [Changelog](https://github.com/tox-dev/py-filelock/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/py-filelock/compare/3.3.2...3.4.0 )
---
updated-dependencies:
- dependency-name: filelock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-17 14:04:17 +08:00
Paweł Redzyński
e0fd0790fc
plots: special chars handling for vega plots paths
...
Fixes : #6894
2021-11-17 01:57:35 +02:00
dberenbaum
f99d3cda57
scm: hint to autostage
2021-11-16 18:01:18 +02:00
pre-commit-ci[bot]
003461f9a2
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/timothycrosley/isort: 5.9.3 → 5.10.1](https://github.com/timothycrosley/isort/compare/5.9.3...5.10.1 )
2021-11-16 07:55:56 +05:45
Ruslan Kuprieiev
88660f6a66
dvc: use transfer in checkout/doctor/odb
...
All three of those use more or less the same logic for testing different
link types and maybe then using them. So now instead of having 3
implementations, we'll have just one.
Filesystem `transfer` now will not try to catch particular errno's, but
instead will just ignore any OSError and move down to the next link type
to try out, and if the last one fails - it will raise the last exception,
so if it is a common problem - we'll be able to see it.
This patch also removes `odb.confirmed_cache_type`, as it was caching
link type that is not really a cache-level thing, but rather a checkout thing,
that should only be cached for particular objects we are linking, as multiple
objects could be linked to different filesystems from the same odb (e.g.
external local output on hdd and local data on your ssd).
Next step here will be to introduce metadata diff, so that we can get rid of
temporary Link wrapper and introduce Transfer and corresponding transfer
config, that will know what links to use and could have some other things
like callbacks, so we don't continue passing dozens of kwargs along the stack.
Continuing from #6963
Fixes #6980
2021-11-15 22:50:00 +02:00
David de la Iglesia Castro
7df6090a9c
params: Use ast.literal_eval for python params.
...
Add unit tests for `parse_py`
Closes #6953
2021-11-15 17:52:49 +02:00
Dimitar Todorov
fdba79c519
change method override to call super instead of repeating the calls
2021-11-15 17:50:14 +02:00
Димитър Тодоров (Dimitar Todorov) and Saugat Pachhai
2f6b6cc586
Update dvc/fs/http.py
...
Co-authored-by: Saugat Pachhai <[email protected] >
2021-11-15 17:50:14 +02:00
Dimitar Todorov
0fea622266
push: fix http storage ignoring method setting
...
Add method overriding the default put_file in http.py
where the upload method is passed to the http implementation.
Fixes : #6694
2021-11-15 17:50:14 +02:00
David de la Iglesia Castro
4a1985d7cd
dvc render: Add RENDERERS registry.
...
Related: #6840 , #4455 , #6943
2021-11-15 16:37:24 +01:00
David de la Iglesia Castro
c8903dc3a6
live: Add test for logging images with dvclive
...
Closes iterative/dvclive#190
2021-11-15 12:47:02 +01:00
David de la Iglesia Castro
28dd39a1a0
exp diff: Remove --old option.
...
After #6814 the header of `diff_table` is `a_rev/`b_rev` instead of `Old`/`New` so the name of the option was counterintuitive.
In addition, make `a_rev` show by default, for consistency with output format of other `diff_table` uses (`dvc metrics diff` / `dvc params diff`).
2021-11-12 12:58:12 +02:00
dependabot[bot]
ef9d8580cc
build: bump types-requests from 2.25.12 to 2.26.0
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.25.12 to 2.26.0.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-12 12:40:38 +02:00
dependabot[bot]
1af23f32b7
build: bump pyinstaller from 4.6 to 4.7
...
Bumps [pyinstaller](https://github.com/pyinstaller/pyinstaller ) from 4.6 to 4.7.
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases )
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/v4.7/doc/CHANGES.rst )
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v4.6...v4.7 )
---
updated-dependencies:
- dependency-name: pyinstaller
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-12 12:40:27 +02:00
Saugat Pachhai (सौगात)
7b488887b4
exp init: suppress plots if live is selected as a stage type
2021-11-12 11:25:39 +05:45
Saugat Pachhai (सौगात)
8262dbd37c
exp init: hide metrics/plots from worktree on --type=live
2021-11-12 11:21:58 +05:45
Ruslan Kuprieiev
264d78b637
ostage: don't forget to convert https etags
...
Fixes #6966
2021-11-12 00:54:44 +02:00
Ruslan Kuprieiev
1b2400842d
checkout: catch ENOSYS
2021-11-11 22:38:29 +02:00
Saugat Pachhai (सौगात)
81db879c51
hardlink: fallback to other link methods if 38 error code is received
...
Fixes #6962 , where GDdrive mounted on Colab was failing when trying to hardlink
with the message that the 'Function not implemented'.
2021-11-11 22:38:29 +02:00
Saugat Pachhai (सौगात)
d668cbeb45
exp init: warn for code/data if they don't exist
2021-11-11 08:09:37 +05:45
Saugat Pachhai (सौगात)
a466241552
exp init: validate params as soon as it's entered in prompt
...
It'll give a error message to the user and reprompt them.
This mechanism can be extended to other prompts, and we
can show a warning message and/or reprompt them based on
validations.
Closes #6865 . Part of #6446 .
2021-11-11 08:09:37 +05:45
Ruslan Kuprieiev
7e3e257c7f
utils: fs: remove unused fs_copy
2021-11-11 01:26:37 +02:00
Paweł Redzyński
ab56e4bb9b
gha: limit python version to 3.9.7
...
Related: https://bugs.python.org/issue45235
Closes : #6956
2021-11-11 01:14:03 +02:00
Paweł Redzyński
36ed182f26
argparse: dont override cmd
...
Related: #6956 , https://bugs.python.org/issue45235
2021-11-11 01:14:03 +02:00
Ruslan Kuprieiev
045d1f5e3e
localfs: remove LocalPath
...
fs.path is meant to be lightweight, and we should try to avoid using os.path.
Leftover from #6946
2021-11-10 20:10:48 +02:00
Ruslan Kuprieiev
5214aec1bb
fspath: introduce relparts
2021-11-10 20:10:48 +02:00
David de la Iglesia Castro
72066f233b
exp show: Add --only-changed option.
...
Use TabularData `drop_duplicates` to only show metrics/params with values varying across the selected experiments.
Fixes #5966
2021-11-10 16:52:18 +02:00
David de la Iglesia Castro
cb6f625dd9
TabularData: Add drop_duplicates method.
...
This method mimics pandas `drop_duplicates` when axis=rows.
For axis=cols this method will drop columns with 0-variance (only
1 unique value). NaNs (`_fill_value`) won't be counted as unique values.
So the following column (`-` would be the `_fill_value`) will be dropped:
foo
-
foo
foo
2021-11-10 16:52:18 +02:00
dependabot[bot]
87fadd3225
build: bump dvclive from 0.4.2 to 0.4.3
...
Bumps [dvclive](https://github.com/iterative/dvclive ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/iterative/dvclive/releases )
- [Commits](https://github.com/iterative/dvclive/compare/0.4.2...0.4.3 )
---
updated-dependencies:
- dependency-name: dvclive
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-10 11:46:41 +01:00
dependabot[bot]
8f028028b9
build: bump types-requests from 2.25.11 to 2.25.12
...
Bumps [types-requests](https://github.com/python/typeshed ) from 2.25.11 to 2.25.12.
- [Release notes](https://github.com/python/typeshed/releases )
- [Commits](https://github.com/python/typeshed/commits )
---
updated-dependencies:
- dependency-name: types-requests
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2021-11-10 11:45:42 +01:00
Batuhan Taskaya
9aec8f1926
dvc: get rid of path_info
...
Intermediate PR in removing path_info from our code base.
It is completely removed from the main codebase and is still
being used in tests, which will be migrated in the followups.
For fs-specific simple path manipulation, we've introduced
`fs.path` helper (similar to `os.path`).
Fixes #6774
2021-11-10 00:52:48 +02:00