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

@pyup-bot pyup-bot mentioned this pull request Nov 11, 2024
@pyup-bot
Copy link
Collaborator Author

pyup-bot commented Oct 9, 2025

Closing this in favor of #2121

@pyup-bot pyup-bot closed this Oct 9, 2025
@fabiolssdev fabiolssdev deleted the pyup-update-tomli-2.0.1-to-2.1.0 branch October 9, 2025 00:05
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.

2 participants