Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #220 from openedx/feanil/update_setup_py
Browse files Browse the repository at this point in the history
build: Update how we read requirements.
  • Loading branch information
feanil committed Aug 14, 2023
2 parents e266b16 + a177e13 commit 1b6cc73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -51,7 +51,7 @@ def load_requirements(*requirements_paths):
constraint_files = set()

# groups "my-package-name<=x.y.z,..." into ("my-package-name", "<=x.y.z,...")
requirement_line_regex = re.compile(r"([a-zA-Z0-9-_.]+)([<>=][^#\s]+)?")
requirement_line_regex = re.compile(r"([a-zA-Z0-9-_.\[\]]+)([<>=][^#\s]+)?")

def add_version_constraint_or_raise(current_line, current_requirements, add_if_not_present):
regex_match = requirement_line_regex.match(current_line)
Expand Down
2 changes: 1 addition & 1 deletion xblockutils/__init__.py
Expand Up @@ -2,4 +2,4 @@
Useful classes and functionality for building and testing XBlocks
"""

__version__ = '3.4.0'
__version__ = '3.4.1'

0 comments on commit 1b6cc73

Please sign in to comment.