Skip to content

Unified Python environment in build directory

Lars Bilke requested to merge bilke/ogs:python-env into master

A unified and isolated Python environment in the build directory.

Uses Poetry as a replacement for pip and virtualenv.

If poetry is found on the system then this is automatically used. Add Python packages

Activate environment (automatically done for benchmarks requiring Python packages) with poetry shell or poetry run snakemake ....

See docs.

@endJunction Ready to test. Does not contain the snakemake / parsl stuff but I can add it on top here, if you like. To hack away just install poetry (or community/python-poetry on arch).

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Lars Bilke

Merge request reports