pitrou commented on a change in pull request #11479:
URL: https://github.com/apache/arrow/pull/11479#discussion_r747431462



##########
File path: docs/source/python/dataset.rst
##########
@@ -15,6 +15,16 @@
 .. specific language governing permissions and limitations
 .. under the License.
 
+.. ipython:: python
+    :suppress:
+
+    # set custom tmp working directory for files that create data
+    import os
+    import tempfile
+
+    temp_working_dir = tempfile.mkdtemp(prefix="pyarrow-")
+    os.chdir(temp_working_dir)

Review comment:
       > building the docs seems to already add lots of "profile_..." dirs to 
/tmp, so having a few more "pyarrow-..." directories in there doesn't seem to 
matter much
   
   Well, it would be nice if we could get rid of the "profile" dirs as well, do 
you know where they come from?
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to