# DependencyChange

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/DependencyChange)

A single package version change parsed from uv's environment-diff output.

Emitted by both `uv tool upgrade` and `uv tool install -U` (the
dependency-refresh path), so the wording stays command-agnostic. `old` is
`None` for a newly added package and `new` is `None` for a removed one; both
are set for an in-place version bump. The `(None, None)` state is invalid —
see `kind`.

## Signature

```python
DependencyChange()
```

## Extends

- `NamedTuple`

## Properties

- `name`
- `old`
- `new`
- `kind`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/update_check.py#L2185)