Hi,
I am receiving the following error while trying to build nbdev lib. It occurs while running tests after git commit. Please note that there is a similar thread about an issue with one of the lessons in the course, which was also shared today.
Traceback (most recent call last):
File “/opt/hostedtoolcache/Python/3.6.12/x64/bin/nbdev_test_nbs”, line 8, in
sys.exit(nbdev_test_nbs())
File “/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastscript/core.py”, line 76, in _f
func(**args.dict)
File “/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/nbdev/cli.py”, line 66, in nbdev_test_nbs
results = parallel(_test_one, files, flags=flags, verbose=verbose, n_workers=n_workers, pause=pause)
File “/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastcore/utils.py”, line 706, in parallel
with ProcessPoolExecutor(n_workers, pause=pause) as ex:
File “/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastcore/utils.py”, line 687, in init
super().init(max_workers, mp_context=mp_context, initializer=initializer, initargs=initargs)
TypeError: init() got an unexpected keyword argument ‘mp_context’
##[error]Process completed with exit code 1.
I am having this problem right now when the github workflow runs:
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.6.12/x64/bin/nbdev_test_nbs", line 8, in <module>
sys.exit(nbdev_test_nbs())
File "/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastscript/core.py", line 76, in _f
func(**args.__dict__)
File "/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/nbdev/cli.py", line 66, in nbdev_test_nbs
results = parallel(_test_one, files, flags=flags, verbose=verbose, n_workers=n_workers, pause=pause)
File "/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastcore/utils.py", line 712, in parallel
with ProcessPoolExecutor(n_workers, pause=pause) as ex:
File "/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/fastcore/utils.py", line 693, in __init__
super().__init__(max_workers, mp_context=mp_context, initializer=initializer, initargs=initargs)
TypeError: __init__() got an unexpected keyword argument 'mp_context'
##[error]Process completed with exit code 1.
But locally, the tests run fine.
On github, I can see that the installed version is 1.0.13: