Update to Python 3.12

* Remove toml dependency since that comes with Python as of 3.11
* Update toml usage to tomllib in config.py
* Update `with open(...)` for toml file reading to be 'rb'
* Update Pipfile.lock for locked dependencies to work with Python 3.12

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2024-07-18 11:39:34 -07:00
parent d3f88dacf7
commit fcb4bd6df1
6 changed files with 676 additions and 576 deletions

View File

@@ -5,7 +5,6 @@ name = "pypi"
[packages]
async-irc = "*"
toml = {version="*", markers="python_version < '3.11'"}
types-toml = "*"
"aiohttp[speedups]" = "*"
async-timeout = ">=4"
@@ -15,7 +14,7 @@ mypy = "*"
black = "*"
[requires]
python_version = "3.10"
python_version = "3.12"
[pipenv]
allow_prereleases = true