Peter Rowlands
4ab7ef06e5
exp: pass -v loglevel into dvc-task workers
2023-04-27 20:39:26 +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
58f10a4661
gc: Add ui hint for not_in_remote.
2023-04-27 10:30:39 +02:00
David de la Iglesia Castro
64e787fa02
gc: Handle remote field in --cloud and --not-in-remote.
2023-04-27 10:30:39 +02:00
David de la Iglesia Castro
c7e2ec9707
gc: Add --not-in-remote arg.
...
Closes #2036
2023-04-27 10:30:39 +02:00
skshetry
a4cc198ac7
exp push: soft wrap link so that the URL does not break ( #9368 )
...
soft wrap link so that URL does not break
2023-04-27 06:50:33 +05:45
Oded Messer
d203bf9024
Fix: Prettifying unexpected error on FileExists for get/get-url/imp-url/add and introducing --force ( #9365 )
2023-04-27 00:41:09 +00: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
Peter Rowlands
b814531c84
exp: use mocked queue in test_apply_failed
2023-04-21 16:17:01 +09:00
Peter Rowlands
3b3cd0a0b2
exp: drop test_queue_remove_done func test in favor of mocked unit test
2023-04-21 16:17:01 +09:00
skshetry
b2101a85ad
reproduce: remove callback ( #9354 )
...
Callback was added for working around scm_context, since we don't use it, we don't need callback now.
2023-04-21 13:01:00 +05:45
dberenbaum
ba760c56e5
exp: show active experiments first
2023-04-21 12:51:34 +09: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] >
2.55.0
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
Peter Rowlands
ec090c5680
exp: use new collection in show/cli commands
...
- Updates 'dvc exp show --json' to use new data format
2023-04-20 16:58:32 +09:00
Peter Rowlands
58f74ae543
exp: standardize exp data collection
2023-04-20 16:58:32 +09:00
Peter Rowlands
2e8bcbf719
exp: add structured datatypes for collection
2023-04-20 16:58:32 +09:00
skshetry
10f523430b
exp run: do not autostage on dvc repro ( #9344 )
2023-04-19 16:11:13 +05:45
skshetry
5563a595d5
utils.studio: allow any base url to be set, not just the hostname ( #9341 )
...
This keeps it in symmetry with
https://github.com/iterative/dvc-studio-client/pull/28 , and allows
setting the base url with path, not just limited to netloc.
This was always intended to work, urljoin with the added slash was
causing this bug.
2023-04-18 22:22:26 +05:45
skshetry
dd3deb6cbd
add DVC_STUDIO_URL envvar support ( #9340 )
...
add DVC_STUDIO_URL envvar
2023-04-18 09:56:17 +05:45
skshetry
7841020b2b
[DO NOT MERGE] release: remove feature flags for experiment sharing ( #9257 )
...
release: remove feature flags for experiment sharing
2023-04-17 12:53:27 +05:45
dberenbaum
1c394986db
fix tests
2023-04-15 23:46:47 +03:00
dberenbaum
870935ebdc
import-url: make version-aware and to-remote exclusive
2023-04-15 23:46:47 +03:00
Saugat Pachhai (सौगात)
1be82fa56d
tests: remove unnecessary variable interpolation
...
dvc.run does not expand variables. It is only done when it's actually read from dvc.yaml file.
So during dvc run, the shell will try to expand the variable, which does not exist.
I don't think that the intention was to use shell variables. But I don't think we should ever
use them, as they will fail on some shells (eg: fish) and keep the scripts as simple as possible.
2023-04-14 13:01:53 +02: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.
2.54.0
2023-04-12 22:26:31 +03:00
pre-commit-ci[bot]
559ec392f6
[pre-commit.ci] pre-commit autoupdate ( #9319 )
...
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.260 → v0.0.261](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.260...v0.0.261 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-11 14:58:43 +03:00
Peter Rowlands
c71a4082e6
testing: expose force=... in scm_add
2023-04-10 13:17:47 +03:00
Peter Rowlands
ce269ffa58
exp: use explicit scm.add(force=True) when necessary
...
- add test for dir dep containing gitignored files
2023-04-10 13:17:47 +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
skshetry
a91993616f
logger: add DVC_SHOW_TRACEBACK envvar to show traceback on exception ( #9310 )
...
This will come useful in debugging, where you don't have to add --verbose just to
see where it failed or go through verbose logs (which might be useful when working
with UI issues as you want to see what the user sees).
Ideally this should be handled in main when we exit with error instead of using
logger.{warning,error,exception} to log exception as the intention is to only log
last exception that makes it exit. But since we don't have that capability and
we don't abuse logging.{warning,error,exception} to log and suppress exceptions, this is a good
enough solution for now without complicating `dvc.cli.main()`.
2.53.0
2023-04-06 09:56:19 +05:45
skshetry
3c570a2177
exp push: improve ui ( #9308 )
...
* exp push: improve ui
* fix misc suggestions
- show url even when the refs are up-to-date.
- show url at the end
- add Git remote information in up-to-date UI message.
* fix diverged exps message
2023-04-06 09:54:39 +05:45
David de la Iglesia Castro
3312a90949
exp run: Add --copy-paths arg.
...
List of paths to copy inside the temp directory. Only used if `--temp` or `--queue` is specified.
Closes #5800
2023-04-05 23:17:07 +02:00
Alexander Guschin
32bebc0246
Add top-level artifacts: section ( #9220 )
...
* add artifacts section
* adding and removing artifacts
* delete code for add/remove; add tests
* fix pre-commit
* remove extra piece of writing to dvc.yaml
* remove extra piece
* simplify kwargs
* allow same names for artifacts in different dvc.yaml files
* set ID as path; don't return dvc.yaml(s) with no artifacts
* fix PR feedback
* issue warning at incorrect artifact name
* issue warning at incorrect artifact name
* reference right schema
* add r to regexp
* add tests for regexp
* set artifacts for SingleStageFile
* fix windows test
* make path required; simplify regexp and remove slash from it
* allow to use gto's artifacts.yaml
* remove extra piece of code for migration from gto
2023-04-05 13:31:35 +00:00
David de la Iglesia Castro
35648134f7
exp run: git add param files that will be modified.
...
Only if they are currently untracked and `--temp` or `--queue` is passed.
Closes #7842
2023-04-05 10:28:18 +02:00
Peter Rowlands
df09e522ec
deps: bump scmrepo minver to 0.2.1
2023-04-05 16:50:03 +09:00
Ruslan Kuprieiev
40f7f34889
api: data: set default remote instead of using it directly
...
Fixes #9139
Fixes #7341 (see https://github.com/iterative/dvc/pull/7363#issuecomment-1032959843 )
2023-04-05 02:47:35 +03:00
skshetry
cf52efb8c3
notify_refs; rename studio_url to base_url ( #9303 )
2023-04-04 17:43:05 +05:45
skshetry
8be71be540
utils.studio: disallow redirects, misc API refactoring ( #9301 )
2023-04-04 13:15:08 +05:45
pre-commit-ci[bot] and skshetry
071a5b7ba4
[pre-commit.ci] pre-commit autoupdate ( #9251 )
...
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0 )
- [github.com/charliermarsh/ruff-pre-commit: v0.0.257 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.257...v0.0.260 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2023-04-04 10:12:52 +05:45
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
David de la Iglesia Castro
3a2259821b
exp save: Include LOCK_FILE
2023-04-03 10:33:52 +02:00
Ruslan Kuprieiev
649ee67e4b
config: introduce core.site_cache_dir
2023-04-03 00:29:44 +03:00
Ruslan Kuprieiev
7cdb3b0ae2
repo: site_cache_dir: isolate by user
...
Related #9249
2023-04-03 00:29:44 +03:00
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