pyproject_patcher.requirements ============================== .. py:module:: pyproject_patcher.requirements .. autoapi-nested-parse:: Manage requirements expressions, with or without version constraints. Classes ------- .. autoapisummary:: pyproject_patcher.requirements.RequirementsSection Module Contents --------------- .. py:class:: RequirementsSection(array) A list of requirements expressions. For example: ```py ["setuptools", "wheel", "setuptools-git-versioning<2"] ``` .. py:attribute:: array :type: tomlkit.items.Array .. py:method:: remove_dependency(module_name) Removes a Python module dependency from this section. :param module_name: The name of a module that is declared in this section. .. py:method:: strip_constraint(module_name) For a Python module dependency in this section, remove its version constraint. :param module_name: The name of a module that is declared in this section.