pyenv does not work with tests

Environment data

VS Code version: 1.36.1
Extension version (available under the Extensions sidebar): 2019.6.24221
OS and version: Ubuntu 18.04.2
Python version (& distribution if applicable, e.g. Anaconda): see below
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: pyenv
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): Jedi

Version: 1.36.1
Commit: 2213894ea0415ee8c85c5eea0d0ff81ecc191529
Date: 2019-07-08T22:55:08.091Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.18.0-25-generic snap

Expected behaviour
When hardcoding the python path to /home/user/.pyenv/shims/python3 that python should be used.
The above path is python version 3.7.4:
➞  pyenv versions
* system (set by /home/caleb/.pyenv/version)
  3.6.4

➞  python3 --version
Python 3.7.4

➞  which python3
/home/caleb/.pyenv/shims/python3

Actual behaviour
It's used in the terminal
❯ python --version
Python 3.7.4

But when running tests /usr/bin/python3 is used instead:

python /home/caleb/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/testing_tools/run_adapter.py discover pytest -- -s --cache-clear
Test Discovery failed:
Error: ============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-5.0.1, py-1.8.0, pluggy-0.12.0

Steps to reproduce:

Install pyenv via brew
In your settings add "python.pythonPath": "/home/user/.pyenv/shims/python3",. Replace user with your user.
Open up the terminal - it should be the expected version
Try discovering tests with a test that imports a module only in /home/user/.pyenv/shims/python3 -
expected result: tests discovered. Actual result: failure due to wrong version python being used

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
User belongs to experiment group 'ShowPlayIcon - control'
Starting Jedi Python language engine.
##########Linting Output - flake8##########
##########Linting Output - flake8##########
11,1,E,E402:module level import not at top of file
##########Linting Output - flake8##########
25,1,E,E303:too many blank lines (3)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

Console Logs

