In the latest tomli version, the test suite moved from pytest to
unittest and removed the python-dateutil dependency [1]. This commit
removes the python-dateutil BR but keeps the pytest BR so we can use
%pytest as the test runner.
[1]: https://github.com/hukkin/tomli/blob/master/CHANGELOG.md#201
- Removed support for text file objects as load input
- First argument of load and loads can no longer be passed by keyword
- Allow lower case "t" and "z" in datetimes
- Raise an error when dotted keys define values outside the "current table"
- Prepare for inclusion in stdlib
This package buildrequires flit_core to build the wheel, but flit_core requires tomli.
This also allows us to use tomli instead of toml in %pyproject_buildrequires.