Skip to content

Commit 4cb4b38

Browse files
pre-commit-ci[bot]skshetry
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#10799)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent da55c0d commit 4cb4b38

File tree

4 files changed

+11
-64
lines changed

4 files changed

+11
-64
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -54,69 +54,9 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
os: [ubuntu-latest, macos-latest]
58-
pyv: ["3.9", "3.10", "3.11", "3.12", "3.13"]
59-
include:
60-
- os: windows-latest
61-
pyv: "3.9"
62-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
63-
- os: windows-latest
64-
pyv: "3.9"
65-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
66-
- os: windows-latest
67-
pyv: "3.9"
68-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
69-
- os: windows-latest
70-
pyv: "3.9"
71-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
72-
- os: windows-latest
73-
pyv: "3.10"
74-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
75-
- os: windows-latest
76-
pyv: "3.10"
77-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
78-
- os: windows-latest
79-
pyv: "3.10"
80-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
81-
- os: windows-latest
82-
pyv: "3.10"
83-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
84-
- os: windows-latest
85-
pyv: "3.11"
86-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
87-
- os: windows-latest
88-
pyv: "3.11"
89-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
90-
- os: windows-latest
91-
pyv: "3.11"
92-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
93-
- os: windows-latest
94-
pyv: "3.11"
95-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
96-
- os: windows-latest
97-
pyv: "3.12"
98-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
99-
- os: windows-latest
100-
pyv: "3.12"
101-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
102-
- os: windows-latest
103-
pyv: "3.12"
104-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
105-
- os: windows-latest
106-
pyv: "3.12"
107-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
108-
- os: windows-latest
109-
pyv: "3.13"
110-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
111-
- os: windows-latest
112-
pyv: "3.13"
113-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
114-
- os: windows-latest
115-
pyv: "3.13"
116-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
117-
- os: windows-latest
118-
pyv: "3.13"
119-
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
57+
os: [windows-latest]
58+
pyv: ["3.12"]
59+
pytestargs: ["--splitting-algorithm=least_duration --splits 4 --group 4"]
12060
steps:
12161
- uses: actions/checkout@v4
12262
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: sort-simple-yaml
2323
- id: trailing-whitespace
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: 'v0.12.1'
25+
rev: 'v0.12.2'
2626
hooks:
2727
- id: ruff-check
2828
args: [--fix, --exit-non-zero-on-fix]

dvc/data_cloud.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,10 @@ def push(
181181
By default remote from core.remote config option is used.
182182
odb: optional ODB to push to. Overrides remote.
183183
"""
184+
logger.info("Pushing data to remote storage: %s", odb)
184185
if odb is not None:
185186
return self._push(objs, jobs=jobs, odb=odb)
187+
186188
legacy_objs, default_objs = _split_legacy_hash_infos(objs)
187189
result = TransferResult(set(), set())
188190
if legacy_objs:
@@ -206,6 +208,8 @@ def _push(
206208
) -> "TransferResult":
207209
from dvc.fs.callbacks import TqdmCallback
208210

211+
logger.info("_push data to remote storage: %s", odb)
212+
209213
if odb.hash_name == "md5-dos2unix":
210214
cache = self.repo.cache.legacy
211215
else:

dvc/repo/push.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,15 @@ def push( # noqa: PLR0913
121121
workspace=workspace,
122122
push=True,
123123
)
124+
logger.info("index collected")
124125

125126
cache_key = (
126127
"push",
127128
tokenize(sorted(idx.data_tree.hash_info.value for idx in indexes.values())),
128129
)
129130

130131
with ui.progress(desc="Collecting", unit="entry", leave=True) as pb:
132+
logger.info("collecting idk what")
131133
data = collect(
132134
[idx.data["repo"] for idx in indexes.values()],
133135
"remote",
@@ -144,6 +146,7 @@ def push( # noqa: PLR0913
144146
bar_format="{desc}",
145147
leave=True,
146148
) as pb:
149+
logger.info("pushing data to remote")
147150
push_transferred, push_failed = ipush(
148151
data,
149152
jobs=jobs,

0 commit comments

Comments
 (0)