Skip to content

Commit

Permalink
Merge pull request #16 from riot-appstore/pr/cmd2versionfix
Browse files Browse the repository at this point in the history
fix(cli): Fix versions for cmd2
  • Loading branch information
MrKevinWeiss authored Jun 21, 2021
2 parents 1620917 + f5f4bb1 commit 0f9c7c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mm_pal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

__author__ = "Kevin Weiss"
__email__ = "[email protected]"
__version__ = "1.1.4"
__version__ = "1.1.5"

__all__ = ['MmIf',
'MmCmd',
Expand Down
1 change: 1 addition & 0 deletions mock_pal/mock_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(self, ext_port='/tmp/mm_pal_dev0',
mock_port, ext_port)
commands = ['socat', f'pty,link={ext_port},raw,echo=0',
f'pty,link={mock_port},raw,echo=0']
# pylint: disable=consider-using-with
self._socat_p = subprocess.Popen(commands)
self.ext_port = ext_port
self.mock_port = mock_port
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_version(package):
],
setup_requires=["pytest-runner"],
tests_require=["pytest", "pytest-cov", "pytest-regtest"],
install_requires=['pyserial', 'cmd2'],
install_requires=['pyserial', 'cmd2>=1.3,<2'],
entry_points={
'console_scripts': ['start_mock_dev=mock_pal.mock_dev:main',
'mm_pal_mock_cli=mock_pal.mock_cli:main']
Expand Down

0 comments on commit 0f9c7c5

Please sign in to comment.