conda-forge / pythran-feedstock

A conda-smithy repository for pythran.
BSD 3-Clause "New" or "Revised" License
1 stars 11 forks source link

Incompatibility with tensorflow #71

Open nthiery opened 1 year ago

nthiery commented 1 year ago

Comment:

Hello,

I am trying to install pythran (in fact SageMath) in the same conda environment as tensorflow for our JupyterHub@Paris-Saclay. However, I run in the following version incompatibilities with gast:

Is there anything that could be done, on pythran, gast, or tensorflow's side to alleviate this?

Thanks in advance!

cc: @saraedum, @serge-sans-paille, @isuruf

isuruf commented 1 year ago

See https://github.com/tensorflow/tensorflow/issues/56244

serge-sans-paille commented 1 year ago

On Thu, Jan 12, 2023 at 06:33:23AM -0800, Nicolas M. Thiéry wrote:

Comment:

Hello,

I am trying to install pythran (in fact SageMath) in the same conda environment as tensorflow for our @.*** However, I run in the following version incompatibilities with gast:

• tensorflow-base-2.11.0-cpu_py310hc9b7e7f_0 requires gast >=0.2.1,<=0.4.0 [1]https://github.com/conda-forge/tensorflow-feedstock/blob/main/recipe/ meta.yaml#L101 • pythran 0.12 (and also 0.11 required by SageMath) requires gast 0.5.* [2]https://github.com/conda-forge/pythran-feedstock/blob/ 966bbc6caa2bd486c0c97b2f6cb8ec12344c251b/recipe/meta.yaml#L56

Is there anything that could be done, on pythran, gast, or tensorflow's side to alleviate this?

Pythran always requires the latest version of gast. Tensorflow should do the same...

nthiery commented 1 year ago

Thank you @isuruf for the pointer; I somehow missed the obvious! I'll comment there.