equinor / fmu-sumo

Interaction with Sumo in the FMU context
https://fmu-sumo.readthedocs.io/en/latest/
Apache License 2.0
0 stars 6 forks source link

Release to PyPI #182

Closed anders-kiaer closed 1 year ago

anders-kiaer commented 1 year ago

We would like the fmu-sumo (and sumo-wrapper-python) packages to be released to PyPI.

This would simplify downstream usage (git not needed in Docker image, and pip/poetry install/update commands are simplified).

In addition, currently it is hard to both pin fmu-sumo and sumo-wrapper-python versions used downstream, because if they are both e.g. pinned to their latest versions, we get

Because fmu-sumo (0.3.7) @ git+https://github.com/equinor/fmu-sumo.git@main depends on sumo-wrapper-python (*) @ git+https://github.com/equinor/sumo-wrapper-python.git@main
 and backend depends on sumo-wrapper-python (0.3.3) @ git+https://github.com/equinor/sumo-wrapper-python.git@0.3.3, fmu-sumo is forbidden.
So, because backend depends on fmu-sumo (0.3.7) @ git+https://github.com/equinor/fmu-sumo.git@0.3.7, version solving failed.

probably due to fmu-sumo requiring main branch "version" of sumo-wrapper-python: https://github.com/equinor/fmu-sumo/blob/e8970433247f04050344f54397e4acbc57d5ad1d/requirements/requirements.txt#L4

equinor-ruaj commented 1 year ago

fmu-sumo released to PyPi. Relevant PRs: 190 191

anders-kiaer commented 1 year ago

Thanks :+1: We are now using PyPI packages of SUMO downstream.