You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use nix-shell to encapsulate a Python 3.11 environment with poetry installed (poetry will handle the other dependencies). So I wrote this shell.nix
Traceback (most recent call last):
File "/nix/store/682li14hp6cpn5gcaj00n3mhzafk37lc-python3-3.11.0/lib/python3.11/doctest.py", line 2221, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for doctestcase.txt
File "/build/zope.testing-4.10/src/zope/testing/doctestcase.txt", line 0
----------------------------------------------------------------------
File "/build/zope.testing-4.10/src/zope/testing/doctestcase.txt", line 89, in doctestcase.txt
Failed example:
result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
Expected:
test1 (tests.MyTest) ... ok
test2 (tests.MyTest) ... ok
test3 (tests.MyTest) ... ok
test4 (tests.MyTest) ... ok
Got:
test1 (tests.MyTest.test1) ... ok
test2 (tests.MyTest.test2) ... ok
test3 (tests.MyTest.test3) ... ok
test4 (tests.MyTest.test4) ... ok
----------------------------------------------------------------------
File "/build/zope.testing-4.10/src/zope/testing/doctestcase.txt", line 96, in doctestcase.txt
Failed example:
result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
Expected:
test_loggingsupport (tests.MoreTests) ... ok
test_renormalizing (tests.MoreTests) ... ok
Got:
test_loggingsupport (tests.MoreTests.test_loggingsupport) ... ok
test_renormalizing (tests.MoreTests.test_renormalizing) ... ok
----------------------------------------------------------------------
File "/build/zope.testing-4.10/src/zope/testing/doctestcase.txt", line 322, in doctestcase.txt
Failed example:
result = suite.run(unittest.TextTestResult(sys.stdout, True, 2))
Expected:
test2 (tests.MyTest) ... ok
test3 (tests.MyTest) ... ok
test4 (tests.MyTest) ... ok
Got:
test2 (tests.MyTest.test2) ... ok
test3 (tests.MyTest.test3) ... ok
test4 (tests.MyTest.test4) ... ok
Describe the bug
I would like to use nix-shell to encapsulate a Python 3.11 environment with poetry installed (poetry will handle the other dependencies). So I wrote this
shell.nix
but
nix-shell
fails with this error:It would seem that the same error appears here
Expected behavior
I get a shell where I can run poetry commands
Notify maintainers
I'm sorry, I'm a nix noob. I'm not sure where to look.
Metadata
The text was updated successfully, but these errors were encountered: