pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Use environment.yml (or something like that) in CI

Open ricardoV94 opened this issue 1 year ago • 1 comments

Description

The CI dependencies are completely dissociated from the conda pytensor-dev environment specified by environment.yml.

This led to need a separate commit in #448 that should have gone into #446

https://github.com/pymc-devs/pytensor/blob/a970407f5c3c4994d346a41065e335e89882dcfb/.github/workflows/test.yml#L139-L152

ricardoV94 avatar Sep 21 '23 12:09 ricardoV94

The only tricky bit here is that you can't parameterise the Python version of an environment.yml, but we can do the installation of the parameterised Python version and the environments file in the same pass using this pattern

lmmx avatar Dec 07 '23 19:12 lmmx