[Extension Host] debugger listening on port 12865
console.ts:134 [Extension Host] (node:22953) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:134
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:558
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:558
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:558
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 2ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Create file systemwatcher with pattern */python
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Create file systemwatcher with pattern */*/python
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Register Intepreter Watcher, Class name = p, completed in 4ms, Arg 1: , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Build the workspace interpreter watcher, Class name = h, completed in 5ms, Arg 1: , Return Value:
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detection of Python Interpreter for Command python3.7 and args  failed
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by CondaEnvFileService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Cached data exists getEnvironmentVariables,
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by CondaEnvService are of count 0
3console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by KnownPathsService are of count 10
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by CurrentPathService are of count 5
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from workspaceEnvs, Nothing Selected
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by VirtualEnvService are of count 3
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: setGlobalInterpreter, Class name = f, completed in 3ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 5ms, Arg 1: , Arg 2: , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 107ms, Arg 1: , Arg 2: , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 108ms, Arg 1: , Arg 2: , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = windowsRegistry, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from windowsRegistry
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = settings, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from settings
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Build the workspace interpreter watcher, Class name = h, completed in 6ms, Arg 1: , Return Value:
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy
2console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 12ms, Arg 1: , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking support of .NET, Class name = c, completed in 1ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_shas.py
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Error Python Extension: 2019-08-05 13:59:28: Failed to check if file needs to be fixed { [Error: ENOENT: no such file or directory, open '/home/caleb/Documents/fifteen5-deploy/.vscode/settings.json']  errno: -2,  code: 'ENOENT',  syscall: 'open',  path:   '/home/caleb/Documents/fifteen5-deploy/.vscode/settings.json' }
t.log @ console.ts:134
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:558
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:558
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:558
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from system, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Activation Commands received undefined for shell bash
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: getActivatedEnvironmentVariables, Class name = b, completed in 20ms, Arg 1: , Arg 2: undefined, Arg 3: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by PipEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: setGlobalInterpreter, Class name = f, completed in 42ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: setGlobalInterpreter, Class name = f, completed in 40ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: setGlobalInterpreter, Class name = f, completed in 36ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = currentPath, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from currentPath
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = cachedInterpreters, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from cachedInterpreters
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = system, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from system
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
3/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 59ms, Arg 1: , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by WorkspaceVirtualEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: All locators have completed locating, Class name = p, completed in 1ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from workspaceEnvs, Nothing Selected
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = workspaceEnvs, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from workspaceEnvs
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: autoSelectInterpreter, Class name = f, completed in 61ms, Arg 1: , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Error Python Extension: 2019-08-05 13:59:29: Failed to parse discovered Test [Error: ============================= test session starts ==============================platform linux -- Python 3.6.8, pytest-5.0.1, py-1.8.0, pluggy-0.12.0rootdir: /home/caleb/Documents/fifteen5-deploycollected 30 items / 10 errors / 20 selected                              ==================================== ERRORS ====================================___________________ ERROR collecting library/common_test.py ____________________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/common_test.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'___________ ERROR collecting library/test_django_migration_check.py ____________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/test_django_migration_check.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/test_django_migration_check.py:8: in     from common_test import mock_module_helper, set_module_args, AnsibleExitJsonlibrary/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'________________ ERROR collecting library/test_get_datetime.py _________________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/test_get_datetime.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/test_get_datetime.py:3: in     from common_test import mock_module_helper, set_module_args, AnsibleExitJsonlibrary/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'___________ ERROR collecting library/test_get_datetime_difference.py ___________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/test_get_datetime_difference.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/test_get_datetime_difference.py:3: in     from common_test import mock_module_helper, set_module_args, AnsibleExitJsonlibrary/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'_____________ ERROR collecting library/test_maintenance_warning.py _____________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/test_maintenance_warning.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/test_maintenance_warning.py:4: in     from common_test import mock_module_helper, set_module_args, AnsibleExitJsonlibrary/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'________ ERROR collecting library/test_send_git_sha_to_elasticsearch.py ________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/library/test_send_git_sha_to_elasticsearch.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:library/test_send_git_sha_to_elasticsearch.py:3: in     from common_test import mock_module_helper, set_module_args, AnsibleExitJsonlibrary/common_test.py:3: in     from ansible.compat.tests.mock import patchE   ModuleNotFoundError: No module named 'ansible'____________ ERROR collecting roles/release-notes/files/test_prs.py ____________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_prs.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:roles/release-notes/files/test_prs.py:3: in     from pytest_mock import MockFixtureE   ModuleNotFoundError: No module named 'pytest_mock'_______ ERROR collecting roles/release-notes/files/test_release_notes.py _______ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_release_notes.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:roles/release-notes/files/test_release_notes.py:1: in     import release_notesroles/release-notes/files/release_notes.py:10: in     from elasticsearch_publish import publishroles/release-notes/files/elasticsearch_publish.py:1: in     import elasticsearchE   ModuleNotFoundError: No module named 'elasticsearch'___________ ERROR collecting roles/release-notes/files/test_shas.py ____________ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_shas.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:roles/release-notes/files/test_shas.py:6: in     from git import RepoE   ModuleNotFoundError: No module named 'git'______ ERROR collecting roles/release-notes/files/test_ticket_labeler.py _______ImportError while importing test module '/home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_ticket_labeler.py'.Hint: make sure your test modules/packages have valid Python names.Traceback:roles/release-notes/files/test_ticket_labeler.py:1: in     from ticket_labeler import TicketLabelerroles/release-notes/files/ticket_labeler.py:5: in     import github3E   ModuleNotFoundError: No module named 'github3'!!!!!!!!!!!!!!!!!!!
Hint: make sure your test modules/packages have valid Python names.
Traceback:
library/common_test.py:3: in
from ansible.compat.tests.mock import patch
E   ModuleNotFoundError: No module named 'ansible'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.35 seconds ===========================
Traceback (most recent call last):
File "/home/caleb/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/testing_tools/run_adapter.py", line 16, in
main(tool, cmd, subargs, toolargs)
File "/home/caleb/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/testing_tools/adapter/main.py", line 90, in main
parents, result = run(toolargs, **subargs)
File "/home/caleb/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/testing_tools/adapter/pytest/_discovery.py", line 34, in discover
raise Exception('pytest discovery failed (exit code {})'.format(ec))
Exception: pytest discovery failed (exit code 2)
at ChildProcess.module.exports.exec.c.once (/home/caleb/.vscode/extensions/ms-python.python-2019.6.24221/out/client/extension.js:9:37440)
at Object.onceWrapper (events.js:273:13)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

t.log @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240
$logExtensionHostMessage @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3240
_doInvokeHandler @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3324
_invokeHandler @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3324
_receiveRequest @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3322
_receiveOneMessage @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3321
_protocol.onMessage.e @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:3319
fire @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:79
a @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:322
e @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:322
fire @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:79
_receiveMessage @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:331
S._socketDisposables.push._socketReader.onMessage.e @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:328
fire @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:79
acceptChunk @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:325
_register._socket.onData.e @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:324
t @ /snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:333
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
6/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Cached data exists getEnvironmentVariables, /home/caleb/Documents/fifteen5-deploy/roles/release-notes/files/test_shas.py
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = settings, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from settings
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 1ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by PipEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by WorkspaceVirtualEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from workspaceEnvs, Nothing Selected
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = workspaceEnvs, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from workspaceEnvs
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule windowsRegistry is nothing
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: setGlobalInterpreter, Class name = f, completed in 8ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: , Return Value: true
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = cachedInterpreters, result = exit
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 18ms, Arg 1: undefined, Arg 2: , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 33ms, Arg 1: undefined, Arg 2: , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 34ms, Arg 1: undefined, Arg 2: , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 1ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 0ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = windowsRegistry, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from windowsRegistry
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = settings, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from settings
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Shell path from user settings 'null'
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Shell path '/usr/bin/zsh'
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Shell path identified as shell 'zsh'
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Shell path from user env '/usr/bin/zsh'
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Shell identified as 'zsh'
2/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Cached data exists getEnvironmentVariables,
2/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 5ms, Arg 1: undefined, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Cached data exists getEnvironmentVariables,
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 1ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Create file systemwatcher with pattern */python
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Create file systemwatcher with pattern //python
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Display locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Notify locators are locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Detected refreshing of Interpreters, Class name = p, completed in 2ms, Arg 1: {}, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Register Intepreter Watcher, Class name = p, completed in 2ms, Arg 1: undefined, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Build the workspace interpreter watcher, Class name = h, completed in 4ms, Arg 1: undefined, Return Value:
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from system, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Current value for rule windowsRegistry is nothing
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by PipEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: setGlobalInterpreter, Class name = f, completed in 27ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: setGlobalInterpreter, Class name = f, completed in 14ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: setGlobalInterpreter, Class name = f, completed in 13ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: undefined, Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = currentPath, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from currentPath
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = system, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from system
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = cachedInterpreters, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from cachedInterpreters
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
3/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 62ms, Arg 1: undefined, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by PipEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by WorkspaceVirtualEnvService are of count 0
2/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Selected Interpreter from workspaceEnvs, Nothing Selected
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Rule = workspaceEnvs, result = runNextRule
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Executing next rule from workspaceEnvs
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: autoSelectInterpreter, Class name = f, completed in 81ms, Arg 1: undefined, Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Interpreters returned by WorkspaceVirtualEnvService are of count 0
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:29: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 13:59:30: Current value for rule workspaceEnvs is nothing
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 14:01:40: Cached data exists getEnvironmentVariables, extension-output-#5
/snap/code/11/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:240 [Extension Host] Info Python Extension: 2019-08-05 14:01:40: Cached data exists getEnvironmentVariables, Untitled-1

