Skip to content

Commit 7a840aa

Browse files
Bump the python group across 1 directory with 5 updates (#156)
* Bump the python group across 1 directory with 5 updates Bumps the python group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [pydantic-settings](https://github.com/pydantic/pydantic-settings) | `2.14.0` | `2.14.1` | | [mypy](https://github.com/python/mypy) | `1.20.2` | `2.1.0` | | [types-html5lib](https://github.com/python/typeshed) | `1.1.11.20260408` | `1.1.11.20260508` | | [types-requests](https://github.com/python/typeshed) | `2.33.0.20260503` | `2.33.0.20260513` | | [types-toml](https://github.com/python/typeshed) | `0.10.8.20260408` | `0.10.8.20260508` | Updates `pydantic-settings` from 2.14.0 to 2.14.1 - [Release notes](https://github.com/pydantic/pydantic-settings/releases) - [Commits](pydantic/pydantic-settings@v2.14.0...v2.14.1) Updates `mypy` from 1.20.2 to 2.1.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.20.2...v2.1.0) Updates `types-html5lib` from 1.1.11.20260408 to 1.1.11.20260508 - [Commits](https://github.com/python/typeshed/commits) Updates `types-requests` from 2.33.0.20260503 to 2.33.0.20260513 - [Commits](https://github.com/python/typeshed/commits) Updates `types-toml` from 0.10.8.20260408 to 0.10.8.20260508 - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: python - dependency-name: pydantic-settings dependency-version: 2.14.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: types-html5lib dependency-version: 1.1.11.20260508 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: types-requests dependency-version: 2.33.0.20260508 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python - dependency-name: types-toml dependency-version: 0.10.8.20260508 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python ... Signed-off-by: dependabot[bot] <support@github.com> * fix lint issues * revert uv.lock. add error message for improper cmake resolution --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evan Downing <2077950+evandowning@users.noreply.github.com>
1 parent f402312 commit 7a840aa

5 files changed

Lines changed: 189 additions & 145 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ doc = ["pdoc"]
3434
test = ["pytest", "pytest-cov", "pytest-timeout", "pretend", "coverage[toml]"]
3535
lint = [
3636
"ruff>=0.14.9,<1.0",
37-
"mypy>=1.19.1,<2.0",
37+
"mypy>=1.19.1,<3.0",
3838
"types-html5lib",
3939
"types-requests",
4040
"types-toml",

src/it_depends/autotools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def resolve_from_source(
239239
logger.debug("Handling: %s", macro_line)
240240
macro, *arguments = macro_line.split(":")
241241
try:
242-
arguments = tuple(self._replace_variables(arg, configure) for arg in arguments) # type: ignore[assignment]
242+
arguments = tuple(self._replace_variables(arg, configure) for arg in arguments)
243243
except Exception:
244244
logger.exception("Error replacing variables")
245245
continue

src/it_depends/cmake.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def _pkg_check_modules(
219219
module_name = re.split("(<|>|=|<=|>=)", keyword)[0]
220220
version_range = keyword[len(module_name) :].strip()
221221
if not version_range:
222-
version_range = None # type: ignore[assignment]
223-
module_specs.append((module_name, version_range)) # type: ignore[arg-type]
222+
version_range = None
223+
module_specs.append((module_name, version_range))
224224

225225
for module_name, version_range in module_specs:
226226
query = make_pkg_config_query([module_name])
@@ -409,6 +409,9 @@ def resolve_from_source(self, repo: SourceRepository, cache: PackageCache | None
409409
"""Resolve dependencies from source repository."""
410410
if not self.can_resolve_from_source(repo):
411411
return None
412+
if cmake_parsing is None:
413+
msg = "cmake resolver invoked without parse_cmake installed"
414+
raise RuntimeError(msg)
412415
cmake_path = self.tool_path
413416

414417
path = repo.path

src/it_depends/go.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def repo_root_for_import_dynamic(import_path: str) -> vcs.Repository:
369369
if meta_import.vcs == "mod":
370370
the_vcs = vcs.VCS_MOD
371371
else:
372-
the_vcs = vcs.vcs_by_cmd(meta_import.vcs) # type: ignore[assignment]
372+
the_vcs = vcs.vcs_by_cmd(meta_import.vcs)
373373
if the_vcs is None:
374374
msg = f"{url}: unknown VCS {meta_import.vcs!r}"
375375
raise ValueError(msg)

0 commit comments

Comments
 (0)