BlueBrain / BluePyOpt

Blue Brain Python Optimisation Library
https://bluepyopt.readthedocs.io/en/latest/
Other
198 stars 96 forks source link

Bump min version of pebble to 4.6.0 #468

Closed sanjayankur31 closed 10 months ago

sanjayankur31 commented 1 year ago

I think bluepyopt needs pebble>=4.6.0. With 4.3.x on Fedora, I see tests failing:

>           with pebble.ProcessPool(                                                                                                                                                         max_workers=1,                                                                                                                                                               max_tasks=1,                                                                                                                                                                 context=multiprocessing_context                                                                                                                                          ) as pool:            
E           TypeError: ProcessPool.__init__() got an unexpected keyword argument 'context'

The context argument seems to have only been added in 4.6.0:

https://github.com/noxdafox/pebble/releases/tag/4.6.0

anilbey commented 1 year ago

Thanks @sanjayankur31 !