From 5c66f74fbe40bb3951ef3fba10dfcc09b8a033bd Mon Sep 17 00:00:00 2001 From: Matthew Hernandez Date: Mon, 23 Jun 2025 05:18:28 -0700 Subject: [PATCH] Fix issue #684: Minor docstring edit (#699) --- .../python_environment_check.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/02_installing-python-libraries/python_environment_check.py b/setup/02_installing-python-libraries/python_environment_check.py index 5c02fab..7cceb44 100644 --- a/setup/02_installing-python-libraries/python_environment_check.py +++ b/setup/02_installing-python-libraries/python_environment_check.py @@ -65,9 +65,10 @@ def get_packages(pkgs): def get_requirements_dict(): """ - Parses requirements.txt and returns a dictionary mapping package names (lowercase) - to a specifier string (e.g. ">=2.18.0,<3.0"). It uses packaging.requirements.Requirement - to properly handle environment markers. + Parses requirements.txt and returns a dictionary mapping package names (in lowercase) + to specifier strings (e.g. ">=2.18.0,<3.0"). It uses the Requirement class from + packaging.requirements to properly handle environment markers, and converts each object's + specifier to a string. """ PROJECT_ROOT = dirname(realpath(__file__))