Peter Rowlands
8589aa4001
tests: mark test_queue_remove_done xfail
2023-03-09 16:25:09 +09:00
Peter Rowlands
8cbc4c43f1
tests: use session-scoped exp celery fixtures when possible
2023-03-09 16:25:09 +09:00
Peter Rowlands
417c327143
exp: add session-scoped celery test fixtures
2023-03-09 16:25:09 +09:00
Peter Rowlands
204eebaf15
tests: use brancher.switch
2023-03-09 15:02:26 +09:00
Peter Rowlands
3a6fd75d98
repo: use brancher.switch
2023-03-09 15:02:26 +09:00
Peter Rowlands
351b952d5f
brancher: add brancher.switch helper
2023-03-09 15:02:26 +09:00
dberenbaum
fe7db32311
studio: handle revision errors when posting
2023-03-08 22:19:32 +01:00
Ivan Shcheklein
0bd34c8977
fix(push): allow no default remote
2023-03-08 21:26:47 +02:00
skshetry
48a63ca588
try to improve test speed ( #9136 )
...
* tests: fix logic to gc.collect() on Windows + 3.11
* dvc.cli: cache get_main_parser()
* tests: isolate environment on a session-level
* bring back gc.collect()
2023-03-08 22:11:42 +05:45
Gao
4459d6ac57
Add back an dvc ignore test
...
Original from
https://github.com/iterative/dvc/pull/8767#discussion_r1070778749
2023-03-08 12:03:07 +02:00
skshetry
08a50ee36e
tests: error on ResourceWarning ( #9123 )
...
* tests: error on ResourceWarning
* run-cache: avoid leaking temp files on Windows
* set returncode to popen to avoid ResourceWarning on gc.collect()
2023-03-08 15:36:10 +05:45
David de la Iglesia Castro
f1ea64c4ef
studio: Send metrics on done event. ( #9027 )
2023-03-07 19:47:22 +01:00
dependabot[bot]
7ede45af2d
build(deps-dev): bump mypy from 1.0.1 to 1.1.1 ( #9126 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v1.0.1...v1.1.1 )
---
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-03-07 23:13:54 +05:45
skshetry
51db1765ee
migrate from appdirs to platformdirs ( #9131 )
...
appdirs has been deprecated/unmaintained, platformdirs is now recommended.
Closes #9130 .
2023-03-07 23:13:28 +05:45
Peter Rowlands
9101fce761
proc: remove dvc.proc
2023-03-07 18:17:01 +09:00
Peter Rowlands
3f842a205f
exp show: fix cached running checkpoint state bug
2023-03-07 16:55:23 +09:00
dependabot[bot]
77e900fed2
build(deps-dev): bump pylint from 2.16.3 to 2.16.4 ( #9127 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.3 to 2.16.4.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.3...v2.16.4 )
---
updated-dependencies:
- dependency-name: pylint
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-03-07 10:17:04 +05:45
David de la Iglesia Castro
dde456c923
plots: Fix match_defs_renderers when plots are defined in nt format.
...
`plots.show` returned `definitions` in native `nt` format but sources in `posixpath` format so the matching was failing.
Closes #8689
- Add `test_show_plots_defined_with_native_os_path`.
2.46.0
2023-03-06 19:16:29 +01:00
David de la Iglesia Castro
cb9d3529af
plots: Remove --from-config
2023-03-06 19:16:29 +01:00
David de la Iglesia Castro
876c10fcf5
plots: Remove unnecessary OrderedDict usage in load_sv.
2023-03-06 19:16:29 +01:00
skshetry
93eea0cd42
deps: bump scmrepo to 0.1.15; close subrepo.dvc on tests teardown ( #9122 )
2023-03-06 20:21:42 +05:45
skshetry
25fd274090
increase timeout for tests to 40 minutes
2023-03-06 20:04:26 +05:45
skshetry
ddfa607437
tests: don't leak files/descriptors when tests finish ( #9119 )
...
close open files/descriptors when tests finish
2023-03-06 18:06:37 +05:45
skshetry
c5a3566e49
deps (tests): require pytest-xdist>=3.2, use -n=logical workers and workstealing scheduler ( #9116 )
2023-03-06 15:54:45 +05:45
skshetry
e7d4f5b24e
tests: filter warnings ( #9115 )
2023-03-06 15:41:45 +05:45
Peter Rowlands
1d2892efac
exp show: don't cache collection errors
2023-03-06 15:25:27 +09:00
dependabot[bot]
83835afa69
build(deps-dev): bump pylint from 2.16.2 to 2.16.3 ( #9113 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.2 to 2.16.3.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.2...v2.16.3 )
---
updated-dependencies:
- dependency-name: pylint
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-03-06 10:33:02 +05:45
skshetry
4c5d052d8c
update ruff to v0.0.254 ( #9110 )
2023-03-04 17:26:59 +05:45
David de la Iglesia Castro
e4d514c990
scm: Remove unused GitMergeError.
...
Not used after https://github.com/iterative/dvc/pull/9096
2023-03-03 18:09:57 +01:00
David de la Iglesia Castro
baeecd1972
deps: Bump scmrepo>=0.1.14
2023-03-03 15:42:41 +01:00
David de la Iglesia Castro
dbd098506c
deps: Drop dvclive.
...
See https://github.com/iterative/dvclive/pull/481
2023-03-03 14:45:48 +01:00
Ruslan Kuprieiev
4779c248f8
deps: bump dvc-data to >=0.42.1
2023-03-02 17:53:07 +02:00
Peter Rowlands
2cf3a12e46
tests: unmark exp celery tests as xfail
2023-03-02 15:44:34 +09:00
Peter Rowlands
78fb5275e5
exp: add dvc exp clean command
2023-03-02 12:35:54 +09:00
Peter Rowlands
ccbe2de89e
exp: auto cleanup celery on queue worker exit
2023-03-02 12:35:54 +09:00
Peter Rowlands
54e39e4abd
deps: bump dvc-task to >=0.2.0
2023-03-02 12:35:54 +09:00
Ruslan Kuprieiev
59a4c4f67c
remote: set hash_name as md5
...
Fixes #7977
2023-03-01 13:26:24 +02:00
Peter Rowlands
1a7ae16f69
exp: use stash-apply instead of merge
2023-03-01 19:11:12 +09:00
Peter Rowlands
286f4fda3e
repo: call Repo.close() on Repo.__exit__()
2023-03-01 17:49:27 +09:00
Peter Rowlands
d2c63bffcb
exp: ensure repo instance is closed after executor.reproduce
2023-03-01 17:49:27 +09:00
Peter Rowlands
2b41305c51
exp: fix queued run file descriptor leak
2023-03-01 17:49:27 +09:00
Ruslan Kuprieiev
546becddaf
deps: bump dvc-gs to 2.22.0
2023-03-01 08:36:33 +02:00
David de la Iglesia Castro
c6015a05a3
exp save: Don't relink during commit
...
Same change as in https://github.com/iterative/dvc/pull/9076 but for `exp save`
2023-02-28 22:29:57 +02:00
Ruslan Kuprieiev
c0754ee5b3
deps: bump dvc-data to 0.42.0
2023-02-28 14:48:34 +02:00
skshetry
4db2e89938
build: use macos-11 to build package ( #9091 )
...
macos-10.15 image has been deprecated for a while, see https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/ and https://github.com/actions/runner-images/issues/5583 .
setup-ruby removed the support for these images yesterday: https://github.com/ruby/setup-ruby/pull/467 .
which fails our package builds. Now using macos-11 to build packages.
2023-02-28 17:33:05 +05:45
skshetry
4a6f3ed64a
dvc.testing: fix lockfile in docker_services fixture ( #9088 )
...
dvc.testing.docker_services: rollback to previous state
where we were not tearing down the containers
2023-02-28 16:54:33 +05:45
David de la Iglesia Castro
9f0c4350bd
deps: Bump scmrepo>=0.1.13.
...
Closes #9080
2023-02-28 17:46:09 +09:00
Ruslan Kuprieiev
a91528c3c9
Revert "testing: fixtures: fix docker regression"
...
This reverts commit b80d84e689 .
2023-02-27 15:02:22 +02:00
Ruslan Kuprieiev
b80d84e689
testing: fixtures: fix docker regression
2023-02-27 14:17:07 +02:00
skshetry
2a2c02c184
remove typing.cast ( #9082 )
2023-02-26 13:15:54 +05:45