Closed liamhuber closed 1 month ago
:point_left: Launch a binder notebook on branch _pyiron/pyiron_workflow/testconda
Coverage variation | Diff coverage |
---|---|
:white_check_mark: +0.00% (target: -1.00%) | :white_check_mark: ∅ |
Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more
Totals | |
---|---|
Change from base Build 9115999265: | 0.0% |
Covered Lines: | 3526 |
Relevant Lines: | 3948 |
It looks like the file didn't write or something?
Run python $GITHUB_ACTION_PATH/../.support/condamerge.py ./environment.yml > ./environment.yml
Traceback (most recent call last):
File "/home/runner/work/_actions/pyiron/actions/make_pip_optional/write-environment/../.support/condamerge.py", line 80, in <module>
merge_env(
File "/home/runner/work/_actions/pyiron/actions/make_pip_optional/write-environment/../.support/condamerge.py", line 65, in merge_env
env_base['channels'],
TypeError: 'NoneType' object is not subscriptable
and
Run mamba env update -n my-env -f ./environment.yml
SpecNotFound: '/home/runner/work/pyiron_workflow/pyiron_workflow/environment.yml' is empty
Not sure if this is because of bad formatting of the env file, a mistake in pwd, or the env updater trying to read and write to the same place.
ModuleNotFoundError: No module named 'test_macro'
E......Traceback (most recent call last):
File "/home/runner/miniconda3/envs/my-env/lib/python3.12/site-packages/pympipool/backend/serial.py", line 65, in <module>
main(argument_lst=sys.argv)
File "/home/runner/miniconda3/envs/my-env/lib/python3.12/site-packages/pympipool/backend/serial.py", line 31, in main
input_dict = interface_receive(socket=socket)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/miniconda3/envs/my-env/lib/python3.12/site-packages/pympipool/shared/communication.py", line 167, in interface_receive
return cloudpickle.loads(socket.recv())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'test_node'
Ok, this is just the pympipool error because I didn't put the tests in the python path.
======================================================================
ERROR: test_pull_and_executors (test_workflow.TestWorkflow.test_pull_and_executors)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/pyiron_workflow/pyiron_workflow/tests/unit/test_workflow.py", line 416, in test_pull_and_executors
self.assertEquals(
^^^^^^^^^^^^^^^^^
AttributeError: 'TestWorkflow' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
----------------------------------------------------------------------
Right, python 3.12 totally deprecated my spelling mistake. It's patched now, but that PR is not in the latest release I'm testing here. Simplest to downgrade python for this test for now. It's actually the test itself failing and not the source code, so I don't feel too terrible about this. Good reminder to pay attention to deprecation warnings though.
Note: comment history on this page wont' make much sense anymore, because I force-pushed over all the development and debug commits.
Coverage variation | Diff coverage |
---|---|
:white_check_mark: +0.00% (target: -1.00%) | :white_check_mark: ∅ |
Codacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more
Super. Test failed, but in exactly the expected way for the last release -- with the assertEquals
deprecation in py3.12. 👍👍