larsbuntemeyer / cordex-forge-dev

Development of a CORDEX recipe for pange-forge
0 stars 0 forks source link

sslcontext workflow broken #2

Open larsbuntemeyer opened 2 years ago

larsbuntemeyer commented 2 years ago

Right now, this works only with pangeo-forge-recipes=0.9.0 and cryptography=37.0.2.

larsbuntemeyer commented 2 years ago

My workflow with sslcontext has been broken by https://github.com/pangeo-forge/pangeo-forge-recipes/pull/359, need to check that out...

larsbuntemeyer commented 2 years ago

Latest version that works for me: 0.9.1.dev2+g3d979a5

larsbuntemeyer commented 2 years ago

What happens here? I think the problem is in: https://github.com/pangeo-forge/pangeo-forge-recipes/blob/16eb6bfd23a26997523b86c0fe5428103ec95b8a/pangeo_forge_recipes/serialization.py#L70

where the keys are dropped after dict conversion. However, if recipe contains an filesystem object with an openssl context, that can not be deepcopied..., see https://bugs.python.org/issue43905

larsbuntemeyer commented 2 years ago

opened this issue here: https://github.com/pangeo-forge/pangeo-forge-recipes/issues/418