TRI-AMDD / beep

Battery evaluation and early prediction
Apache License 2.0
130 stars 60 forks source link

Work on fixing tests #789

Closed ardunn closed 1 year ago

ardunn commented 1 year ago

Problem with tests is:

Obtaining file:///home/runner/work/beep/beep
[173](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:174)
  Installing build dependencies: started
[174](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:175)
  Installing build dependencies: finished with status 'done'
[175](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:176)
  Checking if build backend supports build_editable: started
[176](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:177)
  Checking if build backend supports build_editable: finished with status 'done'
[177](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:178)
  Getting requirements to build editable: started
[178](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:179)
  Getting requirements to build editable: finished with status 'error'
[179](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:180)
  error: subprocess-exited-with-error
[180](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:181)

[181](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:182)
  × Getting requirements to build editable did not run successfully.
[182](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:183)
  │ exit code: 1
[183](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:184)
  ╰─> [19 lines of output]
[184](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:185)
      Traceback (most recent call last):
[185](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:186)
        File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
[186](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:187)
          main()
[187](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:188)
        File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
[188](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:189)
          json_out['return_val'] = hook(**hook_input['kwargs'])
[189](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:190)
        File "/opt/hostedtoolcache/Python/3.8.16/x64/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
[190](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:191)
          return hook(config_settings)
[191](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:192)
        File "/tmp/pip-build-env-wwrc63nu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 450, in get_requires_for_build_editable
[192](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:193)
          return self.get_requires_for_build_wheel(config_settings)
[193](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:194)
        File "/tmp/pip-build-env-wwrc63nu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in get_requires_for_build_wheel
[194](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:195)
          return self._get_build_requires(config_settings, requirements=['wheel'])
[195](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:196)
        File "/tmp/pip-build-env-wwrc63nu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 323, in _get_build_requires
[196](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:197)
          self.run_setup()
[197](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:198)
        File "/tmp/pip-build-env-wwrc63nu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 487, in run_setup
[198](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:199)
          super(_BuildMetaLegacyBackend,
[199](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:200)
        File "/tmp/pip-build-env-wwrc63nu/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
[200](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:201)
          exec(code, locals())
[201](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:202)
        File "<string>", line 3, in <module>
[202](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:203)
      ModuleNotFoundError: No module named 'pip'
[203](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:204)
      [end of output]
[204](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:205)

[205](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:206)
  note: This error originates from a subprocess, and is likely not a problem with pip.
[206](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:207)
error: subprocess-exited-with-error
[207](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:208)

[208](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:209)
× Getting requirements to build editable did not run successfully.
[209](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:210)
│ exit code: 1
[210](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:211)
╰─> See above for output.
[211](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:212)

[212](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:213)
note: This error originates from a subprocess, and is likely not a problem with pip.
[213](https://github.com/TRI-AMDD/beep/actions/runs/4808404744/jobs/8595601204#step:5:214)
Error: Process completed with exit code 1.

From pip install -e .[tests]

ardunn commented 1 year ago

Next thing to try is downgrading pip version