Title: macOS failing on GitHub Actions: test_pythoninfo.GetInfoTests · Issue #422 · python/pyperformance · GitHub
Open Graph Title: macOS failing on GitHub Actions: test_pythoninfo.GetInfoTests · Issue #422 · python/pyperformance
X Title: macOS failing on GitHub Actions: test_pythoninfo.GetInfoTests · Issue #422 · python/pyperformance
Description: We should handle the directory issue on GA but as I commented let's create an issue and solve it separately. FAIL: test_venv (test_pythoninfo.GetInfoTests.test_venv) ---------------------------------------------------------------------- ...
Open Graph Description: We should handle the directory issue on GA but as I commented let's create an issue and solve it separately. FAIL: test_venv (test_pythoninfo.GetInfoTests.test_venv) -------------------------------...
X Description: We should handle the directory issue on GA but as I commented let's create an issue and solve it separately. FAIL: test_venv (test_pythoninfo.GetInfoTests.test_venv) ---------------------------...
Opengraph URL: https://github.com/python/pyperformance/issues/422
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS failing on GitHub Actions: test_pythoninfo.GetInfoTests","articleBody":"We should handle the directory issue on GA but as I commented let's create an issue and solve it separately.\r\n\r\n````\r\nFAIL: test_venv (test_pythoninfo.GetInfoTests.test_venv)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/runner/work/pyperformance/pyperformance/pyperformance/tests/test_pythoninfo.py\", line 87, in test_venv\r\n self.assertEqual(vars(info), vars(expected))\r\nAssertionError: {'sys[21 chars]le='/private/var/folders/24/8k48jl6d249_n_qfxw[1240 chars]r\\n'} != {'sys[21 chars]le='/var/folders/24/8k48jl6d249_n_qfxwsl6xvm00[1216 chars]True}\r\n {'base_executable': '/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12',\r\n 'executable_realpath': '/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12',\r\n 'is_venv': True,\r\n 'pyc_magic_number': b'\\xcb\\r\\r\\n',\r\n 'stdlib_dir': '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12',\r\n- 'sys': namespace(executable='/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv/bin/python3',\r\n? --------\r\n\r\n+ 'sys': namespace(executable='/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv/bin/python3',\r\n- prefix='/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv',\r\n- exec_prefix='/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv',\r\n- _stdlib_dir='/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12',\r\n _base_executable='/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12',\r\n- base_prefix='/Library/Frameworks/Python.framework/Versions/3.12',\r\n- base_exec_prefix='/Library/Frameworks/Python.framework/Versions/3.12',\r\n version='3.12.0 (v3.12.0:0fb18b02c8, Oct 2 2023, 09:45:56) '\r\n '[Clang 13.0.0 (clang-1300.0.29.30)]',\r\n version_info=(3, 12, 0, 'final', 0),\r\n hexversion=51118320,\r\n api_version=1013,\r\n implementation=namespace(name='cpython',\r\n version=(3, 12, 0, 'final', 0)),\r\n- platform='darwin'),\r\n? -\r\n\r\n+ platform='darwin',\r\n+ prefix='/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv',\r\n+ exec_prefix='/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmprglvf6f4/venv',\r\n+ base_prefix='/Library/Frameworks/Python.framework/Versions/3.12',\r\n+ base_exec_prefix='/Library/Frameworks/Python.framework/Versions/3.12',\r\n+ _stdlib_dir='/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12'),\r\n 'sysconfig': namespace(paths=namespace(stdlib='/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12'),\r\n is_python_build=False)}\r\n\r\n````\r\n\r\nIn macOS, /var is a symlink to /private/var.\r\n\r\n\r\n_Originally posted by @corona10 in https://github.com/python/pyperformance/issues/320#issuecomment-1774012394_\r\n ","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2025-10-24T11:40:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/422/pyperformance/issues/422"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8e1f4c89-3535-339a-32c1-e985e0d62b9d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DCA:D0F38:736618:A20EA8:696A0AC5 |
| html-safe-nonce | 4920e236550826eaca16b358bfdbb6c50a444b5de76d70a8c15e7ee3b519fdc3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RENBOkQwRjM4OjczNjYxODpBMjBFQTg6Njk2QTBBQzUiLCJ2aXNpdG9yX2lkIjoiNTYxNzIyMTQwOTg5MzM4Njk0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef291c43f5554395dbca054fd577067608f3f113027318b5c29b0b49e697539e |
| hovercard-subject-tag | issue:3549033649 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/pyperformance/422/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5816620b859681952150e4936a82a450948fdefd78f206b0fbb81a3ff0c70665/python/pyperformance/issues/422 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5816620b859681952150e4936a82a450948fdefd78f206b0fbb81a3ff0c70665/python/pyperformance/issues/422 |
| og:image:alt | We should handle the directory issue on GA but as I commented let's create an issue and solve it separately. FAIL: test_venv (test_pythoninfo.GetInfoTests.test_venv) -------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width