Also of note is that in the version bar at the bottom of VSCode it incorrectly shows the version as Python 3.6.8 64-bit ('.pyenv': pyenv)

And because there is huge amount of logs in the console logs here is what probably is the relevant section:
Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by CondaEnvService are of count 0
3console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: false
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by PipEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by KnownPathsService are of count 10
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by CurrentPathService are of count 5
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by WorkspaceVirtualEnvService are of count 0
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from workspaceEnvs, Nothing Selected
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = workspaceEnvs, result = runNextRule
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Executing next rule from workspaceEnvs
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Interpreters returned by VirtualEnvService are of count 3
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Checking whether locactors have completed locating, Class name = p, completed in 0ms, , Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Hide locator refreshing progress, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: All locators have completed locating, Class name = p, completed in 0ms, , Return Value: undefined
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule system is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown","displayName":"Python 3.6.8 64-bit"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule currentPath is {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Current value for rule windowsRegistry is nothing
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: setGlobalInterpreter, Class name = f, completed in 3ms, Arg 1: {"architecture":3,"path":"/usr/bin/python3","version":{"raw":"3.6.8-final","major":3,"minor":6,"patch":8,"prerelease":["final"],"build":[],"version":"3.6.8-final"},"sysPrefix":"/usr","fileHash":"4a74d3903c79a87b08f6001fa9ddf5e137a75d73a7101d8ee065fde1ca21121093865ee842472e19ae3df71190085628c87b338c637cbb852aa15b6413b29383","type":"Unknown"}, Arg 2: <argument cannot be serialized for logging>, Return Value: true
console.ts:134 [Extension Host] Info Python Extension: 2019-08-05 13:59:28: Rule = cachedInterpreters, result = exit
console.ts:134 [Extension Host]

