Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates tomli from 2.0.1 to 2.1.0.

Changelog

2.1.0

- Deprecated
- Instantiating `TOMLDecodeError` with free-form arguments.
 `msg`, `doc` and `pos` arguments should be given.
- Added
- `msg`, `doc`, `pos`, `lineno` and `colno` attributes to `TOMLDecodeError`

2.0.2

- Removed
- Python 3.7 support
- Improved
- Make `loads` raise `TypeError` not `AttributeError` on bad input types that do not have the `replace` attribute.
 Improve error message when `bytes` is received.
- Type annotations
- Type annotate `load` input as `typing.IO[bytes]` (previously `typing.BinaryIO`).
Links

@dlech dlech closed this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants