summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Seegers <jeroenseegers@users.noreply.github.com>2021-09-23 19:47:04 +0200
committerGitHub <noreply@github.com>2021-09-23 19:47:04 +0200
commit9dc186f3aa68560c205e06b4759fb80b12a72c36 (patch)
treef13a1a8a44a79cad4568d77a99e9a3b8e2831fd8
parent09a0b50bfeb473625f8ad586f72fd35d790de6ac (diff)
downloadpylint-git-9dc186f3aa68560c205e06b4759fb80b12a72c36.tar.gz
Update toml dependency to >=0.9.2 (#5067)
* Update toml dependency from >=0.7.1 to >=0.9.2
-rw-r--r--CONTRIBUTORS.txt3
-rw-r--r--ChangeLog4
-rw-r--r--pylint/config/find_default_config_files.py2
-rw-r--r--setup.cfg2
4 files changed, 9 insertions, 2 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 1efde3cb7..34da2a803 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -543,3 +543,6 @@ contributors:
* Hayden Richards (SupImDos): contributor
- Fixed "no-self-use" for async methods
- Fixed "docparams" extension for async functions and methods
+
+* Jeroen Seegers (jeroenseegers): contributor
+ - Fixed `toml` dependency issue
diff --git a/ChangeLog b/ChangeLog
index c79d44cca..dce8f9c25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,10 @@ Release date: TBA
Closes #2366
+* Fixed ``toml`` dependency issue
+
+ Closes #5066
+
What's New in Pylint 2.11.1?
============================
diff --git a/pylint/config/find_default_config_files.py b/pylint/config/find_default_config_files.py
index 2a8937e52..843aa8648 100644
--- a/pylint/config/find_default_config_files.py
+++ b/pylint/config/find_default_config_files.py
@@ -5,7 +5,7 @@ import configparser
import os
import toml
-from toml.decoder import TomlDecodeError
+from toml import TomlDecodeError
def _toml_has_config(path):
diff --git a/setup.cfg b/setup.cfg
index f415db45d..0416ceb30 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -47,7 +47,7 @@ install_requires =
astroid>=2.8.0,<2.9 # (You should also upgrade requirements_test_min.txt)
isort>=4.2.5,<6
mccabe>=0.6,<0.7
- toml>=0.7.1
+ toml>=0.9.2
colorama;sys_platform=="win32"
typing-extensions>=3.10.0;python_version<"3.10"
python_requires = ~=3.6