diff --git a/requirements.txt b/requirements.txt index 8c9510c..f22056c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ # Note: DON'T UPDATE THIS WITHOUT ALSO UPDATING SETUP.PY -docutils==0.18 -Sphinx==5.3.0 +docutils==0.20.1 +Sphinx==7.2.6 diff --git a/setup.py b/setup.py index 4fdbb5b..4b29071 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,8 @@ packages=find_packages(exclude=('test',)), include_package_data=True, install_requires=[ - 'docutils==0.18', - 'Sphinx==5.3.0', + 'docutils==0.20.1', + 'Sphinx==7.2.6', ], namespace_packages=['sphinxcontrib'] ) diff --git a/test/test_chapeldomain.py b/test/test_chapeldomain.py index a479ff8..aa05632 100644 --- a/test/test_chapeldomain.py +++ b/test/test_chapeldomain.py @@ -169,14 +169,14 @@ def new_obj(self, objtype, **kwargs): """Return new mocked out ChapelObject""" default_args = { 'name': 'my-chpl', - 'arguments': mock.Mock('arguments'), - 'options': mock.Mock('options'), - 'content': mock.Mock('content'), - 'lineno': mock.Mock('lineno'), - 'content_offset': mock.Mock('content_offset'), - 'block_text': mock.Mock('block_text'), - 'state': mock.Mock('state'), - 'state_machine': mock.Mock('state_machine'), + 'arguments': mock.Mock(name='arguments'), + 'options': mock.Mock(name='options'), + 'content': mock.Mock(name='content'), + 'lineno': mock.Mock(name='lineno'), + 'content_offset': mock.Mock(name='content_offset'), + 'block_text': mock.Mock(name='block_text'), + 'state': mock.Mock(name='state'), + 'state_machine': mock.Mock(name='state_machine', spec=["reporter",]), } default_args.update(kwargs) o = self.object_cls(**default_args)