File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ def requirements_version(dirpath: Optional[Path] = None) -> Optional[str]:
133133 return None
134134 try :
135135 with open (pp / "requirements.txt" , "r" ) as f :
136- REGEX = r"\s*pretext(book)?(\[.*\])?\s*==\s*(?P<version>[\d\.]+)\s*"
136+ regex = r"\s*pretext(book)?(\[.*\])?\s*==\s*(?P<version>[\d\.]+)\s*"
137137 for line in f .readlines ():
138- match = re .match (REGEX , line )
138+ match = re .match (regex , line )
139139 if match :
140140 return match .group ("version" )
141141 except Exception as e :
Original file line number Diff line number Diff line change 1111# ----------------
1212[tool .poetry ]
1313name = " pretext"
14- version = " 2.36.1 "
14+ version = " 2.37.2 "
1515description = " A package to author, build, and deploy PreTeXt projects."
1616readme = " README.md"
1717homepage = " https://pretextbook.org"
You can’t perform that action at this time.
0 commit comments