diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a498341a7..a99de85c2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: - id: tox-ini-fmt args: [ "-p", "fix_lint" ] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.0.0 + rev: v2.2.0 hooks: - id: setup-cfg-fmt args: [ --min-py3-version, "3.5", "--max-py-version", "3.10" ] diff --git a/CONTRIBUTORS b/CONTRIBUTORS index cf1ac350e..e0259323b 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -89,6 +89,7 @@ Mauricio Villegas Mehdi Abaakouk Michael Manganiello Mickaël Schoentgen +Michał Górny Mikhail Kyshtymov Miro Hrončok Monty Taylor diff --git a/docs/changelog/2521.misc.rst b/docs/changelog/2521.misc.rst new file mode 100644 index 000000000..cf43f1e46 --- /dev/null +++ b/docs/changelog/2521.misc.rst @@ -0,0 +1 @@ +Replaced deprecated ``license_file`` key with ``license_files`` in ``setup.cfg`` -- by :user:`mgorny`. diff --git a/pyproject.toml b/pyproject.toml index 6aa5a1b15..cf17a2a0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools >= 40.0.4", + "setuptools >= 42.0.0", "setuptools_scm >= 2.0.0", "wheel >= 0.29.0", ] diff --git a/setup.cfg b/setup.cfg index 37013e356..efa75fb7d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ author = Holger Krekel, Oliver Bestwalter, Bernát Gábor and others maintainer = Bernát Gábor, Oliver Bestwalter, Anthony Sottile, Jürgen Gmach maintainer_email = gaborjbernat@gmail.com license = MIT -license_file = LICENSE +license_files = LICENSE platforms = any classifiers = Development Status :: 5 - Production/Stable