Skip to content

Update tomli to 2.1.0 - #181

Closed
pyup-bot wants to merge 1 commit into
mainfrom
pyup-update-tomli-2.0.1-to-2.1.0
Closed

pyup-bot wants to merge 1 commit into
mainfrom
pyup-update-tomli-2.0.1-to-2.1.0

Conversation

@pyup-bot

Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

Closing this in favor of #186

@pyup-bot pyup-bot closed this Nov 27, 2024
@aurohm
aurohm deleted the pyup-update-tomli-2.0.1-to-2.1.0 branch November 27, 2024 23:54
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.

1 participant