From f699fd842e3ddedbe937ee33b0bd6ad28e735664 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Mon, 21 Oct 2024 14:56:13 +0100 Subject: [PATCH] Fix spelling error --- setuptools/_static.py | 2 +- setuptools/config/setupcfg.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setuptools/_static.py b/setuptools/_static.py index 0735ca685c..97536b898b 100644 --- a/setuptools/_static.py +++ b/setuptools/_static.py @@ -140,7 +140,7 @@ class Dict(dict, Static): _prevent_modification(Dict, _method, "`dict(value)`") -class SpeficierSet(packaging.specifiers.SpecifierSet, Static): +class SpecifierSet(packaging.specifiers.SpecifierSet, Static): """Not exactly a built-in type but useful for ``requires-python``""" diff --git a/setuptools/config/setupcfg.py b/setuptools/config/setupcfg.py index c9e6975538..633aa9d45d 100644 --- a/setuptools/config/setupcfg.py +++ b/setuptools/config/setupcfg.py @@ -657,7 +657,7 @@ def parsers(self): 'packages': self._parse_packages, 'entry_points': self._parse_file_in_root, 'py_modules': parse_list, - 'python_requires': _static.SpeficierSet, # Core Metadata + 'python_requires': _static.SpecifierSet, # Core Metadata 'cmdclass': parse_cmdclass, }