4dn-dcic / tibanna

Tibanna helps you run your genomic pipelines on Amazon cloud (AWS). It is used by the 4DN DCIC (4D Nucleome Data Coordination and Integration Center) to process data. Tibanna supports CWL/WDL (w/ docker), Snakemake (w/ conda) and custom Docker/shell command.
MIT License
70 stars 28 forks source link

Move to Poetry and Python 3.8 #363

Closed alexander-veit closed 2 years ago

alexander-veit commented 2 years ago

This PR makes Python 3.8 the default version.

Dependency management is now handled by Poetry. There is now a convenient Make file that will handle installation and publishing to Pypi and Docker.

Version information that Tibanna requires at runtime is now extracted directly from the pyproject.toml. One issue is that deployed lambda functions (that also need this information) are deployed without that file. As a workaround, lambda functions are now deployed with the TIBANNA_VERSION env variable and the version information is extracted from there.