dependabot[bot]
dbd740f374
build(deps): bump github/codeql-action from 4.37.4 to 4.38.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.4 to 4.38.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.4...v4.38.2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2026-09-28 02:03:57 +00:00
dependabot[bot]
56e5982951
build(deps): bump actions/setup-python from 6 to 7 ( #11073 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '7'
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>
2026-08-06 10:02:40 +05:45
dependabot[bot]
defe4062aa
build(deps): bump github/codeql-action from 4 to 4.37.4 ( #11077 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4 to 4.37.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4...v4.37.4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-06 10:02:19 +05:45
eeshsaxena
f74c1c0e70
docs: fix parameter name mismatches in docstrings ( #11060 )
...
- repo/experiments/queue/base.py: `scm` -> `repo` in
BaseStashQueue.__init__ (signature takes a Repo, not an SCM instance)
- repo/experiments/queue/tasks.py: stale `tmp_dir`/`entry_dict` args in
cleanup_exp replaced with the actual `executor`/`infofile` parameters
2026-07-10 13:12:18 +05:45
dependabot[bot]
b5dede14f2
build(deps): bump codecov/codecov-action from 6 to 7 ( #11051 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 6 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: '7'
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>
2026-07-04 18:16:33 +05:45
dependabot[bot]
8d37f966c3
build(deps): bump rtCamp/action-slack-notify from 2.3.3 to 2.4.0 ( #11052 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.3.3...v2.4.0 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-04 18:16:07 +05:45
pre-commit-ci[bot]
95165cc39a
[pre-commit.ci] pre-commit autoupdate ( #11053 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.15 → v0.15.20](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.15...v0.15.20 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-07-04 18:10:04 +05:45
dependabot[bot]
ccb72126ea
build(deps): bump actions/cache from 5 to 6 ( #11056 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 5 to 6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '6'
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>
2026-07-04 18:09:51 +05:45
dependabot[bot]
d5315c3827
build(deps): bump actions/checkout from 6 to 7 ( #11055 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [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/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
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>
2026-07-04 18:06:32 +05:45
pre-commit-ci[bot]
8131c32c33
[pre-commit.ci] pre-commit autoupdate ( #11048 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.14 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.15 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-06-02 14:07:40 +05:45
pre-commit-ci[bot]
0013af99d4
[pre-commit.ci] pre-commit autoupdate ( #11040 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.14 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-05-27 21:05:07 +05:45
pre-commit-ci[bot]
06ff81cd7f
[pre-commit.ci] pre-commit autoupdate ( #11031 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.11 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.11...v0.15.12 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-28 17:15:27 +05:45
pre-commit-ci[bot]
e19b0874c0
[pre-commit.ci] pre-commit autoupdate ( #11028 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.10 → v0.15.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.10...v0.15.11 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-26 09:26:45 +05:45
pre-commit-ci[bot]
b290eaea43
[pre-commit.ci] pre-commit autoupdate ( #11024 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.15.9 → v0.15.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.9...v0.15.10 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-14 15:24:00 +05:45
pre-commit-ci[bot]
2a2b543dd6
[pre-commit.ci] pre-commit autoupdate ( #11023 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-04-07 12:10:50 +05:45
pre-commit-ci[bot] and Saugat Pachhai
356dfa0327
[pre-commit.ci] pre-commit autoupdate ( #10981 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2026-03-31 10:49:52 +05:45
skshetry
0f4e8a23c8
fix(ls): support tabulate 0.10.0 preserve_whitespace ( #11021 )
2026-03-31 10:32:56 +05:45
dependabot[bot]
333edb2cbf
build(deps): bump codecov/codecov-action from 5 to 6 ( #11020 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5 to 6.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: '6'
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>
2026-03-31 09:26:06 +05:45
Ivan Shcheklein
a65523a86a
feat(gc): allow num with all-branches ( #11013 )
2026-03-18 22:21:20 +05:45
Christian W. Feldmann
fb42429107
Resolve PyparsingDeprecationWarning for enablePackrat setParseAction parseString ( #11016 )
2026-03-18 22:02:17 +05:45
dependabot[bot]
e40e378fc9
build(deps): bump actions/download-artifact from 7 to 8 ( #11006 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 11:08:23 +05:45
dependabot[bot]
b1aaeb94c0
build(deps): bump actions/upload-artifact from 6 to 7 ( #11007 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 11:08:15 +05:45
skshetry
dcf6f48fb3
bench: add version constraint for pathspec ( #10986 )
2026-02-01 09:15:42 +05:45
Caleb P. Burns and Saugat Pachhai
c6c680d2b2
Support pathspec v1 ( #10951 )
...
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2026-01-31 11:12:13 +05:45
skshetry
1e8962bf0c
Remove boto3 from metadata copying in hook-dvc.py ( #10983 )
2026-01-28 19:08:15 +05:45
skshetry and pre-commit-ci[bot]
0f2361f218
fix(benchmarks): pin dulwich<1.0.0 for DVC versions before 3.44.0 ( #10979 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-23 23:33:50 +05:45
pre-commit-ci[bot]
e9c0a99083
[pre-commit.ci] pre-commit autoupdate ( #10975 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-21 16:01:48 +05:45
Ritoban Dutta
3c71fdbb0d
fix: replace deprecated parseAll with parse_all in interpolate.py ( #10971 )
2026-01-16 18:27:02 +05:45
pre-commit-ci[bot]
04cbd40df5
[pre-commit.ci] pre-commit autoupdate ( #10967 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-01-13 22:44:02 +05:45
Pandikunta Anand Reddy
5725780790
refactor: drop stale exceptions related to dvc machine ( #10963 )
2026-01-08 21:54:13 +05:45
skshetry
2dc6261a66
Update dvc-data version to 3.18.2 ( #10962 )
2026-01-08 21:25:25 +05:45
skshetry
0f73c0a725
tests: add a regression test for #10959 ( #10960 )
2026-01-08 21:14:22 +05:45
Wyatt
ff8752c3dc
gc: log paths during dry-run garbage collection ( #10937 )
2026-01-07 18:16:05 +05:45
Wei Ji
dbc7531f0d
Typo on flatten-dict dependency ( #10953 )
2026-01-07 09:49:51 +05:45
skshetry
d4594c749c
fix(cli/dag): improve help message ( #10949 )
2026-01-06 14:34:06 +05:45
fhausmann and skshetry
e062f545c9
Add option to collapse foreach/matrix stages into a single stage ( #10945 )
...
Co-authored-by: skshetry <[email protected] >
2026-01-06 08:38:08 +00:00
vorj
3c77443696
fix pathspec version requirement ( #10948 )
2026-01-06 11:46:26 +05:45
dependabot[bot]
b5555b7285
build(deps-dev): update pytest requirement from <9,>=7 to >=7,<10 ( #10946 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-06 11:16:49 +05:45
dependabot[bot]
fbdcb6e140
build(deps): update flufl-lock requirement from <9,>=8.1.0 to >=8.1.0,<10 ( #10947 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-06 11:16:27 +05:45
skshetry
7ed8d896df
update test fixture to use matchers from dvc.testing ( #10940 )
2025-12-30 09:08:31 +05:45
skshetry
9fb761772c
update test fixture to use tmp_path_factory ( #10939 )
2025-12-29 23:50:15 +05:45
skshetry
f523105219
Remove pytest-test-utils from dependencies ( #10938 )
2025-12-28 23:51:56 +05:45
pre-commit-ci[bot]
e1ccc2c7c5
[pre-commit.ci] pre-commit autoupdate ( #10935 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-23 09:18:53 +05:45
a6594e0cc9
Use bulk calls for checking which entries are not in remote ( #10923 )
...
Co-authored-by: Sami Jawhar <[email protected] >
Co-authored-by: skshetry <[email protected] >
2025-12-22 07:42:36 +00:00
skshetry
796903a14b
drop pytest-test-utils ( #10934 )
2025-12-20 21:26:00 +05:45
pre-commit-ci[bot]
62ae466af2
[pre-commit.ci] pre-commit autoupdate ( #10931 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-16 09:08:45 +05:45
dependabot[bot]
e6dba6ef91
build(deps-dev): bump mypy from 1.19.0 to 1.19.1 ( #10932 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 09:08:33 +05:45
dependabot[bot]
be4fd3b197
build(deps): bump actions/upload-artifact from 5 to 6 ( #10929 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 11:14:50 +05:45
dependabot[bot]
f05211113a
build(deps): bump actions/download-artifact from 6 to 7 ( #10930 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 11:14:03 +05:45
dependabot[bot]
9b42dc534e
build(deps): bump actions/cache from 4 to 5 ( #10928 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 13:40:29 +05:45
pre-commit-ci[bot]
01b0f3bb52
[pre-commit.ci] pre-commit autoupdate ( #10924 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-09 09:02:02 +05:45
f342cc7db5
feat(webdav): add bearer_token_command for dynamic token acquisition ( #10917 )
...
Co-authored-by: GreenHatHG <[email protected] >
Co-authored-by: skshetry <[email protected] >
2025-12-05 11:07:22 +05:45
pre-commit-ci[bot]
0eb279ea35
[pre-commit.ci] pre-commit autoupdate ( #10921 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-03 13:17:20 +05:45
Staszek Markowski
d086bbbd3a
exp: add support for --no-hydra flag ( #10866 )
2025-12-02 16:05:13 +05:45
Saugat Pachhai (सौगात)
046d2fd72e
update copyright
2025-12-01 16:54:40 +05:45
skshetry
cb96cf1487
fix name ( #10920 )
2025-12-01 15:52:37 +05:45
dependabot[bot]
cf5168af74
build(deps-dev): bump mypy from 1.18.2 to 1.19.0 ( #10919 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 12:02:39 +05:45
Saugat Pachhai (सौगात)
dc123102cc
fix tests
2025-11-27 09:00:19 +05:45
Saugat Pachhai (सौगात)
438259cc70
fix repository owner name to treeverse
2025-11-27 08:54:23 +05:45
pre-commit-ci[bot]
7b978fec5b
[pre-commit.ci] pre-commit autoupdate ( #10918 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-26 23:24:34 +05:45
dependabot[bot]
9f901e57a2
build(deps): bump actions/checkout from 5 to 6 ( #10916 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 09:03:04 +05:45
pre-commit-ci[bot]
ab5ac17925
[pre-commit.ci] pre-commit autoupdate ( #10914 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-18 18:23:58 +05:45
pre-commit-ci[bot]
72abd013cf
[pre-commit.ci] pre-commit autoupdate ( #10908 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-11 10:21:29 +05:45
pre-commit-ci[bot]
fa5c33ed24
[pre-commit.ci] pre-commit autoupdate ( #10906 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-04 13:56:29 +05:45
pre-commit-ci[bot]
9dda30b7a0
[pre-commit.ci] pre-commit autoupdate ( #10901 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-28 09:18:51 +05:45
skshetry
19c146e392
fix(data-status): iterate/expand index upto tracked directory in shallow mode ( #10900 )
2025-10-27 17:06:07 +00:00
dependabot[bot]
749c22bbcb
build(deps): bump actions/upload-artifact from 4 to 5 ( #10897 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 09:18:20 +05:45
dependabot[bot]
19a0bf48f1
build(deps): bump actions/download-artifact from 5 to 6 ( #10898 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 09:18:08 +05:45
skshetry
bda614baa8
support Python 3.14 ( #10896 )
2025-10-24 19:26:50 +05:45
pre-commit-ci[bot]
d6fa8b67ff
[pre-commit.ci] pre-commit autoupdate ( #10894 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-21 09:30:04 +05:45
skshetry
498a4d5d3a
move: fix error message when dst stage file exists ( #10893 )
2025-10-17 19:07:51 +05:45
pre-commit-ci[bot]
b74711d5fe
[pre-commit.ci] pre-commit autoupdate ( #10892 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-14 13:05:03 +05:45
skshetry
61d5de54e5
support moving missing file keeping the metadata intact ( #10890 )
2025-10-13 05:34:14 +00:00
skshetry
ca7454980d
move: support moving output from import/import-url stages ( #10889 )
2025-10-12 17:28:41 +00:00
skshetry
8912ca7d2b
exp: add a retry when removing temporary refs to avoid FileLocked errors ( #10840 )
2025-10-12 10:05:21 +05:45
dependabot[bot]
f13ae75a45
build(deps): bump astral-sh/setup-uv from 6 to 7 ( #10883 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 12:51:45 +05:45
dependabot[bot]
aa090ecf8d
build(deps): bump github/codeql-action from 3 to 4 ( #10884 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 12:40:20 +05:45
pre-commit-ci[bot]
0c4a5cbbb7
[pre-commit.ci] pre-commit autoupdate ( #10882 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.2 → v0.13.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.2...v0.13.3 )
* [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>
2025-10-07 09:05:01 +05:45
skshetry
2b19c724c5
exp run: add test for running inside a linked worktree ( #10834 )
2025-10-04 06:20:43 +00:00
pre-commit-ci[bot]
28b92c8b03
[pre-commit.ci] pre-commit autoupdate ( #10877 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.1 → v0.13.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.1...v0.13.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-30 10:42:39 +05:45
pre-commit-ci[bot]
cd740fed42
[pre-commit.ci] pre-commit autoupdate ( #10872 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.0 → v0.13.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.0...v0.13.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-23 08:41:34 +05:45
dependabot[bot]
5f31ed2b08
build(deps): update pytest-rerunfailures requirement from <16.0 to <17.0 ( #10859 )
...
Updates the requirements on [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures ) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/CHANGES.rst )
- [Commits](https://github.com/pytest-dev/pytest-rerunfailures/compare/1.0.0...16.0 )
---
updated-dependencies:
- dependency-name: pytest-rerunfailures
dependency-version: '16.0'
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-20 23:20:43 +05:45
pre-commit-ci[bot] and Saugat Pachhai
6e896d396c
[pre-commit.ci] pre-commit autoupdate ( #10869 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.13.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.13.0 )
* fix ruff errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-09-20 10:22:37 +05:45
dependabot[bot]
336c8695da
build(deps): bump mypy from 1.18.1 to 1.18.2 ( #10871 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.18.1 to 1.18.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.18.1...v1.18.2 )
---
updated-dependencies:
- dependency-name: mypy
dependency-version: 1.18.2
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>
2025-09-20 08:57:28 +05:45
dependabot[bot]
3915fa26aa
build(deps): bump mypy from 1.17.1 to 1.18.1 ( #10868 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.17.1 to 1.18.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.17.1...v1.18.1 )
---
updated-dependencies:
- dependency-name: mypy
dependency-version: 1.18.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 12:43:46 +05:45
pre-commit-ci[bot]
114fd8075c
[pre-commit.ci] pre-commit autoupdate ( #10867 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.11 → v0.12.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.11...v0.12.12 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-11 09:43:27 +05:45
dependabot[bot]
b39a888948
build(deps): bump actions/setup-python from 5 to 6 ( #10865 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
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>
2025-09-05 15:05:32 +05:45
skshetry
c1af66c0a6
completion: support completing config variables ( #10864 )
2025-09-04 12:00:10 +05:45
skshetry
75c5d17d1e
fix(data status): handle missing DVC repo at Git HEAD ( #10862 )
...
Avoid raising errors in `data_status()` when Git HEAD does not contain a DVC
repository. Instead, fall back to an empty index.
Tests now cover both unborn and committed Git repos, with and without subdirs.
2025-09-02 12:15:20 +05:45
pre-commit-ci[bot]
ea9dd5fc3e
[pre-commit.ci] pre-commit autoupdate ( #10860 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.10 → v0.12.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.10...v0.12.11 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-02 11:12:59 +05:45
skshetry
763cbf6bd1
feat(cli): support initializing DVC repository in an arbitrary directory ( #10861 )
...
Previously, it could be only initialized in the current working directory.
2025-09-02 10:52:27 +05:45
skshetry
6f4b8c98fc
completion: complete remote in zsh/bash ( #10858 )
2025-08-31 11:25:31 +05:45
skshetry
a8bda305cd
feat(cli): support multiple --keep and --drop arguments in exp show ( #10857 )
...
* feat(cli/exp-show): support multiple --keep and --drop arguments
Closes #10851 .
* set upper bound for pytest-rerunfailures to <16.0
v16.0 started breaking in CI.
See https://github.com/pytest-dev/pytest-rerunfailures/issues/303 .
2025-08-29 21:13:15 +05:45
skshetry
4f4c5b1d01
ignore: simplify and reuse same implementation across check-ignore and is_ignored API ( #10856 )
2025-08-28 17:09:33 +05:45
skshetry
76cfe92960
minor refactor on check-ignore ( #10854 )
2025-08-27 19:14:29 +05:45
pre-commit-ci[bot]
79454557bb
[pre-commit.ci] pre-commit autoupdate ( #10853 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-26 12:29:43 +05:45
skshetry
85046843ef
fix(status): treat target as a dataset path for cloud instead of search path for dvcfiles ( #10849 )
2025-08-19 12:04:18 +05:45
pre-commit-ci[bot]
e10b27acbd
[pre-commit.ci] pre-commit autoupdate ( #10848 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-19 10:17:08 +05:45
skshetry
5a86586f3a
feat(data status): detect file moves/renames by default ( #10846 )
2025-08-18 21:23:01 +05:45
skshetry
d142d0d6af
fix dvc.yaml filepath in error message when reading from git revisions ( #10847 )
2025-08-16 13:44:48 +00:00
skshetry
9b5ee43ce1
fix(diff): do not show missing cache entries on diff result ( #10845 )
2025-08-16 05:11:54 +00:00
skshetry
6e223633e7
fix(diff): show in "Not in cache" if dir entry is missing ( #10844 )
2025-08-15 17:17:57 +00:00
skshetry
29386a0dbb
data status: add --remote option to check files against a different remote ( #10843 )
2025-08-15 21:23:46 +05:45
skshetry
e027bc6a87
checkout/pull: report granular summary of changes ( #10842 )
2025-08-15 20:54:13 +05:45
skshetry
82efd3e780
fix some, suppress some issues from ty check ( #10841 )
2025-08-14 21:05:49 +05:45
skshetry
a68dda4164
commit: batch dump stages, do not re-read on save from the workspace ( #10839 )
2025-08-14 16:45:42 +05:45
skshetry
4b1adfd646
fix(perf): only load a stage/.dvc file if the target is an address to that stage ( #10838 )
2025-08-13 15:54:04 +05:45
dependabot[bot]
748c45655e
build(deps): bump actions/checkout from 4 to 5 ( #10837 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 16:47:06 +05:45
pre-commit-ci[bot]
225bfa6a19
[pre-commit.ci] pre-commit autoupdate ( #10836 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-12 09:10:42 +05:45
KoyoMatsuda-hacarus
09079d50ff
fix: remove apostrophe and hyphen words from NOUNS and ADJECTIVES. ( #10833 )
2025-08-07 20:41:40 +05:45
skshetry
5485e5662e
exp run: fix failure when dependencies are from inside submodules ( #10832 )
2025-08-06 21:32:00 +05:45
skshetry
e619b6dccd
exp run: fix failure when dependencies are from inside submodules ( #10831 )
2025-08-06 21:07:07 +05:45
dependabot[bot]
396e71f30c
build(deps): bump actions/download-artifact from 4 to 5 ( #10830 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 09:10:09 +05:45
pre-commit-ci[bot]
c6a393e3fe
[pre-commit.ci] pre-commit autoupdate ( #10828 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-05 08:59:19 +05:45
B. John Braddock
a72402c843
hashing: Add usedforsecurity=False on hashlib calls ( #10826 )
2025-08-03 11:19:44 +05:45
dependabot[bot]
08f3197cdd
build(deps): bump mypy from 1.17.0 to 1.17.1 ( #10824 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-02 08:39:23 +05:45
Samandar Mirjalilov and Saugat Pachhai
1f325bc21e
exp: add --hide-workspace flag to exp show ( #10798 )
...
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-07-31 14:23:00 +05:45
skshetry
ca73078b80
fix(data status): handle missing .dir file from the cache on not_in_remote checks ( #10822 )
2025-07-31 07:57:15 +00:00
skshetry
fade6c5991
cli: status: return integer instead of bool on --quiet ( #10820 )
2025-07-29 09:07:24 +05:45
pre-commit-ci[bot]
446a59c806
[pre-commit.ci] pre-commit autoupdate ( #10819 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-29 08:16:34 +05:45
skshetry
a370f80f90
try to fix test with new rich ( #10815 )
2025-07-28 15:49:58 +05:45
skshetry
dc13186759
analytics: send remote types and git-remote's path hashes ( #10816 )
2025-07-28 15:07:41 +05:45
skshetry
ba1281a41c
queue: show a hint to check celery logs if logs are missing and is a failed experiment ( #10814 )
2025-07-28 11:20:28 +05:45
pre-commit-ci[bot]
abb5977a38
[pre-commit.ci] pre-commit autoupdate ( #10811 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-22 00:12:09 +05:45
Saugat Pachhai (सौगात)
50487e931f
Set COVERAGE_CORE during pytest run
2025-07-21 14:23:19 +05:45
skshetry
397f4c6f28
skip install related tests if git is missing ( #10809 )
2025-07-21 14:11:15 +05:45
skshetry
1f5bace250
improve performance of tests in Python>=3.12 when used with coverage ( #10810 )
2025-07-21 14:09:31 +05:45
skshetry
5a68e821f2
stop using gitpython in tests ( #10808 )
2025-07-21 11:59:27 +05:45
skshetry
b4d8690799
data status: fix remote check progress bar ( #10804 )
2025-07-16 18:13:43 +05:45
skshetry
7f0c835eed
Update badges
2025-07-15 21:19:37 +05:45
skshetry
c2506abf74
Update README.rst
2025-07-15 17:01:56 +05:45
dependabot[bot]
d938a1c700
build(deps): bump mypy from 1.16.1 to 1.17.0 ( #10802 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 11:06:26 +05:45
pre-commit-ci[bot]
a0b6b12a4f
[pre-commit.ci] pre-commit autoupdate ( #10801 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-15 09:23:00 +05:45
skshetry
1b9b1f870a
try to reset log-level after setting it ( #10800 )
2025-07-11 20:17:29 +05:45
pre-commit-ci[bot]
be1b529bdf
[pre-commit.ci] pre-commit autoupdate ( #10799 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-08 16:36:47 +05:45
pre-commit-ci[bot]
da55c0da1f
[pre-commit.ci] pre-commit autoupdate ( #10797 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-01 11:07:42 +05:45
skshetry
a23810f0b5
partially rollback batch remote checks ( #10796 )
2025-06-30 17:19:26 +05:45
Italos Estilon, PhD and Saugat Pachhai
0adf6679d9
cache: use configured cache directory for fs cache path ( #10795 )
...
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-06-30 12:29:40 +05:45
skshetry
75083cc472
bench: git-ignore dataset fixture used for data status ( #10793 )
2025-06-27 21:27:40 +05:45
skshetry
493279c7e8
perf(data status): batch remote checks ( #10792 )
2025-06-27 13:42:20 +00:00
dependabot[bot]
95c5ea81e0
build(deps): bump mypy from 1.15.0 to 1.16.1 ( #10781 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-26 19:28:24 +05:45
skshetry
3aca0edfce
test_lock: increase timeout ( #10791 )
2025-06-26 13:24:55 +00:00
pre-commit-ci[bot]
5bec7d1bb9
[pre-commit.ci] pre-commit autoupdate ( #10786 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-26 18:49:25 +05:45
f3836ab29a
[cli,lock] Allow wait_for_lock ( #10784 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-06-26 18:34:57 +05:45
skshetry and pre-commit-ci[bot]
e278c9cdf4
fix(data status): show committed changes in a new Git repository ( #10790 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-26 11:11:04 +00:00
skshetry
aac32e1b64
data status: support targets to limit scope of command ( #10789 )
2025-06-26 16:21:17 +05:45
Thorvald Molthe Ballestad and Saugat Pachhai
45fd1025e2
feat: ignore files not in remote when push is false ( #10749 )
...
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-06-26 15:02:20 +05:45
Rodrigo Goya
c7c7ba69fb
(fix) DVC_SITE_CACHE_DIR environment variable should override core.site_cache_dir ( #10778 )
...
* Prioritize DVC_SITE_CACHE_DIR over core.site_cache_dir
* Add tests for proper prioritization of env var and config
* Tests require python-3.9 compatible typing, use Optional
* Remove comment
* Fixup
2025-06-12 14:19:30 +05:45
Rodrigo Goya
346b1c064e
(fix) site_cache_dir() must return DVC_SITE_CACHE_DIR if it exists ( #10776 )
...
* DVC_SITE_CACHE_DIR must be sent first, deal with platformdirs afterwards
* Test should check default behaviour when no env var is set
* Add test: site_cache_dir() must return the env var if set
2025-06-12 07:12:04 +00:00
pre-commit-ci[bot]
b89cb893a1
[pre-commit.ci] pre-commit autoupdate ( #10773 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.11.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.12...v0.11.13 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-10 07:25:40 +05:45
skshetry
549821e6be
deps: bump dvc-s3 to >=3.2.1 ( #10771 )
...
Fixes https://github.com/iterative/dvc/issues/10767 .
Related:
- https://github.com/iterative/dvc-s3/pull/129
- https://github.com/iterative/dvc/discussions/10768
2025-06-09 08:00:44 +05:45
skshetry
bf26126e37
release(test-pypi): set dynamic url ( #10766 )
2025-06-06 22:51:08 +05:45
skshetry
8f1c4424d3
release(env): set dynamic url ( #10765 )
2025-06-06 22:48:20 +05:45
skshetry
5fb8986dbd
bench: check for dvc_bin.version instead of dvc_rev ( #10764 )
...
* bench: check for dvc_bin.version instead of dvc_rev
* Update dvc/testing/benchmarks/cli/stories/use_cases/test_sharing.py
* Update dvc/testing/benchmarks/cli/stories/use_cases/test_sharing.py
2025-06-05 11:41:04 +05:45
skshetry
18177a6579
tests(bench): also check if dvc_rev is set ( #10763 )
2025-06-05 09:26:27 +05:45
skshetry
ea02a18b23
tests(bench): remove allow_anonymous_login config use from dvc<3.59.3 ( #10762 )
2025-06-05 09:21:44 +05:45
skshetry
e04f1499a3
fix(dvcfs): rename argument url to repo ( #10754 )
...
See #10700 for the motivation.
2025-06-05 08:30:22 +05:45
skshetry
488c30d1ea
tests(bench): adapt for pytest>=8.4 ( #10761 )
2025-06-04 10:13:28 +05:45
Clouds
88c3103cf3
fix: treated S3 configpath as a relpath ( #10758 )
...
Update config.py
2025-06-03 19:31:03 +05:45
pre-commit-ci[bot]
c37bef7add
[pre-commit.ci] pre-commit autoupdate ( #10755 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.11.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.11.12 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-03 11:59:26 +05:45
skshetry
7ea1daa2b8
deps: bump minver version for dvc-gs to 3.0.2 ( #10757 )
...
To support allow_anonymous_login that was added in dvc-gs 3.0.2.
Related:
- https://github.com/iterative/dvc-gs/pull/115
- https://github.com/iterative/dvc/pull/10756
- https://github.com/iterative/dvc/issues/5797
2025-06-03 10:55:35 +05:45
skshetry
fd181c78d2
fs(gs): allow configuring anonymous login ( #10756 )
2025-06-03 10:41:08 +05:45
pre-commit-ci[bot]
1de7f89af8
[pre-commit.ci] pre-commit autoupdate ( #10751 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.11.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.10...v0.11.11 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-27 07:10:08 +05:45
pre-commit-ci[bot] and skshetry
b7e13dbd07
[pre-commit.ci] pre-commit autoupdate ( #10748 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.9...v0.11.10 )
* Update .pre-commit-config.yaml
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2025-05-20 11:04:00 +05:45
pre-commit-ci[bot]
dc513a98e4
[pre-commit.ci] pre-commit autoupdate ( #10745 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.8...v0.11.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-14 07:15:39 +05:45
skshetry
9908ca7f8e
drop inputs passed to codecov-action ( #10740 )
...
It can already search and find these coverage files.
2025-05-07 14:34:27 +05:45
skshetry
0eebeb9900
tests: fix flaky test in test_get_used_objs ( #10739 )
...
Clear logs before assertions so that logs from other tests do not interfere with the test.
Some destructors may also run in between due to GC, so hopefully this will fix that issue too,
or reduce the chances of it happening.
See
https://github.com/iterative/dvc/actions/runs/14873217814/job/41775314725#step:6:97 .
```console
> assert first(caplog.messages) == expected_message
E assert 'RC: discarding all clients' == "Output 'path... 'stage.dvc'."
E
E + RC: discarding all clients
E - Output 'path'(stage: 'stage.dvc') is missing version info. Cache for it will not be collected. Use `dvc repro` to get your pipeline up to date.
E - You can also use `dvc commit stage.dvc` to associate existing 'path' with stage: 'stage.dvc'.
```
2025-05-07 12:40:51 +05:45
skshetry
415d4bc980
repo: try to support opening uninitialized/broken repositories ( #10736 )
...
This `_get_remote_config()` should use `uninitialized=True` so that it supports
more broader kinds of broken/partially-initialized repositories, including some that have
`.dvc` directory missing, or `.git` directory missing.
This partially reverts #10719 . #10608 is also fixed, and no longer requires `core.no_scm` to be passed.
This was already supported by `dvc.api.get_url` as it uses `uninitialized=True`, but this was not respected
in `_get_remote_config()` where it would fail before.
That said, this whole `open_repo`/`_get_remote_config` is terribly broken. For one, it is opening
a local repository, and forcing it's remote config to a repository opened with `Repo(rev=...)`,
where the config may be different.
2025-05-06 08:39:23 +00:00
pre-commit-ci[bot]
f3be7d761f
[pre-commit.ci] pre-commit autoupdate ( #10735 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.7 → v0.11.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.7...v0.11.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-06 07:05:11 +05:45
Rodrigo Goya and skshetry
4bde0e754e
Forward args to _get_remote_config() and honour core/no_scm if present ( #10719 )
...
* Forward args to _get_remote_config and honour core/no_scm if present
* Pass full config, except cache, to Repo()
* Avoid modifying original kwargs contents
* Simplify if config
* Add test
* Relax error matching.. .. Avoid windows vs unix paths
* Update dvc/repo/open_repo.py
---------
Co-authored-by: skshetry <[email protected] >
2025-04-30 12:20:09 +05:45
skshetry
88f1ada4bf
tests: func test for #4344 ( #10732 )
...
See https://github.com/iterative/dvc-data/pull/601 that fixed the issue.
The test is based on reproduction steps from:
https://github.com/iterative/dvc/issues/4344#issuecomment-2822000925
2025-04-29 13:25:28 +05:45
pre-commit-ci[bot]
bd65c205df
[pre-commit.ci] pre-commit autoupdate ( #10731 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.4...v0.11.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-29 04:52:42 +05:45
skshetry
e6ce5f825d
Revert "pre-commit: set autoupdate schedule to monthly" ( #10730 )
...
Revert "pre-commit: set autoupdate schedule to monthly (#10685 )"
This reverts commit 25d2638a57 .
2025-04-28 18:23:08 +05:45
dependabot[bot]
d30d66c1d3
build(deps): bump astral-sh/setup-uv from 5 to 6 ( #10729 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: '6'
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>
2025-04-28 14:55:14 +05:45
Fabian Zills
19f31d7cac
Bring the banner back ( #10728 )
...
Update README.rst
2025-04-24 06:19:28 +05:45
Ivan Shcheklein
99d9ca714d
remove banner in README ( #10726 )
2025-04-22 04:36:16 +00:00
dependabot[bot]
a3b6722523
build(deps): bump rtCamp/action-slack-notify from 2.3.2 to 2.3.3 ( #10718 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.3.2...v2.3.3 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-version: 2.3.3
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>
2025-04-10 13:02:20 +05:45
skshetry
b824bc4db7
ci(build): use envvar override to omit local version for Test PyPI upload ( #10720 )
...
Uses `SETUPTOOLS_SCM_OVERRIDES_FOR_DVC` to omit the local version
when uploading to Test PyPI. This is needed because (Test) PyPI
does not support local version.
This requires bumping minimum version of `setuptools_scm` to `8.0.0`.
The envvar is documented here: https://setuptools-scm.readthedocs.io/en/latest/overrides/ .
Also see:
https://github.com/pypa/setuptools-scm/issues/455#issuecomment-2791301186 .
2025-04-10 12:59:32 +05:45
pre-commit-ci[bot] and Saugat Pachhai
6cc349edb4
[pre-commit.ci] pre-commit autoupdate ( #10717 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.4 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix ruff errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-04-08 03:15:09 +00:00
Rory Crean and RMCrean
e455ee69aa
remote: show default when run "dvc remote list" ( #10711 )
...
* remote: show default when run "dvc remote list"
Fixes #10708
* Indent other remotes if there is a default remote
Now regardless of whether there is a default remote or not, all remotes are equally indented
* stricter test for listing remotes shows default
* Rewrite dvc remote list implemetation
- Default remote is indicated at end of the output and colored green
- Remotes no longer reordered to show default first
- Test updated to reflect changes and remove need for function escape_ansi.
---------
Co-authored-by: RMCrean <[email protected] >
2025-04-07 09:02:09 +05:45
skshetry
31270c14e3
pyproject: update license to PEP 639 format ( #10709 )
...
Requires bumping `setuptools` to 77.0.0 or later.
See:
- [PEP 639](https://peps.python.org/pep-0639 )
- [Writing pyproject.toml - license](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license )
2025-03-25 09:48:50 +05:45
pre-commit-ci[bot]
28b7c8b723
[pre-commit.ci] pre-commit autoupdate ( #10699 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-06 18:21:14 -08:00
skshetry
1d6ea68133
ls/ls-url: do not show entry with size<=0 for a directory ( #10687 )
...
ls/ls-url: do not show size=0 when the entry is a directory
2025-02-09 12:16:53 +05:45
skshetry
25d2638a57
pre-commit: set autoupdate schedule to monthly ( #10685 )
...
Update .pre-commit-config.yaml
2025-02-06 09:33:04 +05:45
dependabot[bot]
0b03714097
build(deps): bump mypy from 1.14.1 to 1.15.0 ( #10684 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-06 09:30:37 +05:45
pre-commit-ci[bot]
9392bbdd4b
[pre-commit.ci] pre-commit autoupdate ( #10682 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-04 11:00:36 +05:45
pre-commit-ci[bot] and skshetry
c4b18b710a
[pre-commit.ci] pre-commit autoupdate ( #10676 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2025-01-31 20:04:56 +05:45
da1e0b57b8
import: fix broken progressbar when importing folder ( #10678 )
...
Co-authored-by: Petr Chmelar <[email protected] >
Co-authored-by: skshetry <[email protected] >
2025-01-31 19:41:27 +05:45
pre-commit-ci[bot]
b2a873d13b
[pre-commit.ci] pre-commit autoupdate ( #10674 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-21 15:34:13 +05:45
pre-commit-ci[bot]
89ef3463dc
[pre-commit.ci] pre-commit autoupdate ( #10671 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.0 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.0...v0.9.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 13:37:31 -08:00
skshetry
7d14acb5a7
3.13 support for Windows ( #10667 )
...
python/cpython#113829 changed `os.path.isabs` on Windows to not consider a path starting a single backslash to be an absolute path.
We do a lot of naive `posixpath` to `ntpath` conversions, and it broke DVC in multiple places. DVC is likely broken in many other places, and these bugs are difficult to identify.
In this commit, I have tried to fix in the places where the tests failed. And mostly by trying to imitate pre-3.13 behaviour.
Some of the changes may not be correct but keeps the old behaviour in place.
Also re-enabled the CI for all Python versions supported for Windows.
2025-01-10 18:39:38 +05:45
skshetry
dd501554fe
tests: try to make tests pass on Python 3.13 on unix platforms ( #10665 )
2025-01-09 22:36:35 +05:45
skshetry
54acfda687
fix implicit concatenated strings ( #10666 )
2025-01-09 22:05:33 +05:45
pre-commit-ci[bot]
e70a1e9bfc
[pre-commit.ci] pre-commit autoupdate ( #10663 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-09 21:49:48 +05:45
dependabot[bot]
aea0e6b6cc
build(deps): bump mypy from 1.14.0 to 1.14.1 ( #10662 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 21:14:40 +05:45
skshetry
2c6b917fc5
ls-url: add support for --tree/--level ( #10664 )
2025-01-09 21:12:34 +05:45
a43c1b31f7
chore(studio): Update Studio URL to new domain ( #10538 )
...
* chore(studio): Update Studio URL to new domain
The https://studio.dvc.ai is deprecated, and we switched to the new domain https://studio.datachain.ai .
The domain change is backwards compatible. The **older versions** of the `dvc` will still work. 🎉
Related PR: https://github.com/iterative/dvc-studio-client/pull/181
* Apply suggestions from code review
---------
Co-authored-by: Marcin Jasion <[email protected] >
Co-authored-by: Helio Machado <[email protected] >
2024-12-31 01:51:20 +00:00
pre-commit-ci[bot]
683a9f09bd
[pre-commit.ci] pre-commit autoupdate ( #10661 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-26 14:45:00 +05:45
dependabot[bot]
53a7230da0
build(deps): bump astral-sh/setup-uv from 4 to 5 ( #10660 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 4 to 5.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
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>
2024-12-22 18:55:56 -08:00
dependabot[bot]
f078a572dd
build(deps): bump mypy from 1.13.0 to 1.14.0 ( #10659 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.13.0 to 1.14.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 18:16:06 -08:00
pre-commit-ci[bot]
007041bfe9
[pre-commit.ci] pre-commit autoupdate ( #10651 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.8.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-17 17:45:15 +05:45
pre-commit-ci[bot]
965dbea75e
[pre-commit.ci] pre-commit autoupdate ( #10646 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-10 13:53:15 +05:45
pre-commit-ci[bot]
f5cbf97eea
[pre-commit.ci] pre-commit autoupdate ( #10642 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-07 08:07:50 +05:45
Raphaël Michel and pre-commit-ci[bot]
198c8f2ffd
Fix #10638 : makes remove return correct list when used with both --queue and -A ( #10641 )
...
* fixed a bug where using both `--queue` and `-A` would yield a "removed" list without the queued experiments
* added a test to validate the fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clearer name for test
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-01 08:21:46 -08:00
Raphaël Michel and pre-commit-ci[bot]
368c785410
Fix #10593 -- add --keep option for dvc experiments remove ( #10633 )
...
* Add keep_selected parameter, and corresponding code to keep only the selected exps (and remove all the other ones)
* test keep_selected_by_name
* test keep_selected_by_rev
* test keep_selected multiple, by name
* test keep all by name
* test keep by rev, with num=2
* added option to cli
* refactoring to meet pr needs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed test_experiments to add keep_selected=False to remove tests
* rename parameter to match cli option
* follow the normal path, then invert the selection before removing
* fixed tests for list ordering + fixed test with non existent name, it didn't make sense to delete everything if an exp name did not exist
* changed cli option comment
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed typing issue
* updated parameter name
* removed handling queued experiments (since --queue would remove them all)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* code simplification, added __eq__ and __hash__ to be able to compare ExpRefs, updated and parametrized tests.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed linting issues
* - --keep and --queue together raise an InvalidArgumentError
- added a test to check if the error is raised
- fixed CLI message
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* re-run gh tests. Some tests which did not involve my changes started failing while they were passing fine before.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-30 10:43:13 -08:00
skshetry
64ccd9cfdb
set DVC_NO_ANALYTICS on lint ( #10640 )
2024-11-29 18:48:01 +05:45
skshetry
d38b2dbcb8
deps: bump configobj minver to 5.0.9 ( #10636 )
2024-11-26 10:59:28 +05:45
dependabot[bot]
8cb0f02bf9
build(deps): bump astral-sh/setup-uv from 3 to 4 ( #10634 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 07:34:58 +05:45
pre-commit-ci[bot]
7e75b0616f
[pre-commit.ci] pre-commit autoupdate ( #10635 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-26 07:34:46 +05:45
pre-commit-ci[bot]
fb24775bc0
[pre-commit.ci] pre-commit autoupdate ( #10626 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.7.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-19 11:36:20 -08:00
82e2446eb4
Update pre-commit to use pinned version of dvc and correct stage names ( #10621 )
...
Co-authored-by: skshetry <[email protected] >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-18 08:22:11 +05:45
dependabot[bot]
1e08cc5da3
build(deps): bump codecov/codecov-action from 3 to 5 ( #10622 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-15 09:31:06 +05:45
pre-commit-ci[bot]
e56a729e3b
[pre-commit.ci] pre-commit autoupdate ( #10619 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-12 09:52:05 +05:45
skshetry
9a050684f7
fix issue with pytest-benchmark==5 ( #10618 )
2024-11-11 17:54:08 +05:45
Ivan Shcheklein
2431ec6189
Rename dvcx to DataChain in DVC <> DataChain integration ( #10611 )
2024-11-05 12:27:45 +05:45
dependabot[bot]
70fc4e6cda
build(deps): update platformdirs requirement from <4,>=3.1.1 to >=3.1.1,<5 ( #10603 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-05 12:27:30 +05:45
pre-commit-ci[bot]
bbc01b40d2
[pre-commit.ci] pre-commit autoupdate ( #10610 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-05 10:45:10 +05:45
skshetry
6302e5f1d3
PEP 703 attestation is the default ( #10607 )
2024-10-31 07:00:59 +05:45
pre-commit-ci[bot]
df5429f7d8
[pre-commit.ci] pre-commit autoupdate ( #10606 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-29 06:34:56 +05:45
dependabot[bot]
f9583f0c3d
build(deps): bump rtCamp/action-slack-notify from 2.3.1 to 2.3.2 ( #10602 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-24 08:03:55 +05:45
dependabot[bot]
9e26a46323
build(deps): bump mypy from 1.12.1 to 1.13.0 ( #10600 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-23 08:18:14 +05:45
skshetry
746f028f6c
ls: implement --tree to show as a tree and --level to limit depth for recursion ( #10598 )
2024-10-23 07:56:24 +05:45
pre-commit-ci[bot]
3651939e11
[pre-commit.ci] pre-commit autoupdate ( #10597 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-22 08:27:09 +05:45
Pete Bachant
d236667048
Add option to show MD5 checksums in dvc ls ( #10573 )
2024-10-21 16:32:03 +05:45
dependabot[bot]
d22a68f7a8
build(deps): bump mypy from 1.12.0 to 1.12.1 ( #10595 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.12.0 to 1.12.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.12.0...v1.12.1 )
---
updated-dependencies:
- dependency-name: mypy
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>
2024-10-20 20:10:06 -07:00
dependabot[bot] and Ivan Shcheklein
683ae7a951
build(deps): bump mypy from 1.11.2 to 1.12.0 ( #10586 )
...
* build(deps): bump mypy from 1.11.2 to 1.12.0
Bumps [mypy](https://github.com/python/mypy ) from 1.11.2 to 1.12.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.12.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
* fix mypy complaintes
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <[email protected] >
2024-10-20 18:42:48 -07:00
dependabot[bot]
d5054ce861
build(deps): bump rtCamp/action-slack-notify from 2.3.0 to 2.3.1 ( #10591 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.3.0...v2.3.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>
2024-10-19 18:10:03 -07:00
Saipavan Lingamallu
e884f1b8f0
Update warning message gc.py ( #10592 )
...
Corrected warning message
2024-10-18 10:54:00 -07:00
pre-commit-ci[bot] and skshetry
9b5772fab8
[pre-commit.ci] pre-commit autoupdate ( #10582 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2024-10-08 18:05:36 +05:45
Santiago Smith and Santiago Silva
c1aaeffc2d
fix: directory creation on pulling data ( #10580 )
...
Co-authored-by: Santiago Silva <[email protected] >
2024-10-08 17:55:24 +05:45
Ivan Shcheklein
ad70dd322b
bump scmrepo version ( #10570 )
...
Context https://github.com/iterative/dvc/issues/10563
2024-10-02 18:04:11 -07:00
pre-commit-ci[bot]
72b6971730
[pre-commit.ci] pre-commit autoupdate ( #10574 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.7 → v0.6.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.7...v0.6.8 )
* [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>
2024-10-02 18:03:56 -07:00
skshetry
ee1864af8e
fix tests with the new pydot release ( #10567 )
2024-09-26 08:13:06 +05:45
skshetry
52877485d1
chore: ci: disable caching ( #10565 )
2024-09-25 08:41:30 +05:45
pre-commit-ci[bot]
a923f110e3
[pre-commit.ci] pre-commit autoupdate ( #10564 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-24 09:29:54 +05:45
skshetry
b8266ed15f
add/commit: use hardlink to transfer files to the cache when cache.type is hardlink and on relink mode ( #10557 )
2024-09-17 13:09:32 +05:45
dependabot[bot]
2c871ba432
build(deps): bump astral-sh/setup-uv from 2 to 3 ( #10559 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 08:13:24 +05:45
pre-commit-ci[bot]
32d11f1e05
[pre-commit.ci] pre-commit autoupdate ( #10558 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-17 08:13:09 +05:45
pre-commit-ci[bot]
f56343d6ae
[pre-commit.ci] pre-commit autoupdate ( #10551 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-10 09:07:55 +05:45
skshetry
7b8922b20f
ci: use uv's official action, and uv build command ( #10548 )
2024-09-06 08:36:18 +05:45
pre-commit-ci[bot]
436a2ac793
[pre-commit.ci] pre-commit autoupdate ( #10547 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-03 08:41:43 +05:45
skshetry
eec3d48731
pyproject.toml: remove stale comment from dependency ( #10546 )
2024-08-30 18:51:56 +05:45
skshetry
5417ccd7b6
dvcfs.get: simplify and separate files into respective filesystems while walking ( #10544 )
...
dvcfs.get: simplify and separate files into respective filesystems while collecting/walking
2024-08-29 16:47:16 +00:00
skshetry
f2b7b00af5
dvcfilesystem.get: prefer downloading from repo.fs before dvc.fs ( #10543 )
2024-08-29 13:06:21 +00:00
skshetry
4f3fb15f2e
dvcfs: optimize get() by reducing index.info calls() ( #10540 )
2024-08-27 18:08:40 +05:45
pre-commit-ci[bot]
016f285fe3
[pre-commit.ci] pre-commit autoupdate ( #10541 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-27 06:43:45 +05:45
dependabot[bot]
f6dd641855
build(deps): bump mypy from 1.11.1 to 1.11.2 ( #10539 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2 )
---
updated-dependencies:
- dependency-name: mypy
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>
2024-08-26 08:21:55 +05:45
Saugat Pachhai (सौगात)
3f2584d155
bench: add --benchmark-cprofile-dump
2024-08-22 14:35:23 +05:45
skshetry
705b7bbea6
simplify running benchmarks ( #10536 )
2024-08-21 21:09:59 +05:45
Saugat Pachhai (सौगात)
26ad01bec0
bench: drop add/checkout from test_sharing
2024-08-21 08:00:19 +05:45
Saugat Pachhai (सौगात)
e76aaeac57
benchmarks: fix for local versions
2024-08-20 21:32:37 +05:45
skshetry
6f24d04b5e
ci (bench): skip benchmark for test_import on versions >=3.53,<3.54.1 ( #10535 )
2024-08-20 21:22:08 +05:45
skshetry
2dcaea8119
dependency/repo: do not suppress OSError on info() ( #10533 )
2024-08-20 18:14:21 +05:45
Dave Berenbaum and Saugat Pachhai
81db9b4572
save import hash info to state ( #10531 )
...
* save import hash info to state
* clean up path handling
* avoid walking
* tests: do not use as_posix to check for output
---------
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-08-20 13:41:37 +05:45
pre-commit-ci[bot]
98dde6cd27
[pre-commit.ci] pre-commit autoupdate ( #10532 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.0 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.0...v0.6.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-20 04:19:17 +05:45
skshetry
e42d094310
remove epic template ( #10530 )
2024-08-17 09:40:57 +05:45
skshetry
38ee0a01f7
update ruff to 0.6 ( #10526 )
2024-08-15 20:02:09 +05:45
dependabot[bot] and Saugat Pachhai
d494126cc5
build(deps): bump mypy from 1.10.1 to 1.11.1 ( #10495 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-08-15 19:59:05 +05:45
skshetry
fd3b43df05
fix test_daemon.py::test_analytics flakiness ( #10523 )
...
Turns out `iterative-telemetry` spends a long time trying to
generate an id. Sometimes it gets frozen for a long time (>30s).
2024-08-14 16:55:18 +05:45
Saugat Pachhai (सौगात)
b9bcb45aaa
ci: add python version for cache suffix
2024-08-14 15:17:31 +05:45
skshetry
7bca71db2e
ci: use pytest-split based on least_duration ( #10522 )
2024-08-14 14:58:55 +05:45
skshetry
52405a0e10
ci: use uv to install dependencies ( #10507 )
...
* ci: use uv to install dependencies
* split Windows tests into four for each python versions
* split tests and check into two jobs
* increase timeout
2024-08-14 13:24:56 +05:45
skshetry
c514b0ea31
use uv for benchmark tests while installing/creating virtualenv ( #10520 )
2024-08-13 22:27:05 +05:45
skshetry
853116a0e3
bump dvc-data to >=3.16.2 ( #10519 )
2024-08-13 08:59:06 +05:45
skshetry
5e4daf6cfb
deps: bump dvc-data to >=3.16.0 ( #10513 )
2024-08-13 07:15:05 +05:45
pre-commit-ci[bot]
991a816995
[pre-commit.ci] pre-commit autoupdate ( #10518 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-13 06:40:30 +05:45
Jan Stratil
9735b5aaa9
dvc dependency repo: Catch FileNotFoundError ( #10501 )
...
- When checkouting non-existent file the _checkout_file recursively
calls os.stat on a symlinked file which destination doesn't exist.
This causes a FileNotFoundError but it is not catched and it causes
an unexpected error instead.
Fixes #10500 .
2024-08-12 20:49:26 +05:45
Ivan Shcheklein
fa317d5b1d
fix(readme): add style to datachain banner ( #10517 )
2024-08-12 13:36:48 +05:45
Ivan Shcheklein
1b0fb6487b
add datachain link ( #10514 )
2024-08-08 10:57:31 -07:00
Saugat Pachhai (सौगात)
43e6229308
stabilize import db: remove experimental warning
2024-08-07 08:40:56 -04:00
skshetry
1bef0da4fb
import_db: set dependency.is_in_repo to false ( #10504 )
2024-08-06 14:02:24 +05:45
pre-commit-ci[bot]
284d83f390
[pre-commit.ci] pre-commit autoupdate ( #10493 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-06 06:51:31 +05:45
Dave Berenbaum
417e6d4b76
revert to --no-run-cache default for push/pull/fetch
2024-07-30 14:23:24 -04:00
dberenbaum
248ba3b6b6
limit reimport behavior to checkout
2024-07-24 09:37:32 -04:00
dberenbaum
8a91c2b303
add back code to avoid downloading imports
2024-07-24 09:37:32 -04:00
Dave Berenbaum
544dad75e9
try force overwriting run cache entries on push
2024-07-24 08:15:01 -04:00
pre-commit-ci[bot]
8f50f2509f
[pre-commit.ci] pre-commit autoupdate ( #10487 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-23 07:58:55 +05:45
pre-commit-ci[bot]
cdc1857559
[pre-commit.ci] pre-commit autoupdate ( #10484 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.1...v0.5.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-15 13:42:20 -07:00
Dave Berenbaum
358dd163da
set lower bound on fsspec ( #10479 )
2024-07-11 17:53:37 +05:45
pre-commit-ci[bot]
aae1a93cb5
[pre-commit.ci] pre-commit autoupdate ( #10478 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-08 14:22:12 -07:00
pre-commit-ci[bot] and Ivan Shcheklein
c9b7218659
[pre-commit.ci] pre-commit autoupdate ( #10473 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* lint daemon.py
* lint run.py
* lint fixtures.py
* lint checkout.py
* lint collect.py
* lint index.py
* lint index.py
* lint checkout.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <[email protected] >
2024-07-06 17:05:42 +00:00
dependabot[bot]
88c4b9525d
build(deps): update flufl-lock requirement from <8,>=5 to >=8.1.0,<9 ( #10470 )
...
---
updated-dependencies:
- dependency-name: flufl-lock
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 15:25:45 -07:00
pre-commit-ci[bot]
69d36eeb06
[pre-commit.ci] pre-commit autoupdate ( #10466 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-27 20:09:40 +05:45
3201794553
chore(studio): Update Studio URL to new domain ( #10468 )
...
Co-authored-by: Marcin Jasion <[email protected] >
Co-authored-by: skshetry <[email protected] >
2024-06-27 16:43:17 +05:45
dependabot[bot]
4464f8b4b9
build(deps): bump mypy from 1.10.0 to 1.10.1 ( #10467 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.10.0 to 1.10.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: mypy
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>
2024-06-24 21:00:48 -07:00
pre-commit-ci[bot]
efc7e05893
[pre-commit.ci] pre-commit autoupdate ( #10463 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-18 08:21:54 +05:45
skshetry
a555c3d29a
skip stage cache push/pull test for http ( #10462 )
2024-06-15 21:51:20 +05:45
George Geddes
676645b1ca
Read studio hostname from config when not present on cli or env ( #10459 )
2024-06-14 17:29:56 -07:00
pre-commit-ci[bot]
93c3100bad
[pre-commit.ci] pre-commit autoupdate ( #10455 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.4.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-12 06:41:09 +05:45
pre-commit-ci[bot]
c74156288d
[pre-commit.ci] pre-commit autoupdate ( #10443 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-03 17:40:31 +05:45
George Kussumoto and Saugat Pachhai
0e38ccc031
fix(pull): normalize dependency path ( #10446 )
...
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-06-03 16:43:43 +05:45
Ivan Shcheklein
b69b368ffe
fix(benchmarks): force older pygit2 for older DVC versions ( #10447 )
2024-06-03 15:56:43 +05:45
6cc80fdeaa
fix fish shell support ( #10445 )
...
Co-authored-by: Alexey Stern [email protected]
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-06-03 15:45:21 +05:45
Ivan Shcheklein
8f8d49d023
fix(push/pull): don't fail on unsupported run cache ( #10441 )
2024-05-27 14:37:44 +05:45
Dave Berenbaum
83ec952da1
improve repro --pull --run-cache test
2024-05-23 14:26:42 -04:00
Dave Berenbaum
c0d7e2a8de
test repro --pull failure
2024-05-23 14:26:42 -04:00
Dave Berenbaum
9aad09164c
update repro --pull description
2024-05-23 14:26:42 -04:00
Dave Berenbaum
1f7733fec1
refactor
2024-05-23 14:26:42 -04:00
Dave Berenbaum
856c902b65
add tests
2024-05-23 14:26:42 -04:00
Dave Berenbaum
ebb459f9e2
refactor dvc repro --pull
2024-05-23 14:26:42 -04:00
Dave Berenbaum
2e0b024efe
Apply suggestions from code review
2024-05-23 13:45:48 -04:00
Dave Berenbaum
135fa26515
Update dvc/repo/artifacts.py
2024-05-23 13:45:48 -04:00
Dave Berenbaum
ef507efa04
artifacts: get studio info from local config
2024-05-23 13:45:48 -04:00
Dave Berenbaum
05db79e7cf
add dvc artifacts get --show-url
2024-05-23 12:46:21 -04:00
Dave Berenbaum
0a813bbcbc
push/pull run cache by default
2024-05-22 08:21:55 -04:00
skshetry
e82356ba92
deps: bump scmrepo to >=3.3.4 ( #10432 )
...
Closes https://github.com/iterative/dvc/issues/10431 .
Upstream PR: https://github.com/iterative/scmrepo/pull/359
2024-05-20 18:13:25 +05:45
Sigurd Spieckermann
5bfacec974
import/get: escape non-pattern LFS path parts ( #10416 )
2024-05-13 10:24:06 -07:00
pre-commit-ci[bot]
1848074ac9
[pre-commit.ci] pre-commit autoupdate ( #10409 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.3 )
* [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>
2024-05-10 10:52:02 +00:00
Sigurd Spieckermann
a7c0f6ef39
import/get: optimize LFS prefetching ( #10414 )
2024-05-03 08:58:53 -07:00
Thomas Roehr
0a8a9deceb
Update s3 dependency to dvc-s3>=3.2.0
2024-04-26 11:01:03 -04:00
Thomas Roehr
c5d98681c0
s3: align config name for anonymous login
2024-04-26 11:01:03 -04:00
Thomas Roehr
15e05e4b3e
dvc: s3: allow configuring anonymous access
2024-04-26 11:01:03 -04:00
pre-commit-ci[bot]
7df8b0c09b
[pre-commit.ci] pre-commit autoupdate ( #10397 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-26 15:25:52 +05:45
Amirmohammad Sadat Shokouhi
2e1faf2979
add replication factor argument for hdfs in config schema ( #10396 )
2024-04-25 12:03:35 -07:00
skshetry
cbaeff2ea1
deps: bump scmrepo minver to >=3.3.2,<4 ( #10406 )
...
Update pyproject.toml
2024-04-25 14:41:58 +05:45
dependabot[bot]
132e625ae8
build(deps): bump mypy from 1.9.0 to 1.10.0 ( #10405 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 09:54:50 +05:45
skshetry
8517cccff4
artifacts: add support for monorepo ( #10386 )
2024-04-16 21:13:02 +05:45
dberenbaum
c52a25e011
fix tests
2024-04-16 11:15:52 -04:00
dberenbaum
c4678736b0
add option to not relink
2024-04-16 11:15:52 -04:00
pre-commit-ci[bot]
ec92cc14d1
[pre-commit.ci] pre-commit autoupdate ( #10390 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.3.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-16 10:37:51 +05:45
Dave Berenbaum
e6048287cb
fix test for dvc-render updates to plots title anchor ( #10387 )
2024-04-11 19:23:03 +05:45
pre-commit-ci[bot]
72a353d8b9
[pre-commit.ci] pre-commit autoupdate ( #10384 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-09 06:45:19 +05:45
pre-commit-ci[bot]
dd2b515c97
[pre-commit.ci] pre-commit autoupdate ( #10376 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.4 → v0.3.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.4...v0.3.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-02 06:52:09 +05:45
skshetry
c223cdaecd
params/metrics: do not fail during dir expansion ( #10375 )
...
params/metrics: assume file when dir expansion raises error
Closes https://github.com/iterative/dvc/issues/10018 .
We have to be careful when expanding paths. This PR fall backs to assume it
as a file when either of `isdir` and `find` raises error due to some mishaps.
The consequence of this assumption happens when we try to read the file.
In that case, if the directory exists, and we happen to try to open it
as a file, dvc will raise `IsADirectoryError`, but that is handled correctly
and won't fail catastrophically like this did.
2024-03-28 07:30:12 +05:45
skshetry
5379aa2348
add: raise DoesNotExistError only if the output path does not exist ( #10373 )
...
`dvc add` command incorrectly raises a `DoesNotExistError` when a
broken symlink exists in an output directory, and the target name
is same as the directory's name.
eg: If `data` is an output, and is the command is invoked as `dvc add data`
(i.e. no virtual directory operations to perform).
The expected behavior to raise a `FileNotFoundError`.
`DoesNotExistError` should only be raised if the output itself does not
exist.
Related: https://github.com/iterative/dvc/issues/3717
2024-03-26 11:16:35 +00:00
pre-commit-ci[bot] and Saugat Pachhai
3375a7c39f
[pre-commit.ci] pre-commit autoupdate ( #10372 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.3 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4 )
* fixes
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-03-26 06:37:53 +00:00
dberenbaum
519c47f5fc
sync: skip if remote doesn't match output remote
2024-03-25 15:12:33 -04:00
skshetry
6f6038888f
sort imports for all libraries starting with dvc_ as a first party ( #10371 )
...
dvc_studio_client, dvc_ssh, etc. were not properly sorted.
2024-03-23 20:13:13 +05:45
skshetry
e223f51e7e
explicitly specify dependencies that are imported inside dvc ( #10370 )
...
Most of these are also transitive dependencies, but we should explicitly
specify them if they are imported within dvc.
2024-03-23 18:51:25 +05:45
skshetry
fb628bf9ea
add a regression test for #10309 ( #10369 )
...
https://github.com/iterative/dvc/issues/10309
2024-03-23 11:37:36 +05:45
dependabot[bot] and skshetry
4f4e977e53
build(deps-dev): update dvc-data requirement from <3.15,>=3.13 to >=3.15,<3.16 ( #10368 )
...
* build(deps-dev): update dvc-data requirement
Updates the requirements on [dvc-data](https://github.com/iterative/dvc-data ) to permit the latest version.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/3.13.0...3.15.0 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
* Update pyproject.toml
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2024-03-23 05:48:17 +00:00
skshetry
8b1f8847fe
add CITATION file so that users can cite dvc ( #10366 )
2024-03-23 07:05:07 +05:45
skshetry
c62a0380e9
templating: support on top-level params/metrics/plots/artifacts/datasets ( #10359 )
...
* templating: support on top-level params/metrics/plots/artifacts/datasets
* make resolving top-level ordered
* prevent updating parametrized dataset
* fix dataset tests
* add tests
* fix comment
* support parametrizing artifacts name
2024-03-22 12:22:16 +00:00
Rishabh Sharma and Rishabh Sharma
8d8939fb67
DVC_STAGE: Added environment variable to track DVC stage name ( #10357 )
...
DVC_STAGE_NAME: Added environment variable to track DVC stage name
Fixes #10355
Co-authored-by: Rishabh Sharma <[email protected] >
2024-03-20 13:28:02 -07:00
dependabot[bot]
f7a54bf2d0
build(deps): bump rtCamp/action-slack-notify from 2.2.1 to 2.3.0 ( #10364 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.2.1...v2.3.0 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 08:15:27 +05:45
pre-commit-ci[bot] and Saugat Pachhai
1a9f5d3aa8
[pre-commit.ci] pre-commit autoupdate ( #10362 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.2 → v0.3.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.2...v0.3.3 )
* fix lint issue
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-03-19 13:25:39 +05:45
Ivan Shcheklein
017a510b83
add attrs explicit dependency ( #10354 )
...
fixes AttrsInstance import failing, fixed by https://github.com/python-attrs/attrs/issues/987
2024-03-16 08:58:37 +05:45
skshetry
a80d224c58
fix dvcx import ( #10351 )
2024-03-14 15:20:17 +05:45
pre-commit-ci[bot] and Saugat Pachhai
49709a4810
[pre-commit.ci] pre-commit autoupdate ( #10350 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix ruff errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-03-13 16:43:10 +05:45
dberenbaum
7df58ce404
Revert "refactor notify_refs_to_studio"
...
This reverts commit c16d615b55f2bb359b731939ad22712a502d8a8d.
2024-03-11 10:47:01 -04:00
dberenbaum
827e58f305
Revert "fix mypy"
...
This reverts commit 029b68ef77b7f82d5e72c8bb48f3eb980fe8204e.
2024-03-11 10:47:01 -04:00
dberenbaum
8bc6ba7cd5
fix mypy
2024-03-11 10:47:01 -04:00
dberenbaum
a96a446742
refactor notify_refs_to_studio
2024-03-11 10:47:01 -04:00
dberenbaum
837c8e8de4
exp: use exp git remote for studio repo url
2024-03-11 10:47:01 -04:00
dberenbaum
603da1ca1e
api: update remote config tests
2024-03-11 09:47:05 -04:00
dberenbaum
377d0c9d58
get: update show-url to take remote args
2024-03-11 09:47:05 -04:00
dependabot[bot]
6bdf41a217
build(deps-dev): bump mypy from 1.8.0 to 1.9.0 ( #10348 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.8.0 to 1.9.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.8.0...1.9.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 08:44:35 +05:45
dberenbaum
1aeb8750b6
drop debugging comment
2024-03-07 07:39:53 -05:00
dberenbaum
5aae934379
test auto push with tmp dir
2024-03-07 07:39:53 -05:00
dberenbaum
de1338caaf
write git config to exp tmp repos
2024-03-07 07:39:53 -05:00
Ivan Shcheklein and skshetry
9957410998
fix(plots): handle empty directories ( #10344 )
...
* fix(plots): handle empty directories
* Update tests/integration/plots/test_plots.py
Co-authored-by: skshetry <[email protected] >
* cleanup after review
---------
Co-authored-by: skshetry <[email protected] >
2024-03-07 12:50:49 +05:45
dberenbaum
cf9855af45
handle auto push errors
2024-03-05 09:44:48 -05:00
skshetry
0001cc3a4b
drop 2.x branch ( #10339 )
...
* drop 2.x branch
* Update tests.yaml
2024-03-05 14:39:51 +05:45
skshetry
440e1491f0
Delete .github/mergify.yml ( #10338 )
2024-03-05 14:37:44 +05:45
AlexandreKempf and Saugat Pachhai
b0384f8f51
dvc studio login automatically push experiments by default (#10331 )
...
* studio login set auto_push + add logs for the user
* set a separate global config dir for studio login tests
The `isolate` fixture sets a separate, _isolated_ global config directory.
But it is shared among other tests. So any mutations to it affects other
tests too.
We should force `studio login` tests to use a separate tmp_dir for global config.
* cleanup message
---------
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-03-05 11:48:16 +05:45
cd1e228e55
experiments: auto push experiments ( #10323 )
...
* add auto_push for experiment on run and on save.
add config.exp.auto_push and config.exp.git_remote
* add func tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* separate auto_push behaviour out of commit
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2024-03-04 14:20:56 +05:45
skshetry
3b2e031e60
replace flaky with pytest-rerunfailures ( #10335 )
...
* Revert "limit pytest version to <8.1 (#10334 )"
This reverts commit bc95b650a4 .
* replace flaky with pytest-rerunfailures
`flaky` project seems to be unmaintained (see box/flaky#192 ).
`pytest-rerunfailures` seems to be maintained under `pytest-dev`
and tests 5 minor releases of pytest.
Note that this plugin is not compatible with `flaky` plugin.
You will have to uninstall it if it exists.
2024-03-04 11:12:45 +05:45
skshetry
e5ee82bc99
support newer pytest-docker ( #10336 )
2024-03-04 11:09:56 +05:45
skshetry
bc95b650a4
limit pytest version to <8.1 ( #10334 )
...
Change in pytest==8.1.0 breaks `flaky` plugin.
See https://github.com/box/flaky/issues/198 .
2024-03-04 10:31:58 +05:45
skshetry
257ea5f4cb
tests: use default branch for rev ( #10332 )
...
`isolate` fixture don't run in plugin's tests.
So the tests will fail to run if you have `init.defaultBranch`
something other than `master`.
2024-03-01 11:16:59 +05:45
AlexandreKempf
5f7acd4cbe
add subdir test to integration tests
2024-02-29 13:50:30 -05:00
AlexandreKempf
13325ea89b
use explicit code to fix copy bug
2024-02-29 13:50:30 -05:00
AlexandreKempf
fd71434df5
fix test
2024-02-29 13:50:30 -05:00
AlexandreKempf
2ff4ff2daa
implement logic for closest parent detection
2024-02-29 13:50:30 -05:00
AlexandreKempf
0ee6d6eba8
add more extensive tests
2024-02-29 13:50:30 -05:00
pre-commit-ci[bot]
7c34370464
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-29 13:50:30 -05:00
AlexandreKempf
b67b254287
add test
2024-02-29 13:50:30 -05:00
AlexandreKempf
212928a1fa
fix plots nested configuration
2024-02-29 13:50:30 -05:00
dependabot[bot]
5be23cfd4e
build(deps-dev): update dvc-data requirement from <3.14,>=3.13 to >=3.13,<3.15 ( #10329 )
...
build(deps-dev): update dvc-data requirement
Updates the requirements on [dvc-data](https://github.com/iterative/dvc-data ) to permit the latest version.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/3.13.0...3.14.0 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 19:28:29 +05:45
skshetry
4d3a631e60
fix PathInfo instantiation in Python 3.12 ( #10328 )
2024-02-28 14:40:56 +05:45
skshetry
491155cdb0
experimental upath implementation for dvcfilesystem ( #10302 )
2024-02-27 20:08:12 +05:45
skshetry
9bb4501bf0
ds add: use --dvc/--dvcx/--url flags to accept url ( #10326 )
...
* ds add: use --dvc/--dvcx/--url flags to accept url
.. instead of relying on `scheme://`
I think this is more simpler from user's perspective, easier to
teach and easier to maintain as we won't have to do url parsing.
I am taking inspiration from `cargo install` has `--git`/`--rev`, etc.
to install from alternate sources.
```console
Options:
--version <VERSION> Specify a version to install
--index <INDEX> Registry index to install from
--registry <REGISTRY> Registry to use
--git <URL> Git URL to install the specified crate from
--branch <BRANCH> Branch to use when installing from git
--tag <TAG> Tag to use when installing from git
--rev <SHA> Specific commit to use when installing from git
--path <PATH> Filesystem path to local crate to install
--root <DIR> Directory to install packages into```
```
The `name` is also changed from an option to an argument.
### Examples
```console
dvc ds add example-get-started --dvc [email protected] :iterative/example-get-started.git
dvc ds add dogs --dvcx dogs
dvc ds add dogs --url s3://bucket/key/path
```
* add --version alias
2024-02-27 20:06:38 +05:45
skshetry
4cb658f96c
dataset: provide --rev to track a different dvcx dataset version or git rev ( #10325 )
...
* dataset: provide --rev to track a different dvcx dataset version or git rev
* fix message
* add tests; disallow --rev for url datasets
2024-02-27 08:26:07 +05:45
Matt Seddon
9f66897bf7
plots: support x-dict in nested dvc.yaml ( #10318 )
2024-02-26 19:54:20 +00:00
skshetry
84a1750013
cli: fix typo in help message, replace / with : in scp style url ( #10322 )
2024-02-26 21:59:28 +05:45
skshetry
6cb37ac27b
tests: add tests for datasets ( #10321 )
2024-02-26 21:45:09 +05:45
skshetry
f38490c897
dvc.api for dataset ( #10316 )
...
* add support for tracking remote dataset
This adds support for virtually tracking a
dataset such as dvcx dataset, dataset from remote dvc/git
registries, and cloud-versioned remotes.
This PR introduces two different commands under `ds` namespace:
`add` and `update`.
`dvc ds add` command adds the dataset to `dvc.yaml` and tracks
the sources in `dvc.lock` file. Similarly, `dvc ds update`
updates the sources in `dvc.lock` file.
Example Usage:
```console
dvc ds add --name dogs --url dvcx://dogs # tracking dvcx dataset
# tracking dvc/git registries
dvc ds add --name example --url dvc://[email protected] /iterative/example.git
# cloud-versioned-remotes
dvc ds add --name versioning --url s3://cloud-versioning-demo
```
To update, specify the name.
```console
dvc ds update <name>
```
`dvc ds add` freezes (in the traditional sense of `dvc import/import-url`).
It keeps a "specification" of the dataset in `dvc.yaml` and also freezes
information about the dataset in the `dvc.lock` file. They are kept
inside `datasets` section in both `dvc.yaml` and `dvc.lock` files.
This metadata is used in the pipelines. You can add a dependency to your
stage using `ds://` scheme, followed by the name of the dataset in
`dvc.yaml` file. As it is used in pipelines, the `name` of the dataset
has to be unique in the repository. Different dataset of same names
are not allowed. On `dvc repro`, `dvc` copies the frozen information
about the particular dataset into the `deps` field for the stage in
`dvc.lock`. On successive invocation, `dvc` will compare the information
from the deps field of the lock with the frozen information in the
`datasets` section and decides whether to rerun or not.
As the dataset is frozen, `dvc repro` won't rerun until the dataset is
updated via `dvc update`.
Here are some examples for how `dvc.yaml` looks like:
```yaml
datasets:
- name: dogs
url: dvcx://dogs
type: dvcx
- name: example-get-started
url: [email protected] :iterative/example-get-started.git
type: dvc
path: path
- name: dogs2
url: dvcx://dogs@v2
type: dvcx
- name: cloud-versioning-demo
url: s3://cloud-versioning-demo
type: url
```
```yaml
schema: '2.0'
datasets:
- name: dogs
url: dvcx://dogs
type: dvcx
version: 3
created_at: '2023-12-11T10:32:05.942708+00:00'
- name: example-get-started
url: [email protected] :iterative/example-get-started.git
type: dvc
path: path
rev_lock: df75c16ef61f0772d6e4bb27ba4617b06b4b5398
- name: cloud-versioning-demo
url: s3://cloud-versioning-demo
type: url
meta:
isdir: true
size: 323919
nfiles: 33
files:
- relpath: myproject/model.pt
meta:
size: 106433
version_id: 5qrtnhnQ4fBzV73kqqK6pMGhTOzd_IPr
etag: 3bc0028677ce6fb65bec8090c248b002
# truncated
```
The pipeline stages keep them in `dataset` section of individual deps.
```console
dvc stage add -n train -d ds://dogs python train.py
cat dvc.yaml
```
```yaml
# truncated
stages:
train:
cmd: python train.py
deps:
- ds://dogs
```
When it is reproduced, the `dvc.lock` will look something like follows:
```yaml
# truncated
stages:
train:
cmd: python train.py
deps:
- path: ds://dogs
dataset:
name: dogs
url: dvcx://dogs
type: dvcx
version: 3
created_at: '2023-12-11T10:32:05.942708+00:00'
```
* remodeling
* remove non-cloud-versioned remotes
* improve deserializing; handle invalidation
* dvc.api for dataset
* expose the API in the top-level
2024-02-26 21:29:16 +05:45
skshetry
34d80fbfce
add support for tracking remote dataset ( #10287 )
...
* add support for tracking remote dataset
This adds support for virtually tracking a
dataset such as dvcx dataset, dataset from remote dvc/git
registries, and cloud-versioned remotes.
This PR introduces two different commands under `ds` namespace:
`add` and `update`.
`dvc ds add` command adds the dataset to `dvc.yaml` and tracks
the sources in `dvc.lock` file. Similarly, `dvc ds update`
updates the sources in `dvc.lock` file.
Example Usage:
```console
dvc ds add --name dogs --url dvcx://dogs # tracking dvcx dataset
# tracking dvc/git registries
dvc ds add --name example --url dvc://[email protected] /iterative/example.git
# cloud-versioned-remotes
dvc ds add --name versioning --url s3://cloud-versioning-demo
```
To update, specify the name.
```console
dvc ds update <name>
```
`dvc ds add` freezes (in the traditional sense of `dvc import/import-url`).
It keeps a "specification" of the dataset in `dvc.yaml` and also freezes
information about the dataset in the `dvc.lock` file. They are kept
inside `datasets` section in both `dvc.yaml` and `dvc.lock` files.
This metadata is used in the pipelines. You can add a dependency to your
stage using `ds://` scheme, followed by the name of the dataset in
`dvc.yaml` file. As it is used in pipelines, the `name` of the dataset
has to be unique in the repository. Different dataset of same names
are not allowed. On `dvc repro`, `dvc` copies the frozen information
about the particular dataset into the `deps` field for the stage in
`dvc.lock`. On successive invocation, `dvc` will compare the information
from the deps field of the lock with the frozen information in the
`datasets` section and decides whether to rerun or not.
As the dataset is frozen, `dvc repro` won't rerun until the dataset is
updated via `dvc update`.
Here are some examples for how `dvc.yaml` looks like:
```yaml
datasets:
- name: dogs
url: dvcx://dogs
type: dvcx
- name: example-get-started
url: [email protected] :iterative/example-get-started.git
type: dvc
path: path
- name: dogs2
url: dvcx://dogs@v2
type: dvcx
- name: cloud-versioning-demo
url: s3://cloud-versioning-demo
type: url
```
```yaml
schema: '2.0'
datasets:
- name: dogs
url: dvcx://dogs
type: dvcx
version: 3
created_at: '2023-12-11T10:32:05.942708+00:00'
- name: example-get-started
url: [email protected] :iterative/example-get-started.git
type: dvc
path: path
rev_lock: df75c16ef61f0772d6e4bb27ba4617b06b4b5398
- name: cloud-versioning-demo
url: s3://cloud-versioning-demo
type: url
meta:
isdir: true
size: 323919
nfiles: 33
files:
- relpath: myproject/model.pt
meta:
size: 106433
version_id: 5qrtnhnQ4fBzV73kqqK6pMGhTOzd_IPr
etag: 3bc0028677ce6fb65bec8090c248b002
# truncated
```
The pipeline stages keep them in `dataset` section of individual deps.
```console
dvc stage add -n train -d ds://dogs python train.py
cat dvc.yaml
```
```yaml
# truncated
stages:
train:
cmd: python train.py
deps:
- ds://dogs
```
When it is reproduced, the `dvc.lock` will look something like follows:
```yaml
# truncated
stages:
train:
cmd: python train.py
deps:
- path: ds://dogs
dataset:
name: dogs
url: dvcx://dogs
type: dvcx
version: 3
created_at: '2023-12-11T10:32:05.942708+00:00'
```
* remodeling
* remove non-cloud-versioned remotes
* improve deserializing; handle invalidation
2024-02-26 21:28:39 +05:45
Matt Seddon
89537a77b5
studio: add subdir to live metrics post messages to support live experiments in monorepos ( #10303 )
2024-02-21 12:05:31 +11:00
Peter Rowlands
c72e1fb0b8
repo.imports: remove unused code
2024-02-20 15:08:07 +09:00
pre-commit-ci[bot]
9fbe5d929d
[pre-commit.ci] pre-commit autoupdate ( #10310 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.1 → v0.2.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.1...v0.2.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-20 09:09:04 +05:45
Ruslan Kuprieiev
0635b0ca15
index: check dep.hash_name for imports
2024-02-19 15:16:57 +02:00
Ruslan Kuprieiev
06abf73c22
deps: bump dvc-data >=3.13.0
2024-02-15 23:18:49 +02:00
pre-commit-ci[bot]
5e2c441d28
[pre-commit.ci] pre-commit autoupdate ( #10301 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.2.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.2.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-15 09:03:30 +05:45
skshetry
6efd699267
deps: bump dvc-studio-client to >=0.19,<1 ( #10298 )
2024-02-10 09:56:09 +05:45
skshetry
f639ab50ab
simplify message in studio login/logout flow ( #10297 )
2024-02-09 23:02:35 +05:45
dependabot[bot] and skshetry
953ae56536
build(deps-dev): update dvc-data requirement from <3.11,>=3.10 to >=3.10,<3.12 ( #10295 )
...
* build(deps-dev): update dvc-data requirement
Updates the requirements on [dvc-data](https://github.com/iterative/dvc-data ) to permit the latest version.
- [Release notes](https://github.com/iterative/dvc-data/releases )
- [Commits](https://github.com/iterative/dvc-data/compare/3.10.0...3.11.0 )
---
updated-dependencies:
- dependency-name: dvc-data
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
* bump dvc-ssh to >=4,<5.
---------
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2024-02-08 18:00:37 +05:45
dependabot[bot]
ac0397e536
build(deps-dev): update pytest requirement from <8,>=7 to >=7,<9 ( #10274 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [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.0.0...8.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 17:20:10 +05:45
skshetry
b243ccab1f
tests: remove pytest-lazy-fixture ( #10294 )
...
Since it's no longer being maintained. See https://github.com/TvoroG/pytest-lazy-fixture/issues/65 .
2024-02-08 17:10:58 +05:45
dependabot[bot]
c31a5d9df9
build(deps): bump pre-commit/action from 3.0.0 to 3.0.1 ( #10290 )
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: pre-commit/action
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>
2024-02-08 17:07:25 +05:45
Matt Seddon
44b78b81b9
repo: add get_subrepo_relpath helper for studio live experiments monorepo support
2024-02-06 04:02:37 +02:00
skshetry
d25cb79e0a
deps: bump dvc-objects, dvc-data and scmrepo ( #10280 )
...
* deps: bump dvc-objects, dvc-data and scmrepo
* bump dvc-azure
* fix typo
2024-02-06 03:36:37 +02:00
skshetry
79238fd2a3
cli: sort commands ( #10281 )
2024-02-05 23:54:26 +05:45
skshetry
2bf7bd990a
pep584ify: use dict merge operator ( #10279 )
...
This was introduced in Python 3.9. The change makes
dict merges 'obvious' and looks cleaner.
I haven't changed `.update()` to `|=` (update operator),
as I find the former to be more readable and "obvious".
2024-02-03 15:58:07 +05:45
skshetry
68b9ecb95c
chore: update to ruff 0.2 ( #10278 )
...
update to ruff 0.2
2024-02-02 12:07:49 +05:45
Dave Berenbaum
594716ec79
status: add option to skip imports ( #10277 )
2024-02-01 21:49:50 +02:00
Ruslan Kuprieiev
84b2e685e2
repo: index: don't set cache storage if there is no out.cache ( #10275 )
2024-02-01 15:15:35 +02:00
Ruslan Kuprieiev and pre-commit-ci[bot]
0bb2f3d10c
repo: site_cache_dir: separate subdir from root_dir ( #10273 )
...
* repo: site_cache_dir: separate subdir from root_dir
Currently we join scm root_dir with subrepo root dir to have something that would represent that subrepo, but that directory might not exist in reality as we might be using a bare git repo. So we should just treat those as separate things.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update __init__.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-01 09:32:22 +02:00
skshetry
f42468bcaf
Revert "build(deps-dev): update pytest requirement from <8,>=7 to >=7,<9" ( #10269 )
2024-01-31 12:31:21 +05:45
dependabot[bot]
28545c0cc5
build(deps-dev): update pytest requirement from <8,>=7 to >=7,<9 ( #10259 )
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [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.0.0...8.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 11:12:41 +05:45
dependabot[bot]
0ee752d464
build(deps-dev): update pytest-docker requirement from <3,>=1 to >=1,<4 ( #10262 )
...
Updates the requirements on [pytest-docker](https://github.com/avast/pytest-docker ) to permit the latest version.
- [Release notes](https://github.com/avast/pytest-docker/releases )
- [Changelog](https://github.com/avast/pytest-docker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/avast/pytest-docker/compare/v1.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: pytest-docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 11:12:32 +05:45
skshetry
9a1bcd7f1d
nit: fit statement/expr in the same line instead of hanging ( #10267 )
...
The code are wrapped due to us using line-length=79 before, but now some
of the code can easily fit in 88 chars.
The formatter did not change this automatically when we changed line-length,
because of magic trailing commas that gets added when they turn into multiple lines.
Black/ruff wrapping them in parens and splitting them into multiple lines
was making it difficult to read.
2024-01-30 18:23:04 +05:45
skshetry
422caa13c4
introduce dataset dependency ( #10164 )
...
* introduce dataset dependency
* support Annotated types
* split
* drop dvc.api.datasets
* drop pydantic and typing-extensions
* drop dvc.datasets
2024-01-30 16:44:28 +05:45
skshetry
3b56c40add
remove Python 3.8 compat for threadpoolexecutor.shutdown(cancel_futures=True) ( #10266 )
2024-01-30 15:40:38 +05:45
skshetry
b647475a64
drop Python 3.8 support ( #10265 )
...
* drop Python 3.8
Note that this PR only makes typing related changes.
Other changes can be done once this gets merged, they
are relatively few in numbers.
* bump build python version
* add typing_extensions to lint group
2024-01-30 11:33:25 +02:00
skshetry
966adec21c
ruff: enable RET501 ( #10264 )
2024-01-30 14:03:49 +05:45
skshetry
4eb073868c
update ruff to 0.1.15 ( #10263 )
...
update ruff
2024-01-30 13:09:55 +05:45
Peter Rowlands
196c1c7a17
exp show: output executor info for successful exps when available
2024-01-29 16:33:48 +09:00
Ruslan Kuprieiev and dberenbaum
df5b582c3f
fetch: handle missing/modified imports ( #10220 )
...
tests: pull after imp-url no-download
Co-authored-by: dberenbaum <[email protected] >
2024-01-25 18:34:06 +02:00
Dave Berenbaum
20edd72a43
status: always show json ( #10253 )
2024-01-24 03:09:02 +02:00
Ruslan Kuprieiev
ba06c0504a
deps: bump dvc-data to >=3.8 ( #10254 )
2024-01-24 02:42:07 +02:00
18a9fea4af
hydra: support plugins ( #10240 )
...
* hydra: support plugins
* Update dvc/utils/hydra.py
* fix tests
* load plugins after some checks run
---------
Co-authored-by: Ruslan Kuprieiev <[email protected] >
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
Co-authored-by: skshetry <[email protected] >
2024-01-23 19:58:14 +05:45
pre-commit-ci[bot]
bfb65870a4
[pre-commit.ci] pre-commit autoupdate ( #10238 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.1.14 )
* [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>
2024-01-23 10:06:34 +05:45
Matt Seddon
a122b80d52
update min version of dvc-render to 1.0.1 ( #10250 )
2024-01-23 04:29:43 +02:00
dberenbaum
71afff6db3
exp save: add recursive arg
2024-01-19 12:57:27 +09:00
dberenbaum
48ec86de28
exp save: add target arg
2024-01-19 12:57:27 +09:00
Ruslan Kuprieiev and Dave Berenbaum
78ab929ad1
config: azure: don't forget Coerce() for timeouts ( #10247 )
...
Co-authored-by: Dave Berenbaum <[email protected] >
2024-01-19 03:19:37 +02:00
Dave Berenbaum
5c31189a91
repro --pull: always pull deps ( #10187 )
...
* repro --pull: always pull deps
* drop unused allow_missing args
2024-01-18 05:11:03 +02:00
skshetry
b46bd9ca65
top-level plot collections: fail on empty dict ( #10233 )
...
* top-level plot collections: skip empty dict
* tighten schema for plots; require key name
2024-01-12 09:56:50 +05:45
skshetry
d711ecda04
cli: remove fix_subparsers ( #10229 )
...
It does not look like we need this.
2024-01-11 15:54:44 +05:45
skshetry
e3b0f190ab
Revert "import-db: fix metavar" ( #10228 )
2024-01-11 13:30:10 +05:45
skshetry
eae4fe21ce
cli: lowercase metavar by default ( #10227 )
...
* cli: lowercase metavar by default
* add tests for help message
2024-01-11 12:53:17 +05:45
skshetry
1c06302a47
import-db: fix metavar ( #10226 )
2024-01-11 11:35:08 +05:45
skshetry
71669225c5
db: atomically create output file ( #10224 )
2024-01-09 14:32:26 +05:45
pre-commit-ci[bot]
60c5f202a1
[pre-commit.ci] pre-commit autoupdate ( #10223 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.1.11 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 13:28:14 +05:45
skshetry
426a7149a4
database: drop dbt implementation ( #10222 )
...
* remove dbt implementation in the database
* lazy load client
* fixup
* fixup
* fix server side cursors
* use exec_driver_sql for testing connection
2024-01-05 19:16:12 +05:45
skshetry
0100c14d6a
import-db: support importing a table ( #10219 )
...
* import-db: support importing a table
* unhide the import-db command
2024-01-05 09:26:07 +05:45
Ruslan Kuprieiev
f1de712710
index: data_tree: handle partial imports
2024-01-04 18:17:45 +02:00
dberenbaum
bf5fe95c30
imp_url: gitignore during to_remote op
2024-01-03 16:12:45 +02:00
Ruslan Kuprieiev
fe008d9748
index: load files from import
2024-01-03 13:16:05 +02:00
Ruslan Kuprieiev
dad464285e
deps: bump dvc-data to >=3.6
2024-01-02 18:20:34 +02:00
skshetry
d218b6ac2b
import-db: simplify error message ( #10214 )
2024-01-02 20:40:51 +05:45
Ruslan Kuprieiev
041ea17233
index: fix storage for imports
2024-01-02 13:38:39 +02:00
Ruslan Kuprieiev
987b1c4213
output: get rid of out.odb
...
We use out.files to build index these days, making out.odb redundant.
2024-01-02 07:24:43 +02:00
Ruslan Kuprieiev
f2e479422f
index: mark remote as read_only for imports
...
Fixes #10206
2023-12-28 08:08:45 +02:00
Ruslan Kuprieiev
73820cc596
push: don't try to update meta for non versioned remotes
...
Per https://github.com/iterative/dvc/pull/10191#issuecomment-1870716262
2023-12-28 06:11:16 +02:00
skshetry
e7b695dbef
fix partial fetch ( #10205 )
...
Closes #10199 . Bumps dvc-data to >=3.4.
2023-12-27 19:05:33 +05:45
Guido Diepen and skshetry
27a8222e2a
webhdfs: implement support for basic auth and proxy ( #10075 )
...
* remote: add user key to config schema webhdfs
This was already supported according to documentation, but missing in
code
Fixes: 10062
* remote: add password key to support Basic Auth
* remote: add data_proxy_target for webhdfs remote
This key is needed to construct a potential rewrite dictionary in
webhdfs to deal with HDFS behind High Availability Proxy servers
* bump dvc-webhdfs
---------
Co-authored-by: skshetry <[email protected] >
2023-12-26 08:37:07 +05:45
pre-commit-ci[bot]
5850639a97
[pre-commit.ci] pre-commit autoupdate ( #10200 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.8 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.8...v0.1.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-26 08:36:30 +05:45
dberenbaum
f2b56bbb8a
drop lock from params_show and metrics_show
2023-12-25 10:15:38 +02:00
dependabot[bot]
cf8195c829
build(deps-dev): bump mypy from 1.7.1 to 1.8.0 ( #10189 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.7.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: mypy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-24 15:31:31 +05:45
Ruslan Kuprieiev
402c107823
ui: push: use blank pbar for the header
...
Same as in `dvc fetch`.
2023-12-23 04:40:23 +02:00
Ruslan Kuprieiev
b73754edd1
deps: bump dvc-data to >=3.3
2023-12-23 01:19:21 +02:00
Ruslan Kuprieiev
333f2f04f0
push: set desc explicitly
...
Leftover from https://github.com/iterative/dvc/pull/10190
2023-12-22 08:03:29 +02:00
Ruslan Kuprieiev
470c50a22b
push: use set_size instead of set_total
...
From https://github.com/iterative/dvc/pull/10191
2023-12-22 07:55:52 +02:00
Ruslan Kuprieiev
01f49b7f24
push: only collect needed files when updating version_ids
2023-12-22 07:38:26 +02:00
Ruslan Kuprieiev
19f2246bee
push: leave ui messages
...
Same as we do in pull/fetch/checkout.
2023-12-22 05:51:54 +02:00
Ruslan Kuprieiev
6a44783d72
index: load meta from outs.files
2023-12-22 05:26:18 +02:00
Ruslan Kuprieiev
98a286d88d
repo: don't forget to close data_index when dropping
2023-12-22 05:26:18 +02:00
Ruslan Kuprieiev
499c2dda01
testing: don't forget to check dvc.lock for cloud versioned dirs
2023-12-21 01:05:08 +02:00
Ruslan Kuprieiev
5f2615ff53
deps: bump dvc-data to >=0.3.1
2023-12-21 01:05:08 +02:00
dberenbaum
457d615a51
gc: fix test_gc_no_dir_cache
2023-12-20 00:21:23 +02:00
dberenbaum
827f9a7f03
gc: add --skip-failed
2023-12-20 00:21:23 +02:00
pre-commit-ci[bot]
7821e126fe
[pre-commit.ci] pre-commit autoupdate ( #10183 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.7 → v0.1.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.7...v0.1.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-19 15:31:12 +05:45
Helio Machado and pre-commit-ci[bot]
72ab5a12df
param: optimize fix for exponential memory allocation ( #10180 )
...
* param: simplify fix for exponential memory allocation
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove `deepcopy` again
* Restore deepcopy
* [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-12-18 08:37:31 +05:45
Helio Machado and pre-commit-ci[bot]
abcd70b9cf
param: fix exponential memory allocation ( #10178 )
...
* param: fix exponential memory allocation
* [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-12-16 20:08:44 +05:45
Ruslan Kuprieiev
3e4e143bee
deps: update dvc-data to >=3
2023-12-15 08:02:40 +02:00
dependabot[bot]
766b43bc2d
build(deps): bump actions/upload-artifact from 3 to 4 ( #10170 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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>
2023-12-15 10:11:19 +05:45
dependabot[bot]
92c66b2331
build(deps): bump actions/download-artifact from 3 to 4 ( #10171 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
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>
2023-12-15 10:11:06 +05:45
Ruslan Kuprieiev
b1211366cd
dvcfs: make repo creation lazy
2023-12-14 21:43:24 +02:00
Ruslan Kuprieiev
92823f1d84
tests: repro: don't depend on particular order
2023-12-14 21:43:24 +02:00
dependabot[bot]
f3fa67440d
build(deps): bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-12-14 06:04:54 +02:00
Ruslan Kuprieiev
3275f1ebf5
deps: bump dvc-data to >= 2.25.0
2023-12-14 05:04:36 +02:00
Ruslan Kuprieiev
4392af6d95
cli: debug: finalize profiler reports on errors
...
Even if a command failed, it might still be useful to look at the profiler report.
2023-12-13 20:34:30 +02:00
pre-commit-ci[bot]
a02c5a7405
[pre-commit.ci] pre-commit autoupdate ( #10153 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.1.7 )
* [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-12-13 19:56:38 +05:45
skshetry
dec1ac7346
deps: update dvc-data to >=2.24 ( #10158 )
2023-12-13 16:55:45 +05:45
Ruslan Kuprieiev
8ccae0a086
dvcfs: implement basic du
2023-12-12 23:56:19 +02:00
skshetry
3c31234151
unprotect: add progress bar ( #10152 )
...
* unprotect: add progress bar
* Update pyproject.toml
2023-12-12 09:47:35 +05:45
skshetry
77b451d118
database: rename Adapter to Client ( #10151 )
2023-12-09 11:28:47 +05:45
Ruslan Kuprieiev
1d47b03cd5
bench: mark test_get/import as flaky ( #10148 )
...
Sometimes seeing those error out in 2.x and early 3.x with:
```
ERROR: unexpected error - [Errno 95] no more link types left to try out: [Errno 95] Operation not supported
```
It seems like we've fixed it at some point, but I was not able to quickly find a link.
2023-12-08 17:15:57 +02:00
Dave Berenbaum
7c898cfad7
exp: ignore workspace errors during push/pull ( #10128 )
...
* exp: ignore workspace errors during push/pull
* refactor fetch revs warning
* mention failed revs are skipped
* add workspace arg to brancher
* pass workspace=False only for dvc exp push/pull
2023-12-07 13:46:18 +02:00
dependabot[bot]
1f07023d17
build(deps): bump actions/setup-python from 4 to 5 ( #10145 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
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>
2023-12-07 09:06:35 +05:45
Ruslan Kuprieiev
1e6b0242aa
deps: bump dvc-data to 2.22.6 ( #10144 )
2023-12-06 18:41:52 +02:00
skshetry
3c1e9ee9be
run test on 3.12 ( #10140 )
2023-12-06 21:47:50 +05:45
Ruslan Kuprieiev
9622157565
deps: bump dvc-data to >=2.22.5 ( #10141 )
2023-12-06 13:32:37 +02:00
Ruslan Kuprieiev
6ff4342f02
deps: bump dvc-data to >=2.22.4 ( #10139 )
...
* deps: bump dvc-data to >=2.22.4
* Update test_odb.py
2023-12-06 11:51:05 +02:00
Matt Seddon
5bb72b36cb
plots: standardise across DVC/Studio/VS Code (#9931 )
...
* standardise plot data output
* add data required for new anchors to renderer properties
* feed dvc-render updates into API output
* update --json --split api with new data types (send split anchor definitions as strings)
* accomodate zoom and pan anchor
* switch anchor_revs to revs_with_datapoints
* accomodate height and width anchors
* drop terrible idea of holding all data as strings
* fix plot having multiple x fields
* move inferred properties off vega converter class
2023-12-06 11:25:13 +11:00
Ruslan Kuprieiev
1aed230cd0
deps: bump dvc-oss to >=2.22.0
...
First release with unpinned fsspec version.
2023-12-05 18:48:36 +02:00
pre-commit-ci[bot]
c50b2e1e71
[pre-commit.ci] pre-commit autoupdate ( #10100 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-05 21:36:22 +05:45
dependabot[bot]
34bc410075
build(deps-dev): bump mypy from 1.7.0 to 1.7.1 ( #10108 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.7.0 to 1.7.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: mypy
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-12-05 21:23:17 +05:45
47ff40da0c
studio: Add Studio authentication to DVC ( #10074 )
...
* Add Studio authentication to DVC
Implemented a new feature to authenticate DVC with Iterative Studio. This includes generating an access token, starting device login, checking if user code is authorized, and handling any request exceptions. Furthermore, the commit creates a new authentication command for DVC. This feature was added to allow DVC users to authenticate with Studio, which is necessary for functionality such as sharing live experiments and notifying Studio about pushed experiments.
* Add authentication validation and error handling to DVC Studio
This commit introduces validation for scopes used in DVC Studio's authentication process. If an unsupported scope is passed, the user will receive an error message listing the invalid scopes and the program will return an error status. Additionally, this commit changes the program's exit behavior when device code authorization fails or authentication process is successful, replacing 'sys.exit' with appropriate returned values.
* Add logout functionality to DVC Studio commands
This commit introduces the logout command for DVC Studio. It allows users to manually log out from DVC Studio via the command line interface. The logout command only removes the user's token if it exists, otherwise, it will print an error message and return an error status. This adds an extra layer of control for the users and enhances the security for the usage of DVC Studio.
* Improve User Authentication process for DVC Studio
Implemented a new 'token' command facilitating users to check their authentication token while operating with DVC Studio. This implementation enhances user experience by providing the ability to validate logged-in status. If not logged in, it rightly prompts an error, ensuring secure access.
* Add unit tests for auth commands
Unit tests are added for the authentication commands used in DVC Studio. The modifications include tests for login with invalid scope, standard login, logout, and token commands. The tests verify successful execution and appropriate responses for different user authentication scenarios, thereby increasing the robustness and reliability of the auth module.
* Update unit tests for auth commands
Unit tests for DVC Studio authentication commands have been updated. These checks verify successful execution and appropriate responses under various authentication scenarios, including login with invalid scope, standard login, logout, and token commands in order to enhance the robustness and reliability of the auth module.
* Add unit tests and modify authentication function in studio utils
This commit adds several new unit tests in test_studio.py. Tests for start_device_login and check_token_authorization functionality are included to verify the correct behavior of these methods. Moreover, it also modifies the authentication function in studio.py for improving the robustness. Changes in the function aimed to handle unexpected error scenarios and make the code more resilient.
* Refactor mock_response usage in tests and add test_auth.py
This commit refactors the way mock responses are used in test_studio.py to follow DRY principles, changing the private _mock_response to a public reusable function. It also adds a new file, test_auth.py, that provides functional tests for authorisation methods, ensuring their functionality. The patches in test_auth.py helps test different cases like expired authorization and successful authorization. Furthermore, test_auth.py also tests if correct configuration is set on successful authorization. Modifications on the method test_auth_login_arguments in test_auth.py were made to refine test cases, thus making the tests more precise and straightforward.
* Refactor error handling in `dvc/utils/studio.py`
Refactored error handling by removing redundant code blocks and introducing more detailed logging for request exceptions. This makes the failure cases handled explicitly and streamlines the traceability. Also, tests for authorization have been refined and more specific cases like 'expired authorization' have been included.
* Replace `auth` module with `studio` in DVC
Renamed all instances of `auth` to `studio`, as we are moving the authentication process into a new module `studio`. This includes changes to command names, classes, and test file names to reflect the updated module. It improves the organization of the authentication features related to DVC Studio, separating them from other types of authorization.
* Remove device login methods in utils/studio
Removed methods related to device login and token authorization in `utils/studio.py` and its corresponding test cases. These functionalities have been moved to the `dvc-studio-client` module to decouple the login process and make the code maintainable. Updated the dependencies in `pyproject.toml` to use the new `dvc-studio-client` module. Also, updated the command/studio to use the `dvc-studio-client` module for auth functionalities.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update dvc-studio-client dependency in pyproject.toml
The "dvc-studio-client" dependency in pyproject.toml is updated from a specific git commit to v0.16.0, removing the TODO comment. This change was made because the necessary features from the PR linked in the TODO comment have been merged and released in v0.16.0, making the git commit unnecessary. Now the code is cleaner and easier to track with versioned dependency.
* Update DVC Studio components and simplify authentication process
This commit modifies several parts of the ‘dvc/commands/studio.py’ and updates DVC Studio Client's version in 'pyproject.toml' for compatibility with the changes.
Primarily, the authentication process has been simplified. The unnecessary generation of a random token name is removed while initiating authorization in the run method of CmdStudioLogin class, enhancing the code quality.
Changes made in 'dvc/commands/studio.py' are mainly restructuring the code to adapt to the newer version of DVC Studio Client, including changes to the scopes and methods used from this client.
The corresponding changes were also reflected in unit tests. The test files 'tests/func/test_studio.py' and 'tests/unit/command/test_studio.py' are updated in accordance with the approach now used in 'dvc/commands/studio.py'.
* Remove unnecessary tests and update StudioClient methods
Removed functional test file `test_studio.py`from DVC to move it to studio client. The new mock response no longer needs a full testing file, simplifying our test environment.
In `dvc/commands/studio.py`, adjusted function imports to align with new StudioClient function names, which better indicate their purpose: `initiate_authorization` changed to `get_access_token`.
Additionally, `DEFAULT_SCOPES` was removed from both `dvc/commands/studio.py` and `tests/unit/command/test_studio.py`, simplifying the token acquisition process and removing unnecessary global variable. The `--scopes` command, if needed, can be passed directly without requiring a default fallback.
The corresponding changes were reflected in unit tests : the mock functions in `tests/unit/command/test_studio.py` were changed to align with the new authentication method, and updated the usage of the `get_access_token` function.
* Update token success message in dvc/commands/studio.py
This commit replaces f-string (formatted string literal) with a regular string for the success message after token authentication. The change was necessary as the variable `token_name` is already being passed as a formatted string, thus no need for f-string in the success message sentence. This makes code cleaner and more consistent.
* Refactor tests in `test_studio.py` for better readability
* Updated terminology in `studio.py` and `test_studio.py`
Changes terminology from 'authorize' to 'authenticate' to better align with common practices and improve understanding. Also fixed the `get_access_token` function in 'test_studio.py' where 'AuthorizationExpired' was replaced with 'AuthenticationExpired' for better error handling.
* Change 'dvc' to 'DVC' in `studio.py`
Updates all instances of 'dvc' to 'DVC' in `studio.py` for enhanced consistency with the rest of the project. This change aims to standardize the usage of the term across all project files.
* Improve Studio commands information clarity
Updated descriptions in various commands on 'dvc/commands/studio.py' focused on improving clarity and context. Authentication message, command helper, and descriptions have been expanded to provide better understanding. Also, 'dvc' has been changed to 'DVC' in 'studio.py' for consistency with the rest of the project files.
* Not relevant anymore
* Change argument name in studio login
Renamed the argument from "--use-device-code" to "--no-open" in the login function under the Studio authentication. The option's name was changed to make it more intuitive and better align with its actual effect, avoiding potential user confusion. Corresponding changes have also been made in unit tests.
* Modify flag for Studio login function
Updated the argument name from "-d" to "-o" in `studio.py` for the Studio login function. The change makes the argument's intention clearer for users. This is significant in improving user interaction with the feature and mitigating potential user misinterpretation.
* Apply suggestions from code review
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2023-12-05 16:30:10 +05:45
Peter Rowlands
ee35ec10a2
cache migrate: include dvc.lock dependencies in --dvc-files
2023-12-05 15:42:26 +09:00
Ruslan Kuprieiev
e18fd34b2c
testing: bench: use --dataset instead of --size ( #10134 )
...
This is no longer just about size (e.g. we have mnist/openorca/used-cars),
so the --dataset makes more sense.
2023-12-04 14:43:37 +02:00