Skip to content

Feature Report: Drop test dependency on PyPI toml package #2027

@musicinmybrain

Description

@musicinmybrain

Use Case/Motivation

Since Python 3.11, the test dependency on toml is no longer needed because tomllib was added to the standard library.

Example Usage

Testing on Python 3.11 and later should not require installing toml.

Other Information

While jrnl does still support Python 3.10, where the toml dependency is needed, conditionalizing the dependency for Python 3.11 or later would make testing slightly lighter and would help with downstream packaging, e.g. in Fedora where the python-toml package has been deprecated for some time and will soon be removed.

I plan to open a PR that would use tomllib instead of toml on Python 3.11 and later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions