rl-institut / oemof-B3

An open-source energy system model for Brandenburg/Berlin.
https://oemof-b3.readthedocs.io/
GNU Affero General Public License v3.0
9 stars 5 forks source link

Unpin dependencies #272

Closed jnnr closed 1 year ago

jnnr commented 2 years ago

Fixes #266.

jnnr commented 2 years ago

CI installation via poetry fails after updating poetry.lock for the three packages via poetry update rtree pyyaml numpy:

Installing Poetry (1.2.2): An error occurred. Removing partial environment.
Poetry installation failed.
See /home/runner/work/oemof-B3/oemof-B3/poetry-installer-error-veadicmk.log for error logs.
Error: Process completed with exit code 1.

I would like to inspect the log, but do not understand where to find it. Can you help, @henhuy?

Before, I tried to update the lockfile on my computer by poetry update, but that took a very long time and ended with

 poetry update
Updating dependencies
Resolving dependencies... (763.9s)

  CalledProcessError

  Command '['git', 'clone', '--recurse-submodules', '--', 'https://git@github.com/rl-institut/oemoflex', '/tmp/pypoetry-git-oemoflex4dx0527c']' returned non-zero exit status 128.

  at ~/anaconda3/envs/oemof-B3/lib/python3.8/site-packages/poetry/utils/_compat.py:217 in run
      213│                 process.wait()
      214│                 raise
      215│             retcode = process.poll()
      216│             if check and retcode:
    → 217│                 raise CalledProcessError(
      218│                     retcode, process.args, output=stdout, stderr=stderr
      219│                 )
      220│         finally:
      221│             # None because our context manager __exit__ does not use them.

Could be related to https://github.com/python-poetry/poetry/issues/2475#issuecomment-1015026977

jnnr commented 1 year ago

Closed in favor of #289