Title: Provide single source for interpreter configuration information · Issue #1340 · microsoft/python-language-server · GitHub
Open Graph Title: Provide single source for interpreter configuration information · Issue #1340 · microsoft/python-language-server
X Title: Provide single source for interpreter configuration information · Issue #1340 · microsoft/python-language-server
Description: Currently InterpreterConfiguration is fully populated in tests while being almost empty in live product since paths are calculated. Thus some code in PythonLibraryPath only works in tests. Persistent storage needs to know module location...
Open Graph Description: Currently InterpreterConfiguration is fully populated in tests while being almost empty in live product since paths are calculated. Thus some code in PythonLibraryPath only works in tests. Persiste...
X Description: Currently InterpreterConfiguration is fully populated in tests while being almost empty in live product since paths are calculated. Thus some code in PythonLibraryPath only works in tests. Persiste...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1340
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide single source for interpreter configuration information","articleBody":"Currently `InterpreterConfiguration` is fully populated in tests while being almost empty in live product since paths are calculated. Thus some code in `PythonLibraryPath` only works in tests.\r\n\r\nPersistent storage needs to know module location in order to calculate unique names with versions. We should have something like `IPythonConfigurationService` which then can be used to obtain actual data. \r\n\r\nWe can either completely eliminate `InterpreterConfiguration` and have everything rely on the interface and mock it in tests or remove some unused fields from the struct and have new service return `InterpreterConfiguration` properly populated.\r\n\r\nThe service can also handle changes to the configuration after `pip install` or user updates to the client app settings.","author":{"url":"https://github.com/MikhailArkhipov","@type":"Person","name":"MikhailArkhipov"},"datePublished":"2019-07-16T17:19:09Z","url":"https://github.com/microsoft/python-language-server/issues/1340"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:75a95183-ee63-ab19-525a-95abb15dafae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E33A:3786C9:1E860F:27CCF8:6AFE57D2 |
| html-safe-nonce | ac9da41888dc1b8a3d8f710d874b0fb3cadf79377bf755a4958b398239290b8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzNBOjM3ODZDOToxRTg2MEY6MjdDQ0Y4OjZBRkU1N0QyIiwidmlzaXRvcl9pZCI6IjM4MjkyODA0OTk0NDkwOTIwNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4906af068824c9844ddd0adaf75b20b9698d5be0ab4cc305abde6cd994e076fd |
| hovercard-subject-tag | issue:468772193 |
| 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/microsoft/python-language-server/1340/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6db997752d2683e69bb1ddeb04ffdea3334feb54eb50b6c84331c40db863d2c0/microsoft/python-language-server/issues/1340 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6db997752d2683e69bb1ddeb04ffdea3334feb54eb50b6c84331c40db863d2c0/microsoft/python-language-server/issues/1340 |
| og:image:alt | Currently InterpreterConfiguration is fully populated in tests while being almost empty in live product since paths are calculated. Thus some code in PythonLibraryPath only works in tests. Persiste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikhailArkhipov |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width