FIX python-lz4 version comparison - #847
Conversation
The python-lz4 package has its version string prefixed with "v". As a result on nixos a test fails. This commit changes to pkg_resources.parse_version which normalizes the two schemas correctly and seems to be the recommended way to compare versions in python at the moment. Nixos build log https://hydra.nixos.org/build/88820470/nixlog/2.
Codecov Report
@@ Coverage Diff @@
## master #847 +/- ##
==========================================
- Coverage 94.55% 92.63% -1.92%
==========================================
Files 45 45
Lines 6407 6407
==========================================
- Hits 6058 5935 -123
- Misses 349 472 +123
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #847 +/- ##
==========================================
+ Coverage 84.15% 95.36% +11.2%
==========================================
Files 45 45
Lines 6406 6407 +1
==========================================
+ Hits 5391 6110 +719
+ Misses 1015 297 -718
Continue to review full report at Codecov.
|
|
Would be nice if we can get this merged. |
|
LGTM @ogrisel any idea why the scikit-learn tests are failing ? I tried with 0.20.3 on my fork but have another failing test, see https://travis-ci.org/aabadie/joblib/jobs/507830463 and aabadie@17b3ee3 |
|
The windows error is unrelated, let's merge. |
This reverts commit efe896a.
Release 0.14.1 Configure the loky workers' environment to mitigate oversubsription with nested multi-threaded code in the following case: allow for a suitable number of threads for numba (NUMBA_NUM_THREADS); enable Interprocess Communication for scheduler coordination when the nested code uses Threading Building Blocks (TBB) (ENABLE_IPC=1) joblib/joblib#951 Fix a regression where the loky backend was not reusing previously spawned workers. joblib/joblib#968 Revert joblib/joblib#847 to avoid using pkg_resources that introduced a performance regression under Windows: joblib/joblib#965
Release 0.14.1 Configure the loky workers' environment to mitigate oversubsription with nested multi-threaded code in the following case: allow for a suitable number of threads for numba (NUMBA_NUM_THREADS); enable Interprocess Communication for scheduler coordination when the nested code uses Threading Building Blocks (TBB) (ENABLE_IPC=1) joblib/joblib#951 Fix a regression where the loky backend was not reusing previously spawned workers. joblib/joblib#968 Revert joblib/joblib#847 to avoid using pkg_resources that introduced a performance regression under Windows: joblib/joblib#965
Release 0.14.1 Configure the loky workers' environment to mitigate oversubsription with nested multi-threaded code in the following case: allow for a suitable number of threads for numba (NUMBA_NUM_THREADS); enable Interprocess Communication for scheduler coordination when the nested code uses Threading Building Blocks (TBB) (ENABLE_IPC=1) joblib/joblib#951 Fix a regression where the loky backend was not reusing previously spawned workers. joblib/joblib#968 Revert joblib/joblib#847 to avoid using pkg_resources that introduced a performance regression under Windows: joblib/joblib#965
The
python-lz4package has its version string prefixed with "v". As a result on nixos a test fails.This commit changes to
pkg_resources.parse_versionwhich normalizesthe two schemas correctly and seems to be the recommended way to
compare versions in python at the moment.
Nixos build log https://hydra.nixos.org/build/88820470/nixlog/2.
Failing test: