Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
/ hmrb Public archive

Commit

Permalink
[NLP-1915] Setup.py requirements regex fix (#14)
Browse files Browse the repository at this point in the history
* fix: setup.py regex

* build: 1.1.1 release
  • Loading branch information
Kristian Boda authored Feb 24, 2021
1 parent 98081c6 commit ae0862f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.1 (25.02.2021)
++++++++++++++++++
- NLP-1915: Fix for setup.py regex

1.1.0 (02.02.2021)
++++++++++++++++++
- NLP-895: Improved logging
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ERROR_PYTHON_VERSION = 10
### Main defs

PACKAGE_NAME = hmrb
PACKAGE_VERSION = 1.1.0
PACKAGE_VERSION = 1.1.1

srcdir = $(CURDIR)/$(PACKAGE_NAME)
builddir = $(CURDIR)/build
Expand Down
4 changes: 3 additions & 1 deletion docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Rules and heuristics are often used to kick start a project which has insufficie

Release History
---------------
:Version: ``v1.1.0 (02.02.2021)``
:Version: ``v1.1.1 (25.02.2021)``

``v1.1.0 (02.02.2021)``

``v1.0.0 (29.04.2020)``
2 changes: 1 addition & 1 deletion hmrb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name = "hmrb"
__version__ = "1.1.0"
__version__ = "1.1.1"
__release__ = __version__
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def read_requirements(file: str) -> List[str]:
raise FileNotFoundError(file)
with open(file) as fd:
unparsed_requirements = fd.read()
return re.findall(r"[\w-]+==[\d.]+", unparsed_requirements)
return re.findall(r"[\w-]+[=<>]=[\d.,=<>]+", unparsed_requirements)

setup_params = dict(
name='hmrb',
Expand Down

0 comments on commit ae0862f

Please sign in to comment.