Upgrading joblib 0.11 to 0.12
Unknown0.11 → 0.12.5
Fetching 6 releases from GitHub…0 / 6
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export register_compressor - added:
export register_store_backend
- removed:
variable error_access_denied - added:
variable access_denied_errors
- added:
class BZ2CompressorWrapper(CompressorWrapper) - added:
class BinaryGzipFile(BinaryZlibFile) - added:
class BinaryZlibFile(io.BufferedIOBase) - added:
class CompressorWrapper - added:
class GzipCompressorWrapper(CompressorWrapper) - added:
class LZ4CompressorWrapper(CompressorWrapper) - added:
class LZMACompressorWrapper(CompressorWrapper) - added:
class XZCompressorWrapper(LZMACompressorWrapper) - added:
class ZlibCompressorWrapper(CompressorWrapper) - added:
constructor BZ2CompressorWrapper() - added:
constructor BinaryZlibFile(filename, mode=…, compresslevel=…) - added:
constructor CompressorWrapper(obj, prefix=…, extension=…) - added:
constructor GzipCompressorWrapper() - added:
constructor LZ4CompressorWrapper() - added:
constructor LZMACompressorWrapper() - added:
constructor XZCompressorWrapper() - added:
constructor ZlibCompressorWrapper() - added:
field BZ2CompressorWrapper.extension - added:
field BZ2CompressorWrapper.prefix - added:
field BinaryGzipFile.wbits - added:
field BinaryZlibFile.wbits - added:
field LZ4CompressorWrapper.extension - added:
field LZ4CompressorWrapper.prefix - added:
field LZMACompressorWrapper.extension - added:
field LZMACompressorWrapper.prefix - added:
field XZCompressorWrapper.extension - added:
field XZCompressorWrapper.prefix - added:
function register_compressor(compressor_name, compressor, force=…) - added:
method BZ2CompressorWrapper.compressor_file(fileobj, compresslevel=…) - added:
method BZ2CompressorWrapper.decompressor_file(fileobj) - added:
method BinaryZlibFile.close() - added:
method BinaryZlibFile.fileno() - added:
method BinaryZlibFile.read(size=…) - added:
method BinaryZlibFile.readable() - added:
method BinaryZlibFile.readinto(b) - added:
method BinaryZlibFile.seek(offset, whence=…) - added:
method BinaryZlibFile.seekable() - added:
method BinaryZlibFile.tell() - added:
method BinaryZlibFile.writable() - added:
method BinaryZlibFile.write(data) - added:
method CompressorWrapper.compressor_file(fileobj, compresslevel=…) - added:
method CompressorWrapper.decompressor_file(fileobj) - added:
method LZ4CompressorWrapper.compressor_file(fileobj, compresslevel=…) - added:
method LZ4CompressorWrapper.decompressor_file(fileobj) - added:
method LZMACompressorWrapper.compressor_file(fileobj, compresslevel=…) - added:
method LZMACompressorWrapper.decompressor_file(fileobj) - added:
method XZCompressorWrapper.compressor_file(fileobj, compresslevel=…) - added:
property BinaryZlibFile.closed - added:
variable LZ4_NOT_INSTALLED_ERROR - added:
variable bz2 - added:
variable lz4 - added:
variable lzma
- added:
function delete_folder(folder_path, onerror=…) - added:
variable RM_SUBDIRS_N_RETRY - added:
variable WindowsError
- added:
function get_memmapping_executor(n_jobs, timeout=…, initializer=…, initargs=…, **backend_args)
- added:
class CloudPickler(Pickler) - added:
constructor CloudPickler(file, protocol=…) - added:
field CloudPickler.dispatch - added:
function cell_set(cell, value) - added:
function dump(obj, file, protocol=…) - added:
function dumps(obj, protocol=…) - added:
function dynamic_subimport(name, vars) - added:
function instance(cls) - added:
function is_tornado_coroutine(func) - added:
function islambda(func) - added:
function print_exec(stream) - added:
function subimport(name) - added:
method CloudPickler.dump(obj) - added:
method CloudPickler.extract_func_data(func) - added:
method CloudPickler.inject_addons() - added:
method CloudPickler.save_attrgetter(obj) - added:
method CloudPickler.save_buffer(obj) - added:
method CloudPickler.save_builtin_function(obj) - added:
method CloudPickler.save_classmethod(obj) - added:
method CloudPickler.save_codeobject(obj) - added:
method CloudPickler.save_dynamic_class(obj) - added:
method CloudPickler.save_ellipsis(obj) - added:
method CloudPickler.save_file(obj) - added:
method CloudPickler.save_function(obj, name=…) - added:
method CloudPickler.save_function_tuple(func) - added:
method CloudPickler.save_global(obj, name=…, pack=…) - added:
method CloudPickler.save_inst(obj) - added:
method CloudPickler.save_instancemethod(obj) - added:
method CloudPickler.save_itemgetter(obj) - added:
method CloudPickler.save_logger(obj) - added:
method CloudPickler.save_memoryview(obj) - added:
method CloudPickler.save_module(obj) - added:
method CloudPickler.save_not_implemented(obj) - added:
method CloudPickler.save_property(obj) - added:
method CloudPickler.save_root_logger(obj) - added:
method CloudPickler.save_weakset(obj) - added:
static method CloudPickler.extract_code_globals(co) - added:
variable DEFAULT_PROTOCOL - added:
variable DELETE_GLOBAL - added:
variable EXTENDED_ARG - added:
variable GLOBAL_OPS - added:
variable HAVE_ARGUMENT - added:
variable LOAD_GLOBAL - added:
variable PY3 - added:
variable STORE_GLOBAL - added:
variable load - added:
variable loads - added:
variable method_descriptor
- added:
export ALL_COMPLETED - added:
export BrokenProcessPool - added:
export CancelledError - added:
export Executor - added:
export FIRST_COMPLETED - added:
export FIRST_EXCEPTION - added:
export Future - added:
export ProcessPoolExecutor - added:
export TimeoutError - added:
export as_completed - added:
export cpu_count - added:
export get_reusable_executor - added:
export wait
- added:
export get_context
- added:
class LokyContext(BaseContext) - added:
class LokyInitMainContext(LokyContext) - added:
field LokyContext.BoundedSemaphore - added:
field LokyContext.Condition - added:
field LokyContext.Event - added:
field LokyContext.Lock - added:
field LokyContext.Manager - added:
field LokyContext.Process - added:
field LokyContext.RLock - added:
field LokyContext.Semaphore - added:
field LokyContext.cpu_count - added:
field LokyInitMainContext.Process - added:
function assert_spawning(obj) - added:
function cpu_count() - added:
function get_context(method=…) - added:
function get_spawning_popen() - added:
function get_start_method() - added:
function set_spawning_popen(popen) - added:
function set_start_method(method, force=…) - added:
method LokyContext.BoundedSemaphore(value) - added:
method LokyContext.Condition(lock=…) - added:
method LokyContext.Event() - added:
method LokyContext.Lock() - added:
method LokyContext.Manager() - added:
method LokyContext.Pipe(duplex=…) - added:
method LokyContext.Queue(maxsize=…, reducers=…) - added:
method LokyContext.RLock() - added:
method LokyContext.Semaphore(value=…) - added:
method LokyContext.SimpleQueue(reducers=…) - added:
method LokyContext.get_context() - added:
method LokyContext.get_start_method() - added:
variable BaseContext - added:
variable START_METHODS - added:
variable ctx_loky - added:
variable popen_attr
- added:
function close_fds(keep_fds) - added:
function fork_exec(cmd, keep_fds) - added:
variable FileNotFoundError
- added:
class LokyManager(SyncManager) - added:
method LokyManager.start(initializer=…, initargs=…)
- added:
class Popen(object) - added:
constructor Popen(process_obj) - added:
field Popen.DupFd - added:
field Popen.method - added:
method Popen.duplicate_for_child(fd) - added:
method Popen.poll(flag=…) - added:
method Popen.terminate() - added:
method Popen.wait(timeout=…) - added:
static method Popen.thread_is_spawning()
- added:
class Popen(_Popen) - added:
constructor Popen(process_obj) - added:
field Popen.method - added:
method Popen.duplicate_for_child(handle)
- added:
class AuthenticationKey(bytes) - added:
class LokyInitMainProcess(LokyProcess) - added:
class LokyProcess(BaseProcess) - added:
constructor LokyInitMainProcess(group=…, target=…, name=…, args=…, kwargs=…, daemon=…) - added:
constructor LokyProcess(group=…, target=…, name=…, args=…, kwargs=…, daemon=…, init_main_module=…) - added:
method LokyProcess.start() - added:
property LokyProcess.authkey - added:
property LokyProcess.sentinel
- added:
class Queue(mp_Queue) - added:
class SimpleQueue(mp_SimpleQueue) - added:
constructor Queue(maxsize=…, reducers=…, ctx=…) - added:
constructor SimpleQueue(reducers=…, ctx=…) - added:
export Full - added:
method SimpleQueue.get() - added:
method SimpleQueue.put(obj)
- added:
class CustomizableLokyPickler(Pickler) - added:
constructor CustomizableLokyPickler(writer, reducers=…, protocol=…) - added:
function dump(obj, file, reducers=…, protocol=…) - added:
method CustomizableLokyPickler.register(type, reduce_func) - added:
static method CustomizableLokyPickler.dumps(obj, reducers=…, protocol=…) - added:
static method CustomizableLokyPickler.loads(buf) - added:
variable Pickler - added:
variable mpickle - added:
variable register
- added:
variable ensure_running - added:
variable register - added:
variable unregister
- added:
class FileExistsError(OSError) - added:
class FileNotFoundError(OSError) - added:
class SemLock(object) - added:
class timespec(ctypes.Structure) - added:
constructor SemLock(kind, value, maxvalue, name=…, unlink_now=…) - added:
function get_ident() - added:
function raiseFromErrno() - added:
function sem_unlink(name) - added:
method SemLock.acquire(block=…, timeout=…) - added:
method SemLock.release() - added:
variable RECURSIVE_MUTEX - added:
variable SEMAPHORE - added:
variable SEM_FAILURE - added:
variable SEM_OFLAG - added:
variable SEM_PERM - added:
variable pthread
- added:
function get_executable() - added:
function get_preparation_data(name, init_main_module=…) - added:
function import_main_path(main_path) - added:
function prepare(data) - added:
variable WINEXE - added:
variable WINSERVICE - added:
variable old_main_modules
- added:
class BoundedSemaphore(Semaphore) - added:
class Condition(object) - added:
class Event(object) - added:
class Lock(SemLock) - added:
class RLock(SemLock) - added:
class Semaphore(SemLock) - added:
constructor BoundedSemaphore(value=…) - added:
constructor Condition(lock=…) - added:
constructor Event() - added:
constructor Lock() - added:
constructor RLock() - added:
constructor Semaphore(value=…) - added:
method Condition.notify() - added:
method Condition.notify_all() - added:
method Condition.wait(timeout=…) - added:
method Condition.wait_for(predicate, timeout=…) - added:
method Event.clear() - added:
method Event.is_set() - added:
method Event.set() - added:
method Event.wait(timeout=…) - added:
method Semaphore.get_value()
- added:
function recursive_terminate(process, use_psutil=…) - added:
variable psutil
- added:
class CloudpickledObjectWrapper(object) - added:
constructor CloudpickledObjectWrapper(obj) - added:
variable cloudpickle - added:
variable wrap_cache
- added:
class BrokenProcessPool(_BPPException) - added:
class LokyRecursionError(RuntimeError) - added:
class ProcessPoolExecutor(_base.Executor) - added:
class ShutdownExecutorError(RuntimeError) - added:
class TerminatedWorkerError(BrokenProcessPool) - added:
constructor ProcessPoolExecutor(max_workers=…, job_reducers=…, result_reducers=…, timeout=…, context=…, initializer=…, initargs=…) - added:
method ProcessPoolExecutor.map(fn, *iterables, **kwargs) - added:
method ProcessPoolExecutor.shutdown(wait=…, kill_workers=…) - added:
method ProcessPoolExecutor.submit(fn, *args, **kwargs) - added:
variable BrokenExecutor - added:
variable EXTRA_QUEUED_CALLS - added:
variable MAX_DEPTH - added:
variable ProcessLookupError - added:
variable process_pool_executor_at_exit
- added:
function get_reusable_executor(max_workers=…, context=…, timeout=…, kill_workers=…, reuse=…, job_reducers=…, result_reducers=…, initializer=…, initargs=…)
- added:
variable full_argspec_fields - added:
variable full_argspec_type
- removed:
field MemorizedFunc.get_output_dir - removed:
function concurrency_safe_write(to_write, filename, write_func) - removed:
variable CacheItemInfo - changed:
constructor MemorizedFunc(func, cachedir, ignore=…, mmap_mode=…, compress=…, verbose=…, timestamp=…) → constructor MemorizedFunc(func, location, backend=…, ignore=…, mmap_mode=…, compress=…, verbose=…, timestamp=…) - changed:
constructor MemorizedResult(cachedir, func, argument_hash, mmap_mode=…, verbose=…, timestamp=…, metadata=…) → constructor MemorizedResult(location, func, args_id, backend=…, mmap_mode=…, verbose=…, timestamp=…, metadata=…) - changed:
constructor Memory(cachedir, mmap_mode=…, compress=…, verbose=…, bytes_limit=…) → constructor Memory(location=…, backend=…, cachedir=…, mmap_mode=…, compress=…, verbose=…, bytes_limit=…, backend_options=…) - added:
function register_store_backend(backend_name, backend) - added:
property MemorizedResult.argument_hash - added:
property Memory.cachedir
- added:
method TransportableException.unwrap(context_message=…)
- removed:
class BinaryGzipFile(BinaryZlibFile) - removed:
class BinaryZlibFile(io.BufferedIOBase) - removed:
constructor BinaryZlibFile(filename, mode=…, compresslevel=…) - removed:
field BinaryGzipFile.wbits - removed:
field BinaryZlibFile.wbits - removed:
method BinaryZlibFile.close() - removed:
method BinaryZlibFile.fileno() - removed:
method BinaryZlibFile.read(size=…) - removed:
method BinaryZlibFile.readable() - removed:
method BinaryZlibFile.readinto(b) - removed:
method BinaryZlibFile.seek(offset, whence=…) - removed:
method BinaryZlibFile.seekable() - removed:
method BinaryZlibFile.tell() - removed:
method BinaryZlibFile.writable() - removed:
method BinaryZlibFile.write(data) - removed:
property BinaryZlibFile.closed - removed:
variable lzma
- removed:
function parallel_backend(backend, n_jobs=…, **backend_params) - changed:
constructor BatchedCalls(iterator_slice) → constructor BatchedCalls(iterator_slice, backend, pickle_cache=…) - changed:
constructor Parallel(n_jobs=…, backend=…, verbose=…, timeout=…, pre_dispatch=…, batch_size=…, temp_folder=…, max_nbytes=…, mmap_mode=…) → constructor Parallel(n_jobs=…, backend=…, verbose=…, timeout=…, pre_dispatch=…, batch_size=…, temp_folder=…, max_nbytes=…, mmap_mode=…, prefer=…, require=…) - changed:
function get_active_backend() → function get_active_backend(prefer=…, require=…, verbose=…) - added:
class CloudpickledObjectWrapper(object) - added:
class parallel_backend(object) - added:
constructor CloudpickledObjectWrapper(obj) - added:
constructor parallel_backend(backend, n_jobs=…, **backend_params) - added:
method parallel_backend.unregister() - added:
variable DEFAULT_THREAD_BACKEND - added:
variable EXTERNAL_BACKENDS - added:
variable VALID_BACKEND_CONSTRAINTS - added:
variable VALID_BACKEND_HINTS
- removed:
class ArrayMemmapReducer(object) - removed:
class MemmapingPool(PicklingPool) - removed:
constructor ArrayMemmapReducer(max_nbytes, temp_folder, mmap_mode, verbose=…, context_id=…, prewarm=…) - removed:
constructor MemmapingPool(processes=…, temp_folder=…, max_nbytes=…, mmap_mode=…, forward_reducers=…, backward_reducers=…, verbose=…, context_id=…, prewarm=…, **kwargs) - removed:
function delete_folder(folder_path) - removed:
function has_shareable_memory(a) - removed:
function reduce_memmap(a) - removed:
method MemmapingPool.terminate() - removed:
variable FILE_PERMISSIONS - removed:
variable FOLDER_PERMISSIONS - removed:
variable SYSTEM_SHARED_MEM_FS - added:
class MemmappingPool(PicklingPool) - added:
constructor MemmappingPool(processes=…, temp_folder=…, max_nbytes=…, mmap_mode=…, forward_reducers=…, backward_reducers=…, verbose=…, context_id=…, prewarm=…, **kwargs) - added:
method MemmappingPool.terminate()