karajan1001
fa54c1af7c
Solve run_all flaky tests
...
1. Modify run all to include currently running exps.
2. bump dvc-task to 0.1.5
2022-11-11 07:04:43 +05:45
karajan1001
9fbbfd07a6
Fix some celery queue realted ci failure
...
fix : #8403
1. remove some of the flaky mark
2. In `get_result` make sure the celery task is completed.
2022-11-11 07:04:43 +05:45
karajan1001
929de7c651
Solve the crash on getting name of applied experiment branch
...
fix : #8526
1. The current `get_names` will crash if an experiment branch had
already been given a new branch name to it.
1. Solve the crash when we getting the name of a newly fixed experiment
branch.
2. Add a new unit test to it.
2022-11-10 13:18:45 +08:00
blakeNaccarato
49af6e1435
plots: support svg
...
Add SVG to parser and parametrize an existing functionality test on SVG as well as JPG.
Fixes #6714 .
2022-11-09 19:23:49 +02:00
karajan1001
e0d41c7012
Make exp show handle errors better
...
fix : #8350
We shouldn't add locks to exp show to prevent race conditions
as this command is calling continuously by the extension.
So we make a better way to handle all kinds of reference failures.
1. Drop all based experiments if got a SCMError in baseline.
2. Drop all checkpoint experiments if any commit got a SCMError in
one of checkpoint commit.
3. Drop the entire experiments if got a SCMError.
4. Add tests for each of the conditions above.
2022-11-08 20:12:22 +08:00
Peter Rowlands
628b992442
index: fix granular dir output view filtering
2022-11-08 19:28:10 +09:00
Peter Rowlands
99e7f52bbd
index: support filtering by output in views
2022-11-08 19:28:10 +09:00
Saugat Pachhai (सौगात)
a48a19ce31
tests: ignore versions for subprojects
2022-11-07 12:45:32 +01:00
David de la Iglesia Castro
1de983f0de
Remove live section support.
2022-11-07 12:45:32 +01:00
David de la Iglesia Castro
78e25747a4
exp init: Update DVCLive paths.
...
Closes #8531
2022-11-07 12:45:32 +01:00
dberenbaum
240f0ebdc3
fix hydra_sweeps referenced before assignment
2022-11-04 15:59:26 +01:00
dberenbaum
ab69b88a21
plots: allow top-level strings
2022-11-04 09:54:45 +05:45
Saugat Pachhai (सौगात)
15f35e827e
fix windows
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
4d17c171f1
tests: use mocker
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
c27005a8b7
migrate test_{repro,run}*.py to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
ecd371f8ae
migrate test_move.py to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
bda1388bff
migrate test_gc.py to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
c02bd7f318
migrate some files to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
fe1d805c80
migrate test_cli.py to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
f9b0de883f
migrate test_checkout.py to pytest
2022-11-03 23:07:28 +05:45
Saugat Pachhai (सौगात)
1cad8ea7fd
migrate test_{add,analytics,init,unprotect,local,process}.py to pytest
2022-11-03 23:07:28 +05:45
skshetry
48ff332f4a
tests: remove old cleanup handler for Windows subprocess ( #8508 )
2022-11-01 13:57:50 +05:45
skshetry
f6849d2f06
chore: remove bin dir and simplify tests.__main__ ( #8507 )
2022-11-01 13:05:53 +05:45
skshetry
5e883bc00c
tests: remove TestDir ( #8502 )
...
remove TestDir
2022-11-01 11:28:09 +05:45
skshetry
6df70d388e
update pre-commit; add some more hooks ( #8492 )
...
* update pre-commit; add some more hooks
* Apply suggestions from code review
2022-10-31 21:04:11 +05:45
skshetry
4ca2158b9d
tests: retry celery queue on timeout ( #8488 )
...
retry celery queue on timeout
2022-10-31 19:38:05 +05:45
Ruslan Kuprieiev
5899440b46
deps: bump dvc-data to 0.25.1
2022-10-30 00:59:39 +03:00
karajan1001
9ef1d1d6e6
Move away tempdir related change from basequeue.
2022-10-29 08:53:02 +08:00
karajan1001
d5cc54ad35
dvc exp show auto solve corrupted rwlock info
...
fix : #8450
1. Add a new function check_rwlock to check and autocorrect rwlock info.
2. Add related tests for it.
2022-10-29 08:53:02 +08:00
karajan1001
47ece317a5
Refactor: move get_running_exps to queue
...
Move logic of `get_running_exps` from `repo.experiments` to each queue.
2022-10-29 08:53:02 +08:00
karajan1001
ed2ccaf54c
Use celery status as the exp show status
...
fix : #8349
`tasks status turned to queued for 1 second before turned into success.`
is because in previous the status is using the output of
`get_running_exps` in `repo.expereiments` and when entering the
collect result progress, the `get_running_exps` will mark the tasks to
be not running because the `info.result` is not None. Here we use the
output of the celery queue as the universal standard for the tasks
status.
1. Use celery status as the exp show status
2022-10-24 14:41:27 +08:00
karajan1001
d56376c70a
exp show: Use batch call on scm.describe
...
fix : #8451
1. Change the call of scm.describe from individual revision to a
collection of them. Accelerate the run speed of `exp show`
2. Bump scmrepo to 0.1.2
2022-10-20 17:22:25 +08:00
Peter Rowlands
3478a7e6a9
import-url: support cloud versioning
2022-10-19 17:12:16 +03:00
skshetry
bbaf57c5b2
_debug: minor refactor on debugtools ( #8454 )
...
* _debug: minor refactor on debugtools
* delete test
2022-10-19 18:01:20 +05:45
David de la Iglesia Castro
61f8478885
tests: Remove test_ssh
...
Moved to dvc-ssh repo in https://github.com/iterative/dvc-ssh/pull/13
2022-10-19 12:35:11 +03:00
Daniele Trifirò
e9244924d7
plots: allow definition of plots section as list
2022-10-17 12:06:31 +02:00
David de la Iglesia Castro
3bbf8fa7d2
config: ssh: Add passphrase and ask_passphrase options.
...
Bump `dvc-ssh`.
Fixes #8137
2022-10-14 12:11:31 +03:00
David de la Iglesia Castro
c12deaa62c
exp show: Preserve full branch and tag names.
...
Closes #7933
2022-10-11 19:55:36 +09:00
Ruslan Kuprieiev
6711b653a5
tests: add tests for dvcignore.walk
2022-10-10 21:43:44 +03:00
Ruslan Kuprieiev
faef8eec2c
tests: ignore: use dvcignore.find directly
2022-10-10 21:43:44 +03:00
Ronan Lamy
d5f5e14183
make get-url testable with the dvc plugins
2022-10-07 19:03:57 +03:00
Ronan Lamy
10f60bed58
make get-url consistent with ls-url
...
Also, move parse_external_url() to dvc.fs as it's now used both by
ls_url() and get_url().
2022-10-07 19:03:57 +03:00
karajan1001
884182f6f2
Add "status" to replace "running" and "queued" in output of exp show
...
fix : #7986
1. Add two new flags `--hide-queued` and `--hide-failed` to `exp show`
2. Allow `exp show` to show failed experiments.
3. Add unit test for the failed experiments shown.
4. Add name support for failed exp
5. Add error msg to the `exp show` output
2022-10-06 17:20:03 +08:00
David de la Iglesia Castro
cf651c52a1
hydra: Fix append and remove sweeps.
...
Closes #8376
2022-10-04 19:05:12 +02:00
Ronan Lamy
a6cdb9efd2
ls-url: remove redundant tests
2022-10-04 14:37:29 +03:00
Ronan Lamy
bd88000e2f
ls-url: add ls-url tests for dvc plugins
2022-10-04 14:37:29 +03:00
Ronan Lamy
8a1c757497
fix test on Windows
2022-10-04 14:37:29 +03:00
Ronan Lamy
22655fa46d
ls-url: update command test for --recursive
2022-10-04 14:37:29 +03:00
Ronan Lamy
0d025e5943
ls-url: add --recursive option
2022-10-04 14:37:29 +03:00
Ronan Lamy
b01c4f8b05
ls-url: call get_cloud_fs() directly
...
Note: removes a spurious check on whether the target is a dvc file.
2022-10-04 14:37:29 +03:00