<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/autoload/provider/pythonx.vim, branch stable</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>checkhealth: ignore 'wildignore' when seeking executables (#14495)</title>
<updated>2021-05-07T09:07:07+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2021-05-07T09:07:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=17434b88b4892218386b49b400e7eb6d265000ff'/>
<id>17434b88b4892218386b49b400e7eb6d265000ff</id>
<content type='text'>
Certain values of 'wildignore', .e.g `*/node_modules/**`, would make the
provider checks not find the right executables.

Fixes https://github.com/neovim/neovim/issues/14388</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Certain values of 'wildignore', .e.g `*/node_modules/**`, would make the
provider checks not find the right executables.

Fixes https://github.com/neovim/neovim/issues/14388</pre>
</div>
</content>
</entry>
<entry>
<title>provider: update supported Python versions (#13070)</title>
<updated>2020-10-08T09:52:17+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2020-10-08T09:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca6815115c79da62b845f479f0cdd765bdbfb700'/>
<id>ca6815115c79da62b845f479f0cdd765bdbfb700</id>
<content type='text'>
Python 3.9 was released, so we need to add support for the upcoming Python 3.10.
Python 3.5 and earlier reached their end-of-life.

PEP 478: Python 3.5  Release Schedule: https://www.python.org/dev/peps/pep-0478
PEP 596: Python 3.9  Release Schedule: https://www.python.org/dev/peps/pep-0596
PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.9 was released, so we need to add support for the upcoming Python 3.10.
Python 3.5 and earlier reached their end-of-life.

PEP 478: Python 3.5  Release Schedule: https://www.python.org/dev/peps/pep-0478
PEP 596: Python 3.9  Release Schedule: https://www.python.org/dev/peps/pep-0596
PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619</pre>
</div>
</content>
</entry>
<entry>
<title>Add overlapped option to jobstart</title>
<updated>2020-06-10T13:21:14+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-02-05T07:04:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d17e38e48209c19b63d809c5b807613f15aa03c8'/>
<id>d17e38e48209c19b63d809c5b807613f15aa03c8</id>
<content type='text'>
When UV_OVERLAPPED_PIPE was used for the pipe passed to the child process, a
problem occurred with the standard input of the .Net Framework application
(#11809). Therefore, add the overlapped option to jobstart() and change it so
that it is set only when necessary
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When UV_OVERLAPPED_PIPE was used for the pipe passed to the child process, a
problem occurred with the standard input of the .Net Framework application
(#11809). Therefore, add the overlapped option to jobstart() and change it so
that it is set only when necessary
</pre>
</div>
</content>
</entry>
<entry>
<title>provider: Add python3.9 to autoload/provider/pythonx.vim (#12344)</title>
<updated>2020-05-20T11:57:46+00:00</updated>
<author>
<name>Faris A Chugthai</name>
<email>20028782+farisachugthai@users.noreply.github.com</email>
</author>
<published>2020-05-20T11:57:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7116105d661011cc4bdd5e01e1321d1e500b6b5b'/>
<id>7116105d661011cc4bdd5e01e1321d1e500b6b5b</id>
<content type='text'>
3.9's scheduled for beta release today.
https://www.python.org/dev/peps/pep-0596/</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3.9's scheduled for beta release today.
https://www.python.org/dev/peps/pep-0596/</pre>
</div>
</content>
</entry>
<entry>
<title>provider/python: add python3.8 executable (#11402)</title>
<updated>2019-11-17T13:23:17+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-11-17T13:23:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=97f1222005838912e127e4180d7b779c82e8356d'/>
<id>97f1222005838912e127e4180d7b779c82e8356d</id>
<content type='text'>
Python 3.8 was released 2019-10-14:

  https://www.python.org/dev/peps/pep-0569</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 3.8 was released 2019-10-14:

  https://www.python.org/dev/peps/pep-0569</pre>
</div>
</content>
</entry>
<entry>
<title>provider/pythonx: don't assume CWD (empty string) is in path #11304</title>
<updated>2019-10-27T21:27:22+00:00</updated>
<author>
<name>supermomonga</name>
<email>hi@supermomonga.com</email>
</author>
<published>2019-10-27T21:27:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=31536ae003c0bd0ee311fc97b26ded0db8b3fa34'/>
<id>31536ae003c0bd0ee311fc97b26ded0db8b3fa34</id>
<content type='text'>
sys.path.remove("") raises ValueError if the item is missing.

https://docs.python.org/3/library/functions.html#filter:
&gt; filter(function, iterable) is equivalent to the generator expression (item
&gt; for item in iterable if function(item))

fixes #11293</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sys.path.remove("") raises ValueError if the item is missing.

https://docs.python.org/3/library/functions.html#filter:
&gt; filter(function, iterable) is equivalent to the generator expression (item
&gt; for item in iterable if function(item))

fixes #11293</pre>
</div>
</content>
</entry>
<entry>
<title>provider#pythonx: resolve/expand exe from host var (#11047)</title>
<updated>2019-09-30T10:52:04+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-30T10:52:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=179c46a016388c2acead17e56d5860e667748561'/>
<id>179c46a016388c2acead17e56d5860e667748561</id>
<content type='text'>
This reverts part of ade88fe4c [1].

This is required for `let g:python3_host_prog = 'python'` etc, where it
should get picked up from PATH.

Without this it would show:

```
  - INFO: pyenv: Path: /home/user/.pyenv/libexec/pyenv
  - INFO: pyenv: Root: /home/user/.pyenv
  - INFO: Using: g:python3_host_prog = "python"
  - ERROR: "python" was not found.
  - INFO: Executable: Not found
  - ERROR: Detected pip upgrade failure: Python executable can import "pynvim" but not "neovim": python
    - ADVICE:
      - Use that Python version to reinstall "pynvim" and optionally "neovim".
          pip3 uninstall pynvim neovim
          pip3 install pynvim
          pip3 install neovim  # only if needed by third-party software
```

Note that it additionally causes a weird error
("Detected pip upgrade failure"), due to `s:check_bin` emptying
`python_exe` (because the non-absolute file not being readable), and
`provider#pythonx#DetectByModule('pynvim', a:version)` from 75593e6fce
then just getting the value from the host var again (without actual
checks).
This is implicitly fixed via this patch now (because it is skipped), but
could need some improvement in this regard probably.

With this patch it resolves it (for a virtualenv where pynvim is not
made available intentionally):
```
  - INFO: pyenv: Path: /home/daniel/.pyenv/libexec/pyenv
  - INFO: pyenv: Root: /home/daniel/.pyenv
  - INFO: Using: g:python3_host_prog = "python"
  - WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results.
    - ADVICE:
      - If you are using Zsh, see: http://vi.stackexchange.com/a/7654
  - INFO: Executable: /home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python
  - ERROR: Command error (job=11, exit code 1): `'/home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python' -c 'import sys; sys.path.remove(""); import neovim; print(neovim.__file__)'` (in '/home/daniel/.dotfiles/vim/plugged/deoplete.nvim')
    Output: Traceback (most recent call last):  File "&lt;string&gt;", line 1, in &lt;module&gt;ModuleNotFoundError: No module named 'neovim'
    Stderr: Traceback (most recent call last):  File "&lt;string&gt;", line 1, in &lt;module&gt;ModuleNotFoundError: No module named 'neovim'
  - INFO: Python version: 3.7.4
  - INFO: pynvim version: unable to load neovim Python module
  - ERROR: pynvim is not installed.
    Error: unable to load neovim Python module
    - ADVICE:
      - Run in shell: pip3 install pynvim

```

Note: this appears to display the error twice via "Output:" and
"Stderr:".

1: https://github.com/neovim/neovim/pull/8784</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts part of ade88fe4c [1].

This is required for `let g:python3_host_prog = 'python'` etc, where it
should get picked up from PATH.

Without this it would show:

```
  - INFO: pyenv: Path: /home/user/.pyenv/libexec/pyenv
  - INFO: pyenv: Root: /home/user/.pyenv
  - INFO: Using: g:python3_host_prog = "python"
  - ERROR: "python" was not found.
  - INFO: Executable: Not found
  - ERROR: Detected pip upgrade failure: Python executable can import "pynvim" but not "neovim": python
    - ADVICE:
      - Use that Python version to reinstall "pynvim" and optionally "neovim".
          pip3 uninstall pynvim neovim
          pip3 install pynvim
          pip3 install neovim  # only if needed by third-party software
```

Note that it additionally causes a weird error
("Detected pip upgrade failure"), due to `s:check_bin` emptying
`python_exe` (because the non-absolute file not being readable), and
`provider#pythonx#DetectByModule('pynvim', a:version)` from 75593e6fce
then just getting the value from the host var again (without actual
checks).
This is implicitly fixed via this patch now (because it is skipped), but
could need some improvement in this regard probably.

With this patch it resolves it (for a virtualenv where pynvim is not
made available intentionally):
```
  - INFO: pyenv: Path: /home/daniel/.pyenv/libexec/pyenv
  - INFO: pyenv: Root: /home/daniel/.pyenv
  - INFO: Using: g:python3_host_prog = "python"
  - WARNING: $VIRTUAL_ENV exists but appears to be inactive. This could lead to unexpected results.
    - ADVICE:
      - If you are using Zsh, see: http://vi.stackexchange.com/a/7654
  - INFO: Executable: /home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python
  - ERROR: Command error (job=11, exit code 1): `'/home/daniel/.pyenv/shims/tmp-system-deoplete.nvim-f205aF/python' -c 'import sys; sys.path.remove(""); import neovim; print(neovim.__file__)'` (in '/home/daniel/.dotfiles/vim/plugged/deoplete.nvim')
    Output: Traceback (most recent call last):  File "&lt;string&gt;", line 1, in &lt;module&gt;ModuleNotFoundError: No module named 'neovim'
    Stderr: Traceback (most recent call last):  File "&lt;string&gt;", line 1, in &lt;module&gt;ModuleNotFoundError: No module named 'neovim'
  - INFO: Python version: 3.7.4
  - INFO: pynvim version: unable to load neovim Python module
  - ERROR: pynvim is not installed.
    Error: unable to load neovim Python module
    - ADVICE:
      - Run in shell: pip3 install pynvim

```

Note: this appears to display the error twice via "Output:" and
"Stderr:".

1: https://github.com/neovim/neovim/pull/8784</pre>
</div>
</content>
</entry>
<entry>
<title>health/pythonx: handle "pip upgrade failure"</title>
<updated>2019-01-07T22:29:46+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-01-07T13:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=75593e6fcebcfd1404c8851653d5d8b1195ee34c'/>
<id>75593e6fcebcfd1404c8851653d5d8b1195ee34c</id>
<content type='text'>
Reference: https://github.com/neovim/neovim/wiki/Following-HEAD#20181118
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reference: https://github.com/neovim/neovim/wiki/Following-HEAD#20181118
</pre>
</div>
</content>
</entry>
<entry>
<title>health/pythonx: refactor #Detect()</title>
<updated>2019-01-07T18:58:33+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2019-01-06T16:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=eb91101a467004bda48fe0dd257a695d5b3d8d5f'/>
<id>eb91101a467004bda48fe0dd257a695d5b3d8d5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python#CheckForModule: Use the given module string instead of hard-coding pynvim</title>
<updated>2019-01-01T21:06:37+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2019-01-01T19:19:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=edeb19d5e9597045a6b3f320948dafd1b7631c16'/>
<id>edeb19d5e9597045a6b3f320948dafd1b7631c16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