As you can see above somehow it chooses /usr/bin/python3 as the python path

Please run the following in your terminal and let me know what you get:
> which python
> which python3
> python3 --version
> /home/caleb/.pyenv/shims/python3 -c "import sys;print(sys.executabale)"
> /home/caleb/.pyenv/shims/python3 ---version

Please ensure you run this in the same instance of shell.

The results are the following:
python: aliased to python3
/home/caleb/.pyenv/shims/python3
Python 3.6.4
/home/caleb/.pyenv/versions/3.6.4/bin/python3
Python 3.6.4

Looks like you have a funky setup.
If you go back to your original issue post and have a look at the Expected behaviour , then python3 --version prints out Python 3.7.4, however in the previous comment its printing 3.6.4.
Please double check your environment, its obvious something isn't right at your end. As python3 --version is returning different values at different points in time.

If you go back to your original issue post and have a look at the Expected behaviour , then python3 --version prints out Python 3.7.4, however in the previous comment its printing 3.6.4.

That's because in the expected behavior section I'm not in my virtual directory.

If I run outside my virtual directory the results are:
python: aliased to python3
/home/caleb/.pyenv/shims/python3
Python 3.7.4
/home/linuxbrew/.linuxbrew/opt/python/bin/python3.7
Python 3.7.4

If I run outside my virtual directory the results are:

I'm confused. In the section above you have indicated this isn't in a virtual environment.
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Are you mixing the two of pyenv and virtual envs ?
Sorry for asking these questions, however I'm confused with your setup.
Please note, if the terminal returns Python 3.6.4 (thats out side of control of the extension), then the extension will also get the same information. I.e. the extension is returning the same information you get when you're in a terminal.
As you've mentioned If I run outside my virtual directory the results are:, this leads me to believe that you are manually running some steps (to activate the environment in the terminal), and the extension is not seeing this environment as its not configured as a global setup.
If this is the case, unfortunately we do not support such a setup.
Please ensure it is configured as a global/default environment so the shim is detected globally, without having to activate it every time.
I believe this is necessary in the case of pyenv due to the way the shims are dynamically pointed to different executables.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


Star ranking of bodegas

Is your feature request related to a problem? Please describe.
It'd be nice for users to be able to rank their bodegas
Describe the solution you'd like

5 star system
Filter by minimum stars
Score to appear on social media sharing link's feature image
Sort by score in bottom panel
Statistics of top ranked ones

Describe alternatives you've considered
Does this penalize more discrete but as-respectable places, which may not get the attention they deserve

Completed in v2.2


The time slicing does not work

This is from  https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=90277
The following plot_data_plane command to request time index 0 works:
/d3/projects/MET/MET_releases/met-8.1/bin/plot_data_plane tmp_test_mod.nc tmp_test.ps 'name="tmp"; level="(0,0,,)";' -v 4
And it lists the timing info as:
DEBUG 4:      valid time: 20120101_210000
But it does not work if '20120101_210000' is given instead of index 0:
/d3/projects/MET/MET_releases/met-8.1/bin/plot_data_plane tmp_test_mod.nc tmp_test.ps 'name="tmp"; level="(20120101_210000,0,,)";' -v 4
The data files are at /d3/projects/MET/MET_Help/cash_data_20190524.

Created bugfix_1147_time_slicing branch and merged to master_v8.1 and develop


Fix to download eigen library

