René's URL Explorer Experiment


Title: Support environments without a home dir or writable file system by mgiuca-google · Pull Request #1824 · matplotlib/matplotlib · GitHub

Open Graph Title: Support environments without a home dir or writable file system by mgiuca-google · Pull Request #1824 · matplotlib/matplotlib

X Title: Support environments without a home dir or writable file system by mgiuca-google · Pull Request #1824 · matplotlib/matplotlib

Description: matplotlib: plotting with Python. Contribute to matplotlib/matplotlib development by creating an account on GitHub.

Open Graph Description: This patch makes it possible to import and use matplotlib on a system where the user has no $HOME directory, and furthermore, on which there is no writable file system. It does this by: Falling ba...

X Description: This patch makes it possible to import and use matplotlib on a system where the user has no $HOME directory, and furthermore, on which there is no writable file system. It does this by: Falling ba...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/1824

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7903ec3b-ee33-b323-acc3-35da222c4271
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB3C:2D56BD:EC1E53:140E349:6A556972
html-safe-noncec9df1f1c217be3b235e612b04f21417598cfae330b4475ea70f6908b9f9c2df3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjNDOjJENTZCRDpFQzFFNTM6MTQwRTM0OTo2QTU1Njk3MiIsInZpc2l0b3JfaWQiOiI0MjQ5MTEwMzY1NzU2Mjg3MzQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac603066f73d09a9d09c5f20d40ccb6380cf306d937f9d1bae4b308d32dbd528b9
hovercard-subject-tagpull_request:4630756
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/1824/commits
twitter:imagehttps://opengraph.githubassets.com/07d0fd41766ff81ff942f9f163b8a084d97c73a6b8042172fdd42d89d55ad44a/matplotlib/matplotlib/pull/1824
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/07d0fd41766ff81ff942f9f163b8a084d97c73a6b8042172fdd42d89d55ad44a/matplotlib/matplotlib/pull/1824
og:image:altThis patch makes it possible to import and use matplotlib on a system where the user has no $HOME directory, and furthermore, on which there is no writable file system. It does this by: Falling ba...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemgiuca-google
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8201d0b7bc32164c4662de52242e463a356df543
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/1824/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F1824%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F1824%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/1824/commits
Reloadhttps://github.com/matplotlib/matplotlib/pull/1824/commits
Reloadhttps://github.com/matplotlib/matplotlib/pull/1824/commits
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1824/commits
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/1824/commits
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 409 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
pelsonhttps://github.com/pelson
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
mgiuca-google:no-home-dirhttps://github.com/mgiuca-google/matplotlib/tree/no-home-dir
Conversationhttps://github.com/matplotlib/matplotlib/pull/1824
Commits17 (17)https://github.com/matplotlib/matplotlib/pull/1824/commits
Checkshttps://github.com/matplotlib/matplotlib/pull/1824/checks
Files changedhttps://github.com/matplotlib/matplotlib/pull/1824/files
Support environments without a home dir or writable file systemhttps://github.com/matplotlib/matplotlib/pull/1824/commits#top
pelsonhttps://github.com/pelson
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
mgiuca-google:no-home-dirhttps://github.com/mgiuca-google/matplotlib/tree/no-home-dir
shutil.move: Guard against IOError and print warnings instead of crashing.https://github.com/matplotlib/matplotlib/pull/1824/commits/8083f251297adb06045677d3429414521de739d0
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
8083f25https://github.com/matplotlib/matplotlib/pull/1824/commits/8083f251297adb06045677d3429414521de739d0
https://github.com/matplotlib/matplotlib/tree/8083f251297adb06045677d3429414521de739d0
matplotlib: _is_writable_dir uses os.access instead of TemporaryFile.https://github.com/matplotlib/matplotlib/pull/1824/commits/a697a26b2bbaa5768981fd7f67753fb858eba727
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
a697a26https://github.com/matplotlib/matplotlib/pull/1824/commits/a697a26b2bbaa5768981fd7f67753fb858eba727
https://github.com/matplotlib/matplotlib/tree/a697a26b2bbaa5768981fd7f67753fb858eba727
Matplotlib now works when the user has no home directory.https://github.com/matplotlib/matplotlib/pull/1824/commits/4d654004c6b0eca84c6ed1a0353d51c2220f8213
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
4d65400https://github.com/matplotlib/matplotlib/pull/1824/commits/4d654004c6b0eca84c6ed1a0353d51c2220f8213
https://github.com/matplotlib/matplotlib/tree/4d654004c6b0eca84c6ed1a0353d51c2220f8213
get_configdir returns None if tempfile.gettempdir() is not available.https://github.com/matplotlib/matplotlib/pull/1824/commits/21921a3e77b07b666bd35bd365853d3c6d4fe9da
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
21921a3https://github.com/matplotlib/matplotlib/pull/1824/commits/21921a3e77b07b666bd35bd365853d3c6d4fe9da
https://github.com/matplotlib/matplotlib/tree/21921a3e77b07b666bd35bd365853d3c6d4fe9da
Deal with all cases where get_configdir might return None.https://github.com/matplotlib/matplotlib/pull/1824/commits/4987dcd9bc014dcef358cc509ba5c8780c0c5a63
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
4987dcdhttps://github.com/matplotlib/matplotlib/pull/1824/commits/4987dcd9bc014dcef358cc509ba5c8780c0c5a63
https://github.com/matplotlib/matplotlib/tree/4987dcd9bc014dcef358cc509ba5c8780c0c5a63
font_manager: Gracefully handle the case of there being no config dir.https://github.com/matplotlib/matplotlib/pull/1824/commits/64c797b3cd69afb2387ad888426f334a8b95f484
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
64c797bhttps://github.com/matplotlib/matplotlib/pull/1824/commits/64c797b3cd69afb2387ad888426f334a8b95f484
https://github.com/matplotlib/matplotlib/tree/64c797b3cd69afb2387ad888426f334a8b95f484
texmanager: Gracefully handle the case of there being no config dir upon import.https://github.com/matplotlib/matplotlib/pull/1824/commits/1dbd6def075678ed16bf7c830bf0537123fa31bd
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
1dbd6dehttps://github.com/matplotlib/matplotlib/pull/1824/commits/1dbd6def075678ed16bf7c830bf0537123fa31bd
https://github.com/matplotlib/matplotlib/tree/1dbd6def075678ed16bf7c830bf0537123fa31bd
finance: Gracefully handle the case of there being no config dir.https://github.com/matplotlib/matplotlib/pull/1824/commits/1adfc851f5a3713341c8bc0ab70b1be422396779
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
1adfc85https://github.com/matplotlib/matplotlib/pull/1824/commits/1adfc851f5a3713341c8bc0ab70b1be422396779
https://github.com/matplotlib/matplotlib/tree/1adfc851f5a3713341c8bc0ab70b1be422396779
Fix formatting and other misc code tweaks.https://github.com/matplotlib/matplotlib/pull/1824/commits/941efd435b51da1c05056b72ddd033063d1ea509
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
941efd4https://github.com/matplotlib/matplotlib/pull/1824/commits/941efd435b51da1c05056b72ddd033063d1ea509
https://github.com/matplotlib/matplotlib/tree/941efd435b51da1c05056b72ddd033063d1ea509
matplotlib.get_home: Removing catch-all except blocks.https://github.com/matplotlib/matplotlib/pull/1824/commits/ca6cd190995b0ca744b9163a66a715011d06146d
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
ca6cd19https://github.com/matplotlib/matplotlib/pull/1824/commits/ca6cd190995b0ca744b9163a66a715011d06146d
https://github.com/matplotlib/matplotlib/tree/ca6cd190995b0ca744b9163a66a715011d06146d
matplotlib, texmanager: Change WARNING prints into real warnings.https://github.com/matplotlib/matplotlib/pull/1824/commits/cc8cd1b0c58cc4ff6a681ce089ddbdb2c60be6f0
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
cc8cd1bhttps://github.com/matplotlib/matplotlib/pull/1824/commits/cc8cd1b0c58cc4ff6a681ce089ddbdb2c60be6f0
https://github.com/matplotlib/matplotlib/tree/cc8cd1b0c58cc4ff6a681ce089ddbdb2c60be6f0
matplotlib, texmanager: Only print the rename message if it actually succeeded.https://github.com/matplotlib/matplotlib/pull/1824/commits/f01ebe18d36f5945e96ed3174d41fd7b979488d1
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
f01ebe1https://github.com/matplotlib/matplotlib/pull/1824/commits/f01ebe18d36f5945e96ed3174d41fd7b979488d1
https://github.com/matplotlib/matplotlib/tree/f01ebe18d36f5945e96ed3174d41fd7b979488d1
finance: Fixed caching when cachename is supplied.https://github.com/matplotlib/matplotlib/pull/1824/commits/018ce266414175e050bddcfc597b1ceeedc364bc
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
018ce26https://github.com/matplotlib/matplotlib/pull/1824/commits/018ce266414175e050bddcfc597b1ceeedc364bc
https://github.com/matplotlib/matplotlib/tree/018ce266414175e050bddcfc597b1ceeedc364bc
matplotlib: Use cbook.mkdirs instead of os.makedirs.https://github.com/matplotlib/matplotlib/pull/1824/commits/6a4f1e77878e843503990d59e57780009bf277f3
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
6a4f1e7https://github.com/matplotlib/matplotlib/pull/1824/commits/6a4f1e77878e843503990d59e57780009bf277f3
https://github.com/matplotlib/matplotlib/tree/6a4f1e77878e843503990d59e57780009bf277f3
matplotlib: Remove catch for OSError.https://github.com/matplotlib/matplotlib/pull/1824/commits/4f55a278dd283f7542e4bc503c2f944c7cadb587
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
4f55a27https://github.com/matplotlib/matplotlib/pull/1824/commits/4f55a278dd283f7542e4bc503c2f944c7cadb587
https://github.com/matplotlib/matplotlib/tree/4f55a278dd283f7542e4bc503c2f944c7cadb587
matplotlib: _is_writable_dir checks that it is a directory.https://github.com/matplotlib/matplotlib/pull/1824/commits/81639a19d86c1514b3946716aa574459ec6a4008
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
81639a1https://github.com/matplotlib/matplotlib/pull/1824/commits/81639a19d86c1514b3946716aa574459ec6a4008
https://github.com/matplotlib/matplotlib/tree/81639a19d86c1514b3946716aa574459ec6a4008
matplotlib: _is_writable_dir tests with os.access and TemporaryFile.https://github.com/matplotlib/matplotlib/pull/1824/commits/83357738300983e6b31bedff7fa9bf4f3205e81a
https://github.com/mgiuca-google
mgiuca-googlehttps://github.com/matplotlib/matplotlib/commits?author=mgiuca-google
8335773https://github.com/matplotlib/matplotlib/pull/1824/commits/83357738300983e6b31bedff7fa9bf4f3205e81a
https://github.com/matplotlib/matplotlib/tree/83357738300983e6b31bedff7fa9bf4f3205e81a
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.