skshetry
549821e6be
deps: bump dvc-s3 to >=3.2.1 ( #10771 )
...
Fixes https://github.com/iterative/dvc/issues/10767 .
Related:
- https://github.com/iterative/dvc-s3/pull/129
- https://github.com/iterative/dvc/discussions/10768
2025-06-09 08:00:44 +05:45
skshetry
bf26126e37
release(test-pypi): set dynamic url ( #10766 )
2025-06-06 22:51:08 +05:45
skshetry
8f1c4424d3
release(env): set dynamic url ( #10765 )
2025-06-06 22:48:20 +05:45
skshetry
5fb8986dbd
bench: check for dvc_bin.version instead of dvc_rev ( #10764 )
...
* bench: check for dvc_bin.version instead of dvc_rev
* Update dvc/testing/benchmarks/cli/stories/use_cases/test_sharing.py
* Update dvc/testing/benchmarks/cli/stories/use_cases/test_sharing.py
3.60.0
2025-06-05 11:41:04 +05:45
skshetry
18177a6579
tests(bench): also check if dvc_rev is set ( #10763 )
2025-06-05 09:26:27 +05:45
skshetry
ea02a18b23
tests(bench): remove allow_anonymous_login config use from dvc<3.59.3 ( #10762 )
2025-06-05 09:21:44 +05:45
skshetry
e04f1499a3
fix(dvcfs): rename argument url to repo ( #10754 )
...
See #10700 for the motivation.
2025-06-05 08:30:22 +05:45
skshetry
488c30d1ea
tests(bench): adapt for pytest>=8.4 ( #10761 )
2025-06-04 10:13:28 +05:45
Clouds
88c3103cf3
fix: treated S3 configpath as a relpath ( #10758 )
...
Update config.py
2025-06-03 19:31:03 +05:45
pre-commit-ci[bot]
c37bef7add
[pre-commit.ci] pre-commit autoupdate ( #10755 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.11.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.11.12 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-03 11:59:26 +05:45
skshetry
7ea1daa2b8
deps: bump minver version for dvc-gs to 3.0.2 ( #10757 )
...
To support allow_anonymous_login that was added in dvc-gs 3.0.2.
Related:
- https://github.com/iterative/dvc-gs/pull/115
- https://github.com/iterative/dvc/pull/10756
- https://github.com/iterative/dvc/issues/5797
2025-06-03 10:55:35 +05:45
skshetry
fd181c78d2
fs(gs): allow configuring anonymous login ( #10756 )
2025-06-03 10:41:08 +05:45
pre-commit-ci[bot]
1de7f89af8
[pre-commit.ci] pre-commit autoupdate ( #10751 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.10 → v0.11.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.10...v0.11.11 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-27 07:10:08 +05:45
pre-commit-ci[bot] and skshetry
b7e13dbd07
[pre-commit.ci] pre-commit autoupdate ( #10748 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.9 → v0.11.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.9...v0.11.10 )
* Update .pre-commit-config.yaml
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2025-05-20 11:04:00 +05:45
pre-commit-ci[bot]
dc513a98e4
[pre-commit.ci] pre-commit autoupdate ( #10745 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.8...v0.11.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-14 07:15:39 +05:45
skshetry
9908ca7f8e
drop inputs passed to codecov-action ( #10740 )
...
It can already search and find these coverage files.
2025-05-07 14:34:27 +05:45
skshetry
0eebeb9900
tests: fix flaky test in test_get_used_objs ( #10739 )
...
Clear logs before assertions so that logs from other tests do not interfere with the test.
Some destructors may also run in between due to GC, so hopefully this will fix that issue too,
or reduce the chances of it happening.
See
https://github.com/iterative/dvc/actions/runs/14873217814/job/41775314725#step:6:97 .
```console
> assert first(caplog.messages) == expected_message
E assert 'RC: discarding all clients' == "Output 'path... 'stage.dvc'."
E
E + RC: discarding all clients
E - Output 'path'(stage: 'stage.dvc') is missing version info. Cache for it will not be collected. Use `dvc repro` to get your pipeline up to date.
E - You can also use `dvc commit stage.dvc` to associate existing 'path' with stage: 'stage.dvc'.
```
2025-05-07 12:40:51 +05:45
skshetry
415d4bc980
repo: try to support opening uninitialized/broken repositories ( #10736 )
...
This `_get_remote_config()` should use `uninitialized=True` so that it supports
more broader kinds of broken/partially-initialized repositories, including some that have
`.dvc` directory missing, or `.git` directory missing.
This partially reverts #10719 . #10608 is also fixed, and no longer requires `core.no_scm` to be passed.
This was already supported by `dvc.api.get_url` as it uses `uninitialized=True`, but this was not respected
in `_get_remote_config()` where it would fail before.
That said, this whole `open_repo`/`_get_remote_config` is terribly broken. For one, it is opening
a local repository, and forcing it's remote config to a repository opened with `Repo(rev=...)`,
where the config may be different.
3.59.2
2025-05-06 08:39:23 +00:00
pre-commit-ci[bot]
f3be7d761f
[pre-commit.ci] pre-commit autoupdate ( #10735 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.7 → v0.11.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.7...v0.11.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-06 07:05:11 +05:45
Rodrigo Goya and skshetry
4bde0e754e
Forward args to _get_remote_config() and honour core/no_scm if present ( #10719 )
...
* Forward args to _get_remote_config and honour core/no_scm if present
* Pass full config, except cache, to Repo()
* Avoid modifying original kwargs contents
* Simplify if config
* Add test
* Relax error matching.. .. Avoid windows vs unix paths
* Update dvc/repo/open_repo.py
---------
Co-authored-by: skshetry <[email protected] >
2025-04-30 12:20:09 +05:45
skshetry
88f1ada4bf
tests: func test for #4344 ( #10732 )
...
See https://github.com/iterative/dvc-data/pull/601 that fixed the issue.
The test is based on reproduction steps from:
https://github.com/iterative/dvc/issues/4344#issuecomment-2822000925
2025-04-29 13:25:28 +05:45
pre-commit-ci[bot]
bd65c205df
[pre-commit.ci] pre-commit autoupdate ( #10731 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.11.4 → v0.11.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.4...v0.11.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-29 04:52:42 +05:45
skshetry
e6ce5f825d
Revert "pre-commit: set autoupdate schedule to monthly" ( #10730 )
...
Revert "pre-commit: set autoupdate schedule to monthly (#10685 )"
This reverts commit 25d2638a57 .
2025-04-28 18:23:08 +05:45
dependabot[bot]
d30d66c1d3
build(deps): bump astral-sh/setup-uv from 5 to 6 ( #10729 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 5 to 6.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 14:55:14 +05:45
Fabian Zills
19f31d7cac
Bring the banner back ( #10728 )
...
Update README.rst
2025-04-24 06:19:28 +05:45
Ivan Shcheklein
99d9ca714d
remove banner in README ( #10726 )
2025-04-22 04:36:16 +00:00
dependabot[bot]
a3b6722523
build(deps): bump rtCamp/action-slack-notify from 2.3.2 to 2.3.3 ( #10718 )
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/v2.3.2...v2.3.3 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-version: 2.3.3
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>
2025-04-10 13:02:20 +05:45
skshetry
b824bc4db7
ci(build): use envvar override to omit local version for Test PyPI upload ( #10720 )
...
Uses `SETUPTOOLS_SCM_OVERRIDES_FOR_DVC` to omit the local version
when uploading to Test PyPI. This is needed because (Test) PyPI
does not support local version.
This requires bumping minimum version of `setuptools_scm` to `8.0.0`.
The envvar is documented here: https://setuptools-scm.readthedocs.io/en/latest/overrides/ .
Also see:
https://github.com/pypa/setuptools-scm/issues/455#issuecomment-2791301186 .
2025-04-10 12:59:32 +05:45
pre-commit-ci[bot] and Saugat Pachhai
6cc349edb4
[pre-commit.ci] pre-commit autoupdate ( #10717 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.11.4 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix ruff errors
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected] >
2025-04-08 03:15:09 +00:00
Rory Crean and RMCrean
e455ee69aa
remote: show default when run "dvc remote list" ( #10711 )
...
* remote: show default when run "dvc remote list"
Fixes #10708
* Indent other remotes if there is a default remote
Now regardless of whether there is a default remote or not, all remotes are equally indented
* stricter test for listing remotes shows default
* Rewrite dvc remote list implemetation
- Default remote is indicated at end of the output and colored green
- Remotes no longer reordered to show default first
- Test updated to reflect changes and remove need for function escape_ansi.
---------
Co-authored-by: RMCrean <[email protected] >
2025-04-07 09:02:09 +05:45
skshetry
31270c14e3
pyproject: update license to PEP 639 format ( #10709 )
...
Requires bumping `setuptools` to 77.0.0 or later.
See:
- [PEP 639](https://peps.python.org/pep-0639 )
- [Writing pyproject.toml - license](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license )
2025-03-25 09:48:50 +05:45
pre-commit-ci[bot]
28b7c8b723
[pre-commit.ci] pre-commit autoupdate ( #10699 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-06 18:21:14 -08:00
skshetry
1d6ea68133
ls/ls-url: do not show entry with size<=0 for a directory ( #10687 )
...
ls/ls-url: do not show size=0 when the entry is a directory
3.59.1
2025-02-09 12:16:53 +05:45
skshetry
25d2638a57
pre-commit: set autoupdate schedule to monthly ( #10685 )
...
Update .pre-commit-config.yaml
2025-02-06 09:33:04 +05:45
dependabot[bot]
0b03714097
build(deps): bump mypy from 1.14.1 to 1.15.0 ( #10684 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.14.1 to 1.15.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.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>
2025-02-06 09:30:37 +05:45
pre-commit-ci[bot]
9392bbdd4b
[pre-commit.ci] pre-commit autoupdate ( #10682 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-04 11:00:36 +05:45
pre-commit-ci[bot] and skshetry
c4b18b710a
[pre-commit.ci] pre-commit autoupdate ( #10676 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: skshetry <[email protected] >
2025-01-31 20:04:56 +05:45
da1e0b57b8
import: fix broken progressbar when importing folder ( #10678 )
...
Co-authored-by: Petr Chmelar <[email protected] >
Co-authored-by: skshetry <[email protected] >
2025-01-31 19:41:27 +05:45
pre-commit-ci[bot]
b2a873d13b
[pre-commit.ci] pre-commit autoupdate ( #10674 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-21 15:34:13 +05:45
pre-commit-ci[bot]
89ef3463dc
[pre-commit.ci] pre-commit autoupdate ( #10671 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.0 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.0...v0.9.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-13 13:37:31 -08:00
skshetry
7d14acb5a7
3.13 support for Windows ( #10667 )
...
python/cpython#113829 changed `os.path.isabs` on Windows to not consider a path starting a single backslash to be an absolute path.
We do a lot of naive `posixpath` to `ntpath` conversions, and it broke DVC in multiple places. DVC is likely broken in many other places, and these bugs are difficult to identify.
In this commit, I have tried to fix in the places where the tests failed. And mostly by trying to imitate pre-3.13 behaviour.
Some of the changes may not be correct but keeps the old behaviour in place.
Also re-enabled the CI for all Python versions supported for Windows.
3.59.0
2025-01-10 18:39:38 +05:45
skshetry
dd501554fe
tests: try to make tests pass on Python 3.13 on unix platforms ( #10665 )
2025-01-09 22:36:35 +05:45
skshetry
54acfda687
fix implicit concatenated strings ( #10666 )
2025-01-09 22:05:33 +05:45
pre-commit-ci[bot]
e70a1e9bfc
[pre-commit.ci] pre-commit autoupdate ( #10663 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-09 21:49:48 +05:45
dependabot[bot]
aea0e6b6cc
build(deps): bump mypy from 1.14.0 to 1.14.1 ( #10662 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-09 21:14:40 +05:45
skshetry
2c6b917fc5
ls-url: add support for --tree/--level ( #10664 )
2025-01-09 21:12:34 +05:45
a43c1b31f7
chore(studio): Update Studio URL to new domain ( #10538 )
...
* chore(studio): Update Studio URL to new domain
The https://studio.dvc.ai is deprecated, and we switched to the new domain https://studio.datachain.ai .
The domain change is backwards compatible. The **older versions** of the `dvc` will still work. 🎉
Related PR: https://github.com/iterative/dvc-studio-client/pull/181
* Apply suggestions from code review
---------
Co-authored-by: Marcin Jasion <[email protected] >
Co-authored-by: Helio Machado <[email protected] >
2024-12-31 01:51:20 +00:00
pre-commit-ci[bot]
683a9f09bd
[pre-commit.ci] pre-commit autoupdate ( #10661 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-26 14:45:00 +05:45
dependabot[bot]
53a7230da0
build(deps): bump astral-sh/setup-uv from 4 to 5 ( #10660 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 4 to 5.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 18:55:56 -08:00
dependabot[bot]
f078a572dd
build(deps): bump mypy from 1.13.0 to 1.14.0 ( #10659 )
...
Bumps [mypy](https://github.com/python/mypy ) from 1.13.0 to 1.14.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python/mypy/compare/v1.13.0...v1.14.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>
2024-12-22 18:16:06 -08:00