URL for eigen library is extracted from tensorflow/workspace.bzl,
but expression is used to construct the URL in the code,
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/workspace.bzl#L22
so extracted URL using simple grep is not correct.
This change get version code for eigen library from the file,
and construct URL with it.
It looks cmake handles the URL in same way:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/cmake/external/eigen.cmake#L13

Can one of the admins verify this patch?

I find the change is done in the commit: 65038b084059cf934df50fa86dba5b0e765f9d65

I have updated the commit
since conflict occurred with #4575 .

Thank you for your contribution. Ideally I would like to update this by having it pull the URL out of the workspace.bzl file the same way it gets pulled out of other files.

@jart
I'm not sure what is your expected way,

Unlike URLs for other libraries in download_dependencies.sh (GEMMLOWP_URL, GOOGLETEST_URL, PROTOBUF_URL, RE2_URL), single grep cannot extract EIGEN_URL, because the URL is declared as
    url = "http://bitbucket.org/eigen/eigen/get/" + eigen_version + ".tar.gz",

in workspace.bzl.

Unlike CMake, string(REGEX MATCH ...) cannot use in Makefile.

Do you mean it is preferable to modify the declaration for eigen library in same way in workspace.bzl, not to use varible?
  native.new_http_archive(
    name = "eigen_archive",
    url = "http://bitbucket.org/eigen/eigen/get/46ee714e25d5.tar.gz",
    sha256 = "d2ba02303c20d6ddc1a922f7e0e176ef841514545e053388845359aa62176912",
    strip_prefix = "eigen-eigen-46ee714e25d5",
    build_file = str(Label("//:eigen.BUILD")),
  )

to enable to use single grep to extract eigen URL?

Jenkins, test this please


Dropdown clipped in panel

I have a dropdown in a panel and the dropdown is getting clipped.  What is the best way to allow the dropdown to be displayed beyond the bounds of the panel?

http://silviomoreto.github.io/bootstrap-select/examples/#container


Easygdf Dict Interface

At the moment, blocks in the GDF file are returned as a list which mirrors how they are stored in the file. However, this does make it more difficult to index entries in the file as an end user. Assuming there are no duplicate keys in the blocks list, it could be nice to return the data as a dict instead of a list. Since I would just be calling the original code that handles list-type block data I can have it return an error in the case of duplicate keys and tell the end user to handle it on their own with the list version.

The current naming of load and save isn't the best and migrating to the dict interface will require renaming anyways so this is a good time to think about this topic.
Other python libraries seem to use either load/dump or open/save. Since I am moving to a dict interface, but want to maintain backwards compatibility, I don't think I can keep the current name load without causing issues. That might always have to refer to the function that loads blocks of data. Instead, what I could do is change to the names open/save (like in pillow, for instance). That way the open function gets a new name which is unique to the dict interface. The save function can figure out which version to use based on the objects passed to it.
Since I am also planning for pandas compatibility, I also worry about the naming for those functions. The pandas naming convention is read_gdf and to_gdf.  The issue is that there are two different standard files that can be read/written: screens/touts and initial distributions. I am kind of against using one function to handle both of them since it can be confusing to get two completely different types of outputs depending on the input and I feel this could lead to strange bugs for users (IE screens/touts returns like a dict of lists of dataframes and the initial distribution files are just dataframes). I suppose I should also segregate the naming of the pandas functions to make it clear what they do. I could put them in like a submodule named pd or pandas.  Maybe it makes sense to keep the same names as the non-pandas versions, but just add the pd or pandas prefix?
Note: one argument against using submodules with the name pd or pandas is that if a user does from easygdf import * then it could cause serious confusion with names.
Right now it's looking like the public interface's names will be:

open(...)  - Reads file with dict-like blocks
save(...) - Saves file with dict-like (or array-like) blocks
open_screens_touts(...) - alias for load_screens_touts
open_initial_distribution(...) - alias for load_initial_distribution
pd_open_screens_touts(...) - same as open_screens_touts, but with pandas dataframes
pd_open_initial_distribution(...) - same as open_initial_distribution, but with pandas dataframes

I still think the last few function names are kind of long, I should maybe look into shorter names for them.

Alternative suggestions for long function names:
screens_touts: st, particles, particle_data, pdata, parts,
initial_distribution: dist, idist, init_dist

Now I am thinking of the following names:

read(...) - dict reader
write(...) - dict writer
read_particles(...) - alias to open_screens_touts(...)
read_dist(...) - alias to open_initial_distribution(...)
write_particles(...) - alias to save_screens_touts(...)
write_dist(...) - alias to save_initial_distribution(...)

I am still thinking of the names for the panda functions. I would only need to have ones for the reading functions since I can tell what the type is for the write methods. I am also now thinking of whether this should be a new function or a keyword argument. I am leaning towards the latter. I will also keep all existing functions for backwards compatibility.

One issue I am immediately running into is that in the GDF format, objects can have both a value and children. This means I can't just interpret it as dicts of data.
That is, you can have blocks that look like:
[
  {'name': 'a', 'value': 0.0, 'children': [...]},
  {'name': 'b', 'value': 1.0, 'children': [...]},
]

Clearly, if there is only data and no children, then I think I should just return a key-value pair. If there is no value and only children, then I could return just a key-list pair. When there are both values and children, however, I guess the simplest thing to do would be {'value': 0.0, 'child': {...}}. Note: the multiple child blocks will get converted to a single dict and so it is child here, not children.
This does add another layer of depth to the tree which I don't like, but if I don't do this, then they value would show up in the parent dict or in child. I guess I could put it in the child with some fixed name like 'parent_val', but that could cause naming conflict. I could check for that issue, however.

Actually, reading more through the standard, repeated block names are a common thing for GDF files. For screen outputs, for instance, the saved blocks all have the same name, but different value. This would imply using the key (name, value) to save things in the dict interface. This isn't that appealing since it was meant to make things easier to use and now you would have to type of crazy key names to access raw data.

Sadly, it's starting to seem like a dict interface might not be reasonable for the GDF files. The most common output will be touts / screen outs which can't be represented this way. I might just have to stick to the current format. I suppose the names could still be improved, however, and I can still add the pandas methods.


AcceptMessageSession to more than few minutes without Timeout exception

Actual Behavior
AcceptMessageSession takes from 5ms to more than minutes - timeout was set to 5ms and to default one.
Expected Behavior
We're trying to read messages from Servicebus in Azure environment. Our process is run inside Continuous Webjob and it sometimes fails with TimeoutException.
We find out that there is a problem with AcceptMessageSession.
Our workflow:
receive all messages for specific session
Do business logic
Post message to another queue
Then save data into database
complete all messages from session at once and go to other session
From time to time AcceptMessageSession takes a lot of time (in minutes): AcceptMessageSession invocation which takes from 1 to 3 minutes
We thought that Servicebus will throw exception when methods is taking more than expected.
Versions
OS platform and version: Azure, azureWebjobs: 3.0.2
.NET Version: .NET Core 2.1
NuGet package version or commit ID: Microsoft.Azure.ServiceBus 3.4.0

Actual Behavior
AcceptMessageSession takes from 5ms to more than minutes - timeout was set to 5ms and to default one.
Expected Behavior
We're trying to read messages from Servicebus in Azure environment. Our process is run inside Continuous Webjob and it sometimes fails with TimeoutException.
We find out that there is a problem with AcceptMessageSession.
Our workflow:
receive all messages for specific session
Do business logic
Post message to another queue
Then save data into database
complete all messages from session at once and go to other session
From time to time AcceptMessageSession takes a lot of time (in minutes): AcceptMessageSession invocation which takes from 1 to 3 minutes
We thought that Servicebus will throw exception when methods is taking more than expected.
Versions
OS platform and version: Azure, azureWebjobs: 3.0.2
.NET Version: .NET Core 2.1
NuGet package version or commit ID: Microsoft.Azure.ServiceBus 3.4.0

@basavarajb
Thanks for reporting this issue.
Could you provide the below details. These will help with triaging the issue -

Where is the namespace hosted?
Where is the client application hosted?
Is the namespace on the Standard or Premium tier?
Does the Service Bus queue have active sessions when the program is calling AcceptMessageSesionAsync()?

hi @basavarajb,
Do you still see this issue? If so, please consider opening a support ticket with the relevant information so that we can track this appropriately.
I'll close this issue for now.
Thanks


wip: use rechoir and interpret for config loading

This is currently blocked by https://github.com/js-cli/js-rechoir/pull/26 to work.
When finished this will fix #2180,#1597,#1727

Sorry this did not work out. I'm going to close a lot of older pull requests as the source code has changed a lot over the last year.
Thanks!


Remove httparse dependency, error conversions

This might be a breaking change, in the unlikely event that something depends on these error conversions.
It would be safer to include this in a minor release.

+1 for this one
hyper upstream is currently depending on 1.4 which makes it hard (if possible) to use them at the same time.
For example, I have a problem using rocket_oauth2 v0.5.0-rc.1 and octocrab v0.9.1 at the same time due to this issue.


Fix shifting commands in makefiles.

Set shiftwidth to 0 in ftplugin/make.vim so that a user can press >> and
get the correct indent level. This also reduces the chance of mixing
tabs and spaces.
If I missed something please let me know. The maintainer is Bram so I think I'm fine sending this to the upstream repo?

'shiftwidth' zero is the default, thus this affects only users who have set it to another value.
And in that case it makes sense.  I'll include it, thanks.


Error "Dependency 'ar' not found"

Hi!
I try to convert a deb package and i get error.
[archer@void scripts]$ ./xdeb ./yandex-disk_latest_amd64.deb  [!] Dependency 'ar' not found
How can I fix it?

Weird. Usually ar should already be preinstalled on your system. Make sure you have the package binutils installed. (xlocate '^/usr/bin/ar$')

Thank you!
binutils was not installed. I did not know which package contains 'ar'.


Add recipes/samples module showing common patterns and gotchas

I wonder how to generally manage more complex tasks involving nullability and the general problem that it's quite a ceremony to bridge a suspend function to a compose state.
Original Flow
  fun diaryProFlow(): StateFlow<DiaryProCard?> = userRepo.flow()
    .flatMapLatest { user ->
      if (user?.isPro == true) return@flatMapLatest flowOf(null)
      val purchaseItem = getPurchaseItem() ?: return@flatMapLatest flowOf(null)
      offerCardViewState(purchaseItem)
    }
    .map<PurchaseOfferCardViewState?, DiaryProCard?> { cardViewState ->
      when {
        cardViewState == null || cardViewState.countdown <= Duration.ZERO -> null
        else -> DiaryProCard.Offer(cardViewState)
      }
    }
    .stateIn(scope, SharingStarted.Eagerly, DiaryProCard.Loading)

Logics

It starts with Loading
If a user is pro, the flow emits null
If there are no purchase items, the flow emits null
Then it switches to an offer countdown and emits offers
Once the offer countdown reaches 0, emit null again.

To test this as a general architecture pattern, I've rewritten it to compose, while trying to maintain the original logics:
Compose
  sealed interface Task<out T> {
    object Loading : Task<Nothing>
    data class Content<T>(val content: T) : Task<T>
  }

  @Composable
  fun diaryProCardComposable(): DiaryProCard? {
    val user = remember { userRepo.flow() }.collectAsState(initial = null).value
      ?: return DiaryProCard.Loading
    if (user.isPro) {
      return null
    }

    val purchaseItemLoadingState = produceState<Task<PurchaseItemBundle?>>(
      initialValue = Task.Loading,
      producer = {
        value = Task.Content(getPurchaseItem())
      },
    ).value

    val purchaseItem = if (purchaseItemLoadingState is Task.Content) {
      purchaseItemLoadingState.content
    } else {
      return DiaryProCard.Loading
    }

    purchaseItem ?: return null

    val offerTask = remember(purchaseItem) {
      offerCardViewState(purchaseItem).map {
        Task.Content(it)
      }
    }.collectAsState(initial = Task.Loading).value

    val cardViewState = if (offerTask is Task.Content) {
      offerTask.content
    } else {
      return DiaryProCard.Loading
    }

    return if (cardViewState == null || cardViewState.countdown <= Duration.ZERO) {
      null
    } else {
      DiaryProCard.Offer(cardViewState)
    }
  }

Thoughts
I wonder, at which point this will scale and what would happen to the code base if we would apply compose absolutely everywhere.
It would probably introduce lots of helpers, around the Task and produce state.
The sample in the readme alread ignores lots of complexity:
@Composable
fun ProfilePresenter(
  userFlow: Flow<User>,
  balanceFlow: Flow<Long>,
): ProfileModel {
  val user by userFlow.collectAsState(null)
  val balance by balanceFlow.collectAsState(0L)

  return if (user == null) {
    Loading
  } else {
    Data(user.name, balance)
  }
}

What if the Flow<User>would be nullable? And it also has a bug because it will initially emit 0 as a balance, which is probably wrong. Also it uses delegations, so the smart cast to the not nullable user wouldn't be possible.
So to fix it, the balance would also need to be mapped to some form of a Generic LoadingState. Or have fallbacks with an initial null value. But that only works as long as the original type is not nullable as well. Doing the null default is also a little error prone, because when you make the data source nullable later, the code will still compile but contain a bug.
So I wonder:
Which patterns have already emerged here? What's the larger picture if this is applied to a larger codebase?


Close Position Modal Improvements

Subject of the issue
The Close Position Modal uses an outdated golden PrimaryButton. It should update to match the button with other modals (primarily the Open/Modify Position modal).
Additionally, the synth symbol is currently shown in front of an amount, without a space between the synth symbol and amount.

Deliverables

[ ] Update golden "Close Position" button to match design. See "Confirm Order" modal for the correct button layout.
[ ] Move synth symbol (sXXX) behind the amount, leave a white space between amount and symbol

Rewards
25 SNX

@platschi I should be using the synth symbol ( Ξ ) on the close modal right and not (sETH)? That's what I've seen in the confirm and modify modals for the size.
I checked the bg colors and they were the same, the difference was the height.

@platschi I should be using the synth symbol ( Ξ ) on the close modal right and not (sETH)? That's what I've seen in the confirm and modify modals for the size.
I checked the bg colors and they were the same, the difference was the height.

Hey benja, let's use "ETH", without the s.  Thanks!


flutter fire firebase_ml_vision object detections

Hello folks,
This issue is regarding mlkit object detection annouced recently. Creating an issue to track its implementation in flutter.
Thank you

@startupgurukul
The issue at https://github.com/flutter/flutter/issues/32291 has been closed and moved here. Future collaboration on this issue will be done here.

@startupgurukul I'm going to close the issue in favour of #1159 to avoid duplication. Please follow it there.


Using JavaFX Maven plugin version 0.0.4. Using profiles to depend on JavaFX 11+ libraries

The PR has been updated to address comments made in https://github.com/openjfx/javafx-maven-archetypes/pull/6 (except module-info.java which is hard to fix as Maven archetypes do not support including/excluding files easily). The current PR has been tested in following ways. First of all install the new archetypes:
javafx-maven-archetypes$ mvn install

and then in an empty directory use them:
$ mvn archetype:generate         -DarchetypeGroupId=org.openjfx         -DarchetypeArtifactId=javafx-archetype-simple         -DarchetypeVersion=0.0.4-SNAPSHOT         -DgroupId=cz.xelfi.demo -DartifactId=test8         -Dversion=1.0-SNAPSHOT -Djavafx-version=8
$ JAVA_HOME=/jdk1.8.0 mvn -f test8/ clean package javafx:run
$ JAVA_HOME=/jdk-11 mvn -f test8/ clean package javafx:run

e.g. it is possible to generate project for JavaFX 8 and use it on newer JDKs as well. When generating project for JavaFX newer than 8, it works on JDK11, but fails (obviously) on JDK8:
$ mvn archetype:generate         -DarchetypeGroupId=org.openjfx         -DarchetypeArtifactId=javafx-archetype-simple         -DarchetypeVersion=0.0.4-SNAPSHOT         -DgroupId=cz.xelfi.demo         -DartifactId=test11         -Dversion=1.0-SNAPSHOT -Djavafx-version=11
# following fails:
$ JAVA_HOME=/jdk1.8.0 mvn -f test11/ clean package javafx:run
# this works
$ JAVA_HOME=/jdk-11 mvn -f test11 clean package javafx:run

Are these changes acceptable for integration?

Is there an importance of *.original~ files or are they committed by mistake?

If they’re there, just delete them, apologies.