ENH introduce SKRUB_DATA_DIRECTORY envar to control the data directory#1215
Conversation
39c9f22 to
ceeb5ec
Compare
|
Can i instantiate a logger from stdlib? |
|
I see that we are using I did not recall because in scikit-learn, we using some verbose parameter + @jeromedockes can probably confirm it |
|
Whoops, it is actually late and I'm confusing the @jeromedockes could confirm |
|
we will need a small test to check that we write in the good directory as well. I think that we only need to test the |
|
the tests failure are not related to your PR but to #1217 :/ |
|
@jeromedockes i have fixed your comments. |
738923c to
ba61142
Compare
eed90a4 to
618d9ea
Compare
6163279 to
b366fe0
Compare
|
The PR is up-to-date and ready for review. |
jeromedockes
left a comment
There was a problem hiding this comment.
thanks a lot @thomass-dev ! sorry you needed to update it after fixing a bunch of conflicts and thanks for addressing all comments
|
oops sorry I forgot one last detail: if you could add a brief entry with your name and github handle in the changelog that would be great: Line 12 in 1831731 thanks! |
|
Thanks @jeromedockes , it should be okay? |
|
yes, perfect. thanks! |
Closes #1216.
Adding a new way to control the location of the data directory, using envar.
It can be useful when you want to set the data cache directory from outside the code, especially in CI.
In addition, fix the expansion of
~when passing programmatically an explicit path toget_data_home.