Skip to content

Fix cachedir deprecation message#720

Merged
ogrisel merged 1 commit intojoblib:masterfrom
jorisvandenbossche:patch-1
Jul 23, 2018
Merged

Fix cachedir deprecation message#720
ogrisel merged 1 commit intojoblib:masterfrom
jorisvandenbossche:patch-1

Conversation

@jorisvandenbossche
Copy link
Copy Markdown
Contributor

The warning currently says (from sklearn tests on travis):

E           DeprecationWarning: The 'cachedir' parameter has been deprecated in version 0.12 and will be removed in version 0.14.
E           You provided "cachedir='/tmp/tmpwewp89mm'", use "location=None" instead.

So it gives an incorrect alternative of location=None I think, while I assume it needs to be the same value as passed to cachedir? (which I did in this PR)

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 20, 2018

Codecov Report

Merging #720 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #720      +/-   ##
==========================================
- Coverage   95.18%   95.13%   -0.06%     
==========================================
  Files          40       40              
  Lines        5758     5758              
==========================================
- Hits         5481     5478       -3     
- Misses        277      280       +3
Impacted Files Coverage Δ
joblib/memory.py 95.33% <ø> (ø) ⬆️
joblib/_parallel_backends.py 97.2% <0%> (-1.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c675d5d...6d4b8d9. Read the comment docs.

@ogrisel
Copy link
Copy Markdown
Contributor

ogrisel commented Jul 23, 2018

Thanks for the fix.

@ogrisel ogrisel merged commit b13ba42 into joblib:master Jul 23, 2018
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Aug 22, 2018
* tag '0.12.2':
  Release 0.12.2
  Pin numpy version for sklearn test (joblib#734)
  Loky 2.2.0 (joblib#733)
  [MRG] BatchedCalls backward compat (joblib#732)
  Better detection for the cloudpickle wrapper (joblib#726)
  DOC: attempt to fix the build on RTD (joblib#725)
  Include dask backend to fix nested parallelism and auto-scatter (joblib#722)
  FIX: re-establish argument_hash attribute for backward compat (joblib#716)
  Fix cachedir deprecation message (joblib#720)
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Aug 22, 2018
* releases:
  Release 0.12.2
  Pin numpy version for sklearn test (joblib#734)
  Loky 2.2.0 (joblib#733)
  [MRG] BatchedCalls backward compat (joblib#732)
  Better detection for the cloudpickle wrapper (joblib#726)
  DOC: attempt to fix the build on RTD (joblib#725)
  Include dask backend to fix nested parallelism and auto-scatter (joblib#722)
  FIX: re-establish argument_hash attribute for backward compat (joblib#716)
  Fix cachedir deprecation message (joblib#720)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants