Skip to content

Update tomli to 2.4.1#317

Open
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-tomli-1.2.2-to-2.4.1
Open

Update tomli to 2.4.1#317
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-tomli-1.2.2-to-2.4.1

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates tomli from 1.2.2 to 2.4.1.

Changelog

2.4.1

- Fixed
- Limit number of parts of a TOML key to address quadratic time complexity

2.4.0

- Added
- TOML v1.1.0 compatibility
- Binary wheels for Windows arm64

2.3.1

- Fixed
- Backport: Limit number of parts of a TOML key to address quadratic time complexity

2.3.0

- Added
- Binary wheels for Python 3.14 (also free-threaded)
- Performance
- Reduced import time

2.2.1

- Fixed
- Don't attempt to compile binary wheels for Python 3.8, 3.9 and 3.10 where cibuildwheel depends on a conflicting Tomli version

2.2.0

- Added
- mypyc generated binary wheels for common platforms

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`).

2.0.1

- Improved
- Make bundling easier by using relative imports internally and adding license and copyright notice to source files.
- Make error messages more uniform
- Raise a friendly `TypeError` for wrong file mode
- Allow `parse_float` to return objects having the `append` attr
- Eagerly raise an error if `parse_float` returns an illegal type
- Packaging
- Move from `pytest` testing framework to `unittest` and remove `python-dateutil` test dependency.
 Tests now only require Python interpreter.

2.0.0

- Removed
- Python 3.6 support
- Support for text file objects as `load` input. Use binary file objects instead.
- First argument of `load` and `loads` can no longer be passed by keyword.
- Fixed
- Allow lower case "t" and "z" in datetimes
- Improved
- Raise an error when dotted keys define values outside the "current table".
 Technically speaking TOML v1.0.0 does allow such assignments
 but that isn't intended by specification writers,
 and will change in a future specification version (see the [pull request](https://github.com/toml-lang/toml/pull/848)).

1.2.3

- Fixed
- Backport: Allow lower case "t" and "z" in datetimes
Links

@pyup-bot pyup-bot mentioned this pull request Mar 25, 2026
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