Dave Berenbaum
7f6890ff25
Live metrics config ( #9433 )
...
* exp: live metrics config token and offline
* refactor live metrics config
* use get_studio_config
* revert to using env vars for studio config
* update dvc-studio-client to support live metrics config changes
* upgrade dvc-studio-client
* don't change environ when posting live metrics events
2023-05-17 09:21:01 +00:00
dependabot[bot] and skshetry
83ffb8803e
build(deps-dev): bump pylint from 2.17.2 to 2.17.4 ( #9418 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.17.2 to 2.17.4.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.17.2...v2.17.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>
Co-authored-by: skshetry <[email protected] >
2023-05-17 09:22:30 +05:45
dependabot[bot]
ace8464acb
build(deps-dev): bump mypy from 1.2.0 to 1.3.0 ( #9439 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.2.0 to 1.3.0.
- [Commits](https://github.com/python/mypy/compare/v1.2.0...v1.3.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-05-17 09:21:45 +05:45
Ruslan Kuprieiev
e69deaa132
import: don't forget to set other cache config options ( #9423 )
2023-05-16 15:53:41 +03:00
skshetry
d08c85f7d1
fix checkout callback during add/commit ( #9445 )
...
* fix checkout callback
Fix https://github.com/iterative/dvc/issues/6226 .
* bump minversion of dvc-data to 0.49.1
2023-05-12 18:14:13 +05:45
skshetry
2342099bd8
add: support virtual operation ( #9389 )
2023-05-11 08:31:25 +05:45
David de la Iglesia Castro
981baa8c30
studio: Send message on start event.
...
- Bump `dvc-studio-client>=0.9.0,<1`
Part of #8870
2023-05-08 20:08:47 +02:00
Ruslan Kuprieiev
a251cffdb5
deps: unpin ruamel.yaml
2023-05-05 04:16:58 +03:00
Ruslan Kuprieiev
9b7240e9e0
deps: temporarily pin ruamel.yaml
...
Temporary workaround for https://github.com/iterative/dvc/issues/9397
2023-05-04 03:22:48 +03:00
Peter Rowlands
6c79f6bbfc
testing: register pytest plugin
2023-05-03 14:58:54 +09:00
Peter Rowlands
58cd1cbc09
testing.benchmarks: separate fixtures and config
2023-05-03 14:58:54 +09:00
Peter Rowlands
96e3b48afd
testing: import dvc-bench benchmarks
2023-05-03 14:58:54 +09:00
Peter Rowlands
dae2faf36d
dvc-task: bump to 0.2.1
2023-04-27 20:39:26 +09:00
David de la Iglesia Castro
baeec8ec2d
Update pyproject.toml
2023-04-26 10:38:08 +02:00
dependabot[bot]
9c689a3b51
build(deps-dev): update dvc-render requirement
...
Updates the requirements on [dvc-render](https://github.com/iterative/dvc-render ) to permit the latest version.
- [Release notes](https://github.com/iterative/dvc-render/releases )
- [Commits](https://github.com/iterative/dvc-render/compare/0.3.1...0.4.0 )
---
updated-dependencies:
- dependency-name: dvc-render
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-04-26 10:38:08 +02:00
skshetry
e1bf418e72
tests: lazy tpi imports, ignore deprecation warning from setuptools ( #9362 )
2023-04-24 21:34:07 +05:45
David de la Iglesia Castro
b6d8c07d4d
studio: Ensure studio_repo_url works with exp run --queue.
...
Closes #9349
2023-04-21 21:04:48 +02:00
dependabot[bot]
787c72ea18
build(deps-dev): bump dvc-gdrive from 2.19.1 to 2.19.2
...
Bumps [dvc-gdrive](https://github.com/iterative/dvc-gdrive ) from 2.19.1 to 2.19.2.
- [Release notes](https://github.com/iterative/dvc-gdrive/releases )
- [Commits](https://github.com/iterative/dvc-gdrive/compare/2.19.1...2.19.2 )
---
updated-dependencies:
- dependency-name: dvc-gdrive
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-04-20 17:01:04 +09:00
dependabot[bot]
a2b7a59322
build(deps-dev): bump dvc-s3 from 2.21 to 2.22.0
...
Bumps [dvc-s3](https://github.com/iterative/dvc-s3 ) from 2.21 to 2.22.0.
- [Release notes](https://github.com/iterative/dvc-s3/releases )
- [Commits](https://github.com/iterative/dvc-s3/compare/2.21.0...2.22.0 )
---
updated-dependencies:
- dependency-name: dvc-s3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-04-20 17:00:21 +09:00
Ruslan Kuprieiev
ce0f6c187e
deps: put lower bound on dvc-http
...
People are still running into `ImportError: cannot import name 'fsspec_loop' from 'fsspec.asyn' ` because of it.
2023-04-12 22:26:31 +03:00
Peter Rowlands
61d0893d7c
deps: bump scmrepo to 1.0.0
2023-04-10 13:17:47 +03:00
dependabot[bot]
eef5fb9b37
build(deps-dev): bump mypy from 1.1.1 to 1.2.0 ( #9313 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/python/mypy/releases )
- [Commits](https://github.com/python/mypy/compare/v1.1.1...v1.2.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-04-07 10:39:06 +05:45
Peter Rowlands
f03d555747
deps: bump dvc-ssh to 2.22.1
2023-04-06 19:28:30 +09:00
Peter Rowlands
df09e522ec
deps: bump scmrepo minver to 0.2.1
2023-04-05 16:50:03 +09:00
dependabot[bot]
ed6cf093a8
build(deps-dev): bump pylint from 2.17.1 to 2.17.2 ( #9299 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.17.1...v2.17.2 )
---
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-04-04 10:11:47 +05:45
skshetry
7c3c47b4a2
bump ruff to 0.0.260 and enable bandit ( #9300 )
...
* bump ruff to 0.0.260 and enable bandit
* install toml extra for bandit
* suppress insecure use of hash md5
2023-04-04 10:01:43 +05:45
Ruslan Kuprieiev
ecdc44e010
dep: repo: use dvcfs
...
Makes dvc get/import/etc use dvcfs, which already supports cloud versioning,
circular imports and other stuff.
Also makes dvc import behave more like dvc import-url, so that we can use
the same existing logic for fetching those using index instead of objects.
Fixes #8789
Related iterative/studio#4782
2023-04-02 03:55:02 +03:00
David de la Iglesia Castro
894f530d22
deps: bump dvc-studio-client>=0.6.1,<1
2023-03-30 11:23:07 +02:00
Ruslan Kuprieiev
d41512c85c
deps: bump dvc-data to 0.46.0 ( #9241 )
...
* utils: determine_linecol: ignore mypy attr-defined error
* deps: bump dvc-data to 0.46.0
2023-03-26 22:06:23 +03:00
Peter Rowlands
1f80f2f2ed
deps: bump scmrepo to 0.1.17
2023-03-24 19:31:27 +09:00
Ruslan Kuprieiev
40484e8d57
dvcfs: handle broken symlink/TreeError ( #9231 )
...
* plots: handle broken symlink/TreeError
* dvcfs: ls: raise FileNotFoundError on broken symlink/TreeError
* deps: bump dvc-data to 0.45.1
2023-03-23 15:38:21 +02:00
dependabot[bot]
5c442cb867
build(deps-dev): bump pylint from 2.17.0 to 2.17.1 ( #9229 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.17.0...v2.17.1 )
---
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-23 09:24:52 +01:00
skshetry
c52b12ac2a
dvcfs: support caching remote streams; use that in plots ( #9183 )
...
* dvcfs: support caching remote streams; use that in plots
* plots: show progress bar, cap max_workers to 16
* bump dvc-data to 0.44.1
2023-03-17 16:04:16 +05:45
David de la Iglesia Castro
2d820cccad
deps: bump dvc-render>=0.3.1<0.4.0.
...
For https://github.com/iterative/dvc-render/pull/124
2023-03-16 21:36:02 +01:00
Ruslan Kuprieiev
c8745dd580
deps: bump dvc-data to 0.44.0
2023-03-15 03:41:19 +02:00
Dave Berenbaum
12955da3c3
exp: fail fast in empty git repo ( #8840 )
2023-03-14 17:16:17 +00:00
Ruslan Kuprieiev
54a6709d99
Update pyproject.toml
2023-03-13 21:03:33 +02:00
Ruslan Kuprieiev
e4a5a2aec5
deps: bump dvc-data to >=0.43.0
2023-03-13 21:03:33 +02:00
Ruslan Kuprieiev
612f3039e0
repo: move state/index/data_index to site_cache_dir
...
We use all of these for optimization and should not depend on a potentially slow or broken
filesystem on which repository resides (could be HDD or CIFS/NFS/overlayfs/etc).
This PR means a few things:
* all odd filesystems that dvc repo might be on will work quickly out of the box
* when we start caching cloned repositories for `dvc get/import`, we will be
able to cache indexes for them as well (note that bare clones don't have a
worktree so there is no place for .dvc/tmp with the old approach).
* `index.dir` and `state.dir` are now obsolete.
* `dvc init` will cleanup site_cache_dir.
Related #5562
2023-03-13 02:58:23 +02:00
Ruslan Kuprieiev
17f523bf86
deps: bump dvc-data to >=0.42.3
2023-03-11 02:01:31 +02:00
Ruslan Kuprieiev
8ed9b911db
deps: bump dvc-data to >= 0.42.2
2023-03-10 22:40:59 +02:00
dependabot[bot]
1cfdc22549
build(deps-dev): bump pylint from 2.16.4 to 2.17.0 ( #9141 )
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.4 to 2.17.0.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.4...v2.17.0 )
---
updated-dependencies:
- dependency-name: pylint
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-09 16:23:47 +05:45
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
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
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
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