Peter Rowlands
f801eb4380
studio: remove redundant type cast
2023-09-21 15:20:27 +09:00
Peter Rowlands
acb54a3462
deps: bump dvc-data to 2.16.3
2023-09-21 15:20:27 +09:00
Peter Rowlands
7b40968741
build: temporarily pin setuptools-scm
2023-09-21 15:08:28 +09:00
pre-commit-ci[bot]
b85608121f
[pre-commit.ci] pre-commit autoupdate ( #9960 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.288 → v0.0.290](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.288...v0.0.290 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-19 09:29:23 +05:45
Ruslan Kuprieiev
4bf19debb4
index: don't load external outs
3.22.0
2023-09-19 01:21:04 +03:00
BradyJ27 and daavoo
51dc78a135
exp: add rename command ( #9812 )
...
* Add renaming for finished experiments
* Update arg parser
* Add rename by rev
* Add rename tests
* Change remove to rename; Refactor arguments error
* Remove --rev; Use resolve_name; Add test
* Update testing; Fix python3.10 rename failure
* Update rename test
* Update tests and error handling
* exp rename: Add `--force`.
Fail if experiment new_name exists but allow to overwrite it.
---------
Co-authored-by: daavoo <[email protected] >
2023-09-18 17:01:32 +00:00
Peter Rowlands
784a5b5199
api.DVCFileSystem: fix fsspec compliance
3.21.1
2023-09-16 00:05:31 +09:00
dberenbaum
bf2af86397
drop irrelevant errors in tests/unit/render/test_match.py
3.20.0
2023-09-14 10:36:46 -04:00
dberenbaum
08d37912d6
add util function to group plot definitions
2023-09-14 10:36:46 -04:00
dberenbaum
0e66aa2b6a
add integration test for dvclive 2.x->3.x plots
2023-09-14 10:36:46 -04:00
dberenbaum
f9340ed7b9
add test cases for plots group_definitions
2023-09-14 10:36:46 -04:00
dberenbaum
e6ddb31525
keep config_file in plot_id if multiple config_files
2023-09-14 10:36:46 -04:00
dberenbaum
7f2ddf943f
dropped config_file from calls to _matches
2023-09-14 10:36:46 -04:00
dberenbaum
3d664f1dbf
drop unused arg
2023-09-14 10:36:46 -04:00
Dave Berenbaum and David de la Iglesia Castro
cdbed33386
Update dvc/render/match.py
...
Co-authored-by: David de la Iglesia Castro <[email protected] >
2023-09-14 10:36:46 -04:00
dberenbaum
e1599ae280
add test for merging plot ids across config files
2023-09-14 10:36:46 -04:00
pre-commit-ci[bot]
ee367dcb1b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-14 10:36:46 -04:00
dberenbaum
7e7d0e1dd8
merge plot ids across dvc.yaml files
2023-09-14 10:36:46 -04:00
dberenbaum
d81a1bbf56
make exp run --dry imply --temp
2023-09-13 15:06:46 +09:00
Bilel Omrani
ba0834caa0
Fix Repo instantiation error when using fsspec chaining API
2023-09-12 21:41:48 +03:00
pre-commit-ci[bot]
9a4578cc72
[pre-commit.ci] pre-commit autoupdate ( #9937 )
...
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1 )
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.288](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.288 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-12 20:44:17 +05:45
Helio Machado and skshetry
ccf461bc84
Migrate from PyPI tokens to Trusted Publishers ( #9933 )
...
* Migrate Python repositories to Trusted Publishers
* Update build.yaml
* Update .github/workflows/build.yaml
Co-authored-by: Helio Machado <[email protected] >
* Update build.yaml
---------
Co-authored-by: skshetry <[email protected] >
2023-09-12 20:27:37 +05:45
Ruslan Kuprieiev
e9c7cd63a2
dvcfs: add tests for fsid
2023-09-11 21:20:12 +03:00
skshetry
33b6c1d876
params/metrics: cache remote files ( #9932 )
2023-09-11 19:13:47 +05:45
skshetry
f2673acb53
metrics/params: support reading from cached files and directories, use repo-relative path consistently ( #9909 )
...
* metrics
* fix path handling
* fix dvc metrics diff
* params show/diff
* share common utils
* remove onerror_collect from exp_show
* extract read_params
* move around code
* fix path handling on Windows
* rename _show to _gather_metrics
* remove _collect_vars
* add tests
* Revert "remove _collect_vars"
This reverts commit 6d2cb500c32a882497406d66fb13e613790c3436.
* bring back _collect_vars
* fix tests
* fix paths
2023-09-11 17:41:37 +05:45
David de la Iglesia Castro
7e52c233ae
import: Expose --force flag ( #9927 )
2023-09-08 18:43:13 +05:45
Peter Rowlands (변기호)
408d23f285
repo: use is_repo_import to check for imports in outs_graph ( #9925 )
...
repo: use is_repo_import to check for imports
2023-09-08 16:13:11 +05:45
David de la Iglesia Castro
7fb8a9a427
checkout: Expose --allow-missing arg. ( #9919 )
3.19.0
2023-09-07 09:55:50 +00:00
Ruslan Kuprieiev
784f5a5d63
deps: bump dvc-data to 2.16.0
2023-09-07 04:13:56 +03:00
Ruslan Kuprieiev
1710e379f5
dvcfs: add basic fsid
...
Implements fsspec's fsid https://github.com/fsspec/filesystem_spec/pull/1122
Required for #9904
2023-09-07 04:13:56 +03:00
Joe Scott
aa9636e2ae
Typo rwlock.py#107 Remove -> Removed
...
closes #9920
2023-09-06 09:21:29 -04:00
Peter Rowlands
65d412bfa3
stage.run: always set DVC_ROOT env var
2023-09-06 18:43:52 +09:00
Peter Rowlands
20606d480b
exp show: drop internal legacy checkpoint support
2023-09-06 14:58:53 +09:00
dependabot[bot]
e2aedb7e97
build(deps): bump actions/checkout from 3 to 4 ( #9911 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3.18.0
2023-09-05 08:43:43 +05:45
pre-commit-ci[bot]
bacae48f96
[pre-commit.ci] pre-commit autoupdate ( #9910 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.286 → v0.0.287](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.286...v0.0.287 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-05 08:34:38 +05:45
Peter Rowlands
bf119e70a9
exp run: track files for skipped/run-cached stages
2023-09-04 16:23:54 +09:00
BradyJ27
3528c37b66
move: Alias mv to move ( #9905 )
...
* Alias mv to move
* Add alias for mv
* Add aliases for rm, exp rm, exp ls
2023-09-03 22:11:41 +03:00
Ruslan Kuprieiev
f47d21b0c2
[WIP] ls-url/get-url/import-url: introduce --fs-config ( #9888 )
...
ls-url/get-url/import-url: introduce --fs-config
Fixes #9886
2023-09-01 02:17:17 +03:00
Ruslan Kuprieiev
7a9da0f4a1
cli: utils: DictAction: limit split to 2 elements ( #9887 )
2023-08-30 03:15:21 +03:00
Ruslan Kuprieiev
8bfe8e3328
site_cache_dir: add salt to token ( #9884 )
...
See comment in the code.
3.17.0
2023-08-29 17:48:38 +03:00
Ruslan Kuprieiev
c290d5c008
repo: don't try to gitignore custom cache locations ( #9883 )
...
If user uses some custom cache location, there is really no reason for us
to try to gitignore it, as we have no idea what he is planning to do with
that and overall it often might be sign of this being misused. Maybe we could
also have some warnings/errors, but that's out of scope for this PR.
Fixes https://github.com/iterative/studio/issues/7405
2023-08-29 16:31:37 +03:00
Matt Seddon
3c2c1fe72a
Remove dead Stage method ( #9881 )
2023-08-29 13:10:40 +00:00
pre-commit-ci[bot]
0602eca00e
[pre-commit.ci] pre-commit autoupdate ( #9882 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.286](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.285...v0.0.286 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-29 07:17:32 +05:45
Matt Seddon
5b69a16ea7
Add DVC_ROOT env var into queued experiment runs ( #9879 )
2023-08-28 22:37:03 +00:00
Dave Berenbaum and pre-commit-ci[bot]
ef260eaf2e
exp show: show metrics that include separator ( #9819 )
...
* exp show: show metrics that include separator
* sort using partition instead of lpartition
* handle ':' in file and metric names
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix sorting with leading :
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-24 10:31:56 -04:00
Peter Rowlands
88431b1c0a
update: preserve def_path for version-aware import update
2023-08-24 16:16:43 +09:00
dependabot[bot]
bd2dc9dfed
build(deps): bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1 ( #9874 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.2.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 08:30:32 +05:45
Dave Berenbaum and pre-commit-ci[bot]
428c094b8d
update msg for multiple overlapping outputs ( #9862 )
...
* update msg for multiple overlapping outputs
* update msg for multiple overlapping outputs
* fix type checking
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* use sets of stages to fix mypy errors
* fix tests/func/test_add.py::test_try_adding_multiple_overlaps
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-24 00:06:32 +03:00
Dave Berenbaum
fc955c1917
Rename partial add/remove benchmarks ( #9868 )
...
* Rename partial add/remove benchmarks
* Update dvc/testing/benchmarks/cli/stories/test_modify_data.py
2023-08-23 19:04:51 +05:45
skshetry
8cb7e4948d
tests: dvcfs: use fspath while testing ( #9872 )
...
get_file does not support PathLike objects. fsspec does not support them in get_file.
See https://github.com/fsspec/filesystem_spec/issues/896 .
Fixes test failures in dvc-webhdfs and dvc-hdfs.
2023-08-23 17:33:22 +05:45