Dave Berenbaum
528eab0418
import: drop --file ( #9562 )
2023-06-09 10:03:32 +05:45
skshetry
ed664143b4
dvc.build: move logic out of __init__ to dvc.build ( #9563 )
2023-06-08 08:19:59 +05:45
Saugat Pachhai (सौगात)
21a2504bcb
dvc.utils.pkg: move PKG to top-level dvc
...
PKG has to be specified in dvc/_build.py now, and can be
imported using:
from dvc import PKG
This is done to avoid importing from dvc/utils pkg which can
be expensive.
Also it's not an utility, so it is better that it remains at
the top-level namespace.
Note that we may have to fix the path for a few packages that we build,
like conda/snap/chocolatey.
2023-06-08 00:31:00 +03:00
Ruslan Kuprieiev
d0291e8039
checkout: let index checkout error-out on missing hashes
...
This ensures we don't assume that everything needs to have hash_info to be
checked out (e.g. we can totally checkout directly from FileStorage).
Related https://github.com/iterative/dvc/pull/9424
2023-06-07 14:56:19 +03:00
skshetry
358c5e0c39
drop stage-level vars ( #9556 )
...
drop stage-level vars support
2023-06-07 11:10:08 +05:45
skshetry
9d7fba5c61
fix tests ( #9555 )
2023-06-07 10:28:54 +05:45
skshetry
a1e339b4fa
.dvc file: remove cmd support ( #9554 )
2023-06-07 09:30:13 +05:45
skshetry
6c58d438b3
tests: remove single_stage tests from repro/run tests ( #9553 )
2023-06-07 09:25:08 +05:45
skshetry
0c709b6ec1
.dvc file: remove metrics/plots support ( #9552 )
2023-06-06 20:42:09 +05:45
skshetry
0aeb7a8662
.dvc file: remove params support ( #9551 )
2023-06-06 20:05:36 +05:45
skshetry
46f3157f43
add: rename jobs to remote_jobs to mirror CLI; move validation to CLI ( #9550 )
...
- Follow up on https://github.com/iterative/dvc/pull/9522 , renames jobs kwarg to remote_jobs
to mirror CLI.
- Also moves validation logic to CLI.
2023-06-06 19:30:39 +05:45
skshetry
36fd69be21
add: remove file ( #9548 )
...
* add: remove `file`
Follow up to #9547 .
* Update add.py
* fix tests
2023-06-06 18:44:19 +05:45
skshetry
3759535d43
tests: remove single_stage stage runs ( #9549 )
2023-06-06 18:38:07 +05:45
dberenbaum
2c4365513e
add: deprecate --file
2023-06-06 14:57:07 +03:00
skshetry
26152292aa
remove support for reading and generating Dvcfile ( #9546 )
2023-06-06 15:29:10 +05:45
skshetry
3e0f2bafbb
add: small misc refactoring ( #9540 )
2023-06-05 18:41:17 +05:45
Ruslan Kuprieiev
78637713cf
checkout: use index checkout
...
Needed for https://github.com/iterative/dvc/pull/9424
2023-06-04 23:27:01 +03:00
Ruslan Kuprieiev
f9104275f3
deps: install tzdata for testing with celery ( #9537 )
...
Temporary fix for CI on windows with py >=3.9.
2023-06-04 22:18:23 +03:00
Ruslan Kuprieiev
bce3b5d2a1
update: make sure we update hashes/checksums on --to-remote ( #9536 )
...
Discovered in #9444
2023-06-04 19:36:54 +03:00
Dave Berenbaum
6ace5ed380
add: tweak stage overlap error message ( #9514 )
...
* add: tweak stage overlap error message
* add: instructions for how to fix overlap error
2023-06-02 00:46:55 +03:00
Ruslan Kuprieiev
6543580100
dvcfs: don't use datafs isout/isdvc
2023-05-31 23:14:28 +03:00
David de la Iglesia Castro
a1b891ce01
deps: bumps dvc-azure>=2.21.2
...
Closes #9506 via https://github.com/iterative/dvc-azure/pull/48
2023-05-31 14:22:27 +02:00
Dave Berenbaum
3a85326df3
add: rename jobs to remote-jobs ( #9522 )
2023-05-31 01:14:30 +03:00
skshetry
355ebc72eb
add: remove --recursive, rename fname to file ( #9513 )
...
add: remove --recursive
2023-05-26 12:07:13 +05:45
daavoo
5a6f834088
repro: Skip pulling run cache if no-run-cache was passed.
2023-05-25 16:35:30 +02:00
daavoo
e98bf38d4c
repro: Continue on RunCacheNotSupported
...
Closes #9470
2023-05-25 16:35:30 +02:00
skshetry
192c9cc577
remove original PR from backport PR title ( #9510 )
2023-05-25 16:37:25 +05:45
skshetry
0e38525d8d
cli: remove dvc run ( #9508 )
...
Note that `Repo.run()` API still exists, which will be removed in
successive PRs. A lot of tests depend on it that it'll take time
before removing it.
2023-05-25 16:27:14 +05:45
Dave Berenbaum
8acd943d52
exp list: show experiment shas ( #9501 )
...
* exp list: include sha; still needs remote support
* exp list: ignore rev for remotes
* exp list: update output format
* refactor
2023-05-25 15:05:12 +09:00
dependabot[bot]
79c88008f8
build(deps-dev): bump dvc-gs from 2.22.0 to 2.22.1
...
Bumps [dvc-gs](https://github.com/iterative/dvc-gs ) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/iterative/dvc-gs/releases )
- [Commits](https://github.com/iterative/dvc-gs/compare/2.22.0...2.22.1 )
---
updated-dependencies:
- dependency-name: dvc-gs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-24 13:53:00 +09:00
Peter Rowlands
9c9ca39fb4
exp: fix rebased imports
2023-05-23 15:50:58 +09:00
Peter Rowlands
89109fafcf
exp: always log running experiment name at the start of a run
2023-05-23 15:43:50 +09:00
Peter Rowlands
aa19e24670
exp: support switching to live workspace exp name
2023-05-23 15:43:50 +09:00
Peter Rowlands
629223cbc2
exp: drop deprecated get_running_exps()
...
- replaced with queue.collect_active()
2023-05-23 15:43:50 +09:00
Peter Rowlands
96449f157c
plots diff: use exp switch_repo context instead of brancher
2023-05-23 15:43:50 +09:00
Peter Rowlands
8cb2646023
exp: add contextmanager for switching to active tempdir repo
2023-05-23 15:43:50 +09:00
David de la Iglesia Castro
25313f5d82
exp: Drop checkpoints ( #9271 )
...
exp: Drop `checkpoints`.
Closes #9221
2023-05-23 11:32:18 +05:45
David de la Iglesia Castro
182728d674
exp run / repro: Drop --metrics. ( #9458 )
...
* exp run / repro: Drop `--metrics`.
* exp run: Rename `-M` to `-m`.
3.0.0a0
2023-05-22 19:13:22 +05:45
David de la Iglesia Castro
f245567613
exp: Drop gc. ( #9273 )
...
Closes #7991
2023-05-22 16:08:25 +05:45
skshetry
4163c8f57d
set destination branch to PR title on backport ( #9492 )
2023-05-22 16:03:36 +05:45
skshetry
6532258e4a
drop top-level plots definition as mapping support ( #9486 )
2023-05-22 15:08:22 +05:45
daavoo and Ivan Shcheklein
eb45cda5d0
get_random_exp_name: Use custom random generator.
...
See https://github.com/iterative/dvclive/pull/576
Co-authored-by: Ivan Shcheklein <[email protected] >
2023-05-22 10:46:41 +02:00
skshetry
abd4f4a2a8
drop Repo.stages ( #9489 )
...
Use repo.index.stages instead.
2023-05-22 12:51:40 +05:45
skshetry
f41e535857
remove dvc.main.main alias ( #9488 )
...
You can import it using:
```python
from dvc.cli import main
main(...)
```
2023-05-22 12:46:46 +05:45
skshetry
1989c0fe98
stage add: introduce --run option ( #9480 )
...
* stage add: introduce --run option
Part of #5846 .
* fix ui message
2023-05-22 12:27:20 +05:45
daavoo
3ddd4b87fc
exp: Fix --rev args for ls pull and remove.
...
Closes #9471
2023-05-21 13:25:40 +02:00
skshetry
e089ee0365
remove data ls and support for --meta/--desc/--label/--type cli flags ( #9481 )
2023-05-19 20:10:34 +05:45
David de la Iglesia Castro
02f7fcae73
exp show: Drop --pcp. ( #9270 )
...
Closes #9268
2023-05-19 15:36:33 +05:45
David de la Iglesia Castro
cdba65f27e
exp: Drop init. ( #9269 )
...
Drop `exp init`.
Closes #9267
2023-05-19 14:39:16 +05:45
skshetry
3959c51373
lockfile: drop 1.0 lockfile support ( #9476 )
2023-05-18 17:36:05 +05:45