From 9bd5de188d3904d40338d12260617fb592b0fe4e Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Fri, 6 Jan 2023 11:42:08 +0100 Subject: [PATCH] 1. add `get_env` and `has_env` functions to `ostap/utils/basic.py` to check/access environment variables in case-insensititve way 1. make use of `get_env` and `has_env` functions alsmost everywhere insted of `os.environ` 1. small reshuffle of code between `ostap.core.core` and `ostap.utils.basic` 1. first step towards usage of `ipyparallel` for parallel processing: ad trivial test `test_parallel_ipyparallel.py` 1. make use of `ipyparallel` parallelisation 1. add `Ostap::Math;:agm` and `Ostap::Math::ghm` fuctions 1. improve `ostap/parallel/parallel_ipyparallel.py` 1. improve printout from `ostap/core/config.py` 1. add `$OSTAPDIR/.ostaprc` in the list of configuraiton files for processing 1. provide `$OSTAPDIR/.ostaprc` configuration file 1. more reshuffling of the code for generic and specific parallelisation 1. more polishing for the updated configuration 1. more polishing for the configuration 1. rename `Parallel` section in configiration files into `Pathos` 1. rename and move some `pathos` specific code from `ostap/parallel/utils.py` to `ostap/parallel/pathos.py` --- CMakeLists.txt | 4 ++-- ReleaseNotes/release_notes.md | 2 ++ ReleaseNotes/v1.9.6.0.md | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 ReleaseNotes/v1.9.6.0.md diff --git a/CMakeLists.txt b/CMakeLists.txt index ce2d6f5f..39eca7fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ include(CTest) set(OSTAP_VERSION_MAJOR 1) set(OSTAP_VERSION_MINOR 9) -set(OSTAP_VERSION_PATCH 5) -set(OSTAP_VERSION_TWEAK 9) +set(OSTAP_VERSION_PATCH 6) +set(OSTAP_VERSION_TWEAK 0) set(OSTAP_VERSION ${OSTAP_VERSION_MAJOR}.${OSTAP_VERSION_MINOR}.${OSTAP_VERSION_PATCH}.${OSTAP_VERSION_TWEAK}) diff --git a/ReleaseNotes/release_notes.md b/ReleaseNotes/release_notes.md index 9da2d894..f5cd9694 100644 --- a/ReleaseNotes/release_notes.md +++ b/ReleaseNotes/release_notes.md @@ -1,3 +1,5 @@ +# v1.9.6.0 + ## New features: 1. add `get_env` and `has_env` functions to `ostap/utils/basic.py` to check/access environment variables in case-insensititve way diff --git a/ReleaseNotes/v1.9.6.0.md b/ReleaseNotes/v1.9.6.0.md new file mode 100644 index 00000000..d8612b86 --- /dev/null +++ b/ReleaseNotes/v1.9.6.0.md @@ -0,0 +1,24 @@ +# v1.9.6.0 + +## New features: + + 1. add `get_env` and `has_env` functions to `ostap/utils/basic.py` to check/access environment variables in case-insensititve way + 1. make use of `get_env` and `has_env` functions alsmost everywhere insted of `os.environ` + 1. small reshuffle of code between `ostap.core.core` and `ostap.utils.basic` + 1. first step towards usage of `ipyparallel` for parallel processing: ad trivial test `test_parallel_ipyparallel.py` + 1. make use of `ipyparallel` parallelisation + 1. add `Ostap::Math;:agm` and `Ostap::Math::ghm` fuctions + 1. improve `ostap/parallel/parallel_ipyparallel.py` + 1. improve printout from `ostap/core/config.py` + 1. add `$OSTAPDIR/.ostaprc` in the list of configuraiton files for processing + 1. provide `$OSTAPDIR/.ostaprc` configuration file + 1. more reshuffling of the code for generic and specific parallelisation + 1. more polishing for the updated configuration + 1. more polishing for the configuration + +## Backward incompatible: + + 1. rename `Parallel` section in configiration files into `Pathos` + 1. rename and move some `pathos` specific code from `ostap/parallel/utils.py` to `ostap/parallel/pathos.py` + +## Bug fixes: