Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/neovim/pynvim

Python client and plugin host for Nvim
https://github.com/neovim/pynvim

fix(tests): "provider#python3#Prog" was removed upstream #563

Problem:
Tests fail since upstream Nvim commit https://github.com/neovim/neovim/commit/eb5d15e3...

f9d839f519fb8bbd6a35b25f1f260dc2770314c8 authored 9 months ago by Justin M. Keyes <[email protected]>
refactor: remove the use of forward references #558

With PEP-563 (Postponed evaluation of annotations), we can have a more
clean syntax of writing ...

5f989dfc47d98bba9f98e5ea17bfbe4c995cb0b0 authored 11 months ago by Jongwook Choi <[email protected]>
fix(ci): failing readthedocs build #554

Ref #552

c4197f13fe405b039a6acbe63076f3edade30fbb authored about 1 year ago by Jongwook Choi <[email protected]>
ci: fix failing readthedocs build

Running Sphinx v7.2.6
making output directory... done

Traceback (most recent call last):
...

da0970e643b6ecc85969d05102ab80c219a71bd0 authored about 1 year ago by Justin M. Keyes <[email protected]>
fix(ci): failing readthedocs build #553

ref #552

python -m sphinx -T -E -W --keep-going -b html -d _build/doctrees -D language=en...

7a84048c3cb348262c3cf2d6f70c6db7b53cee50 authored about 1 year ago by Jongwook Choi <[email protected]>
test: attaching via socket, tcp, stdio #544

On windows somehow socket and stdio tests are failing, which should be
fixed sometimes later.

e74a7f6b9952b584ac3ba223b4da333500b3c444 authored about 1 year ago by Jongwook Choi <[email protected]>
Merge #545 refactor: asyncio eventloop

a699fe737a902ca76176b437fecc8e38d37b8e6d authored about 1 year ago by Justin M. Keyes <[email protected]>
fix(scripts): Use python3 for logging_statement_modifier

51846479f2e549254a6621240ed514d4ff88b54f authored about 1 year ago by James McCoy <[email protected]>
chore: Bump version

952deb1aaf9ce7fb4390077e5a8fde0ecde9eaf3 authored about 1 year ago by James McCoy <[email protected]>
Merge pull request #551 from jamessan/release

Pynvim 0.5.0

12b53e7b001960a407efcaaf4ce36923e8fc4a9e authored about 1 year ago by James McCoy <[email protected]>
Pynvim 0.5.0

Breaking: Python 3.7 is the minimum supported Python version.

Changes since 0.4.3:

- 1696737 f...

1f86b261e99ce8fcce0814863d2665bcea85f7d1 authored about 1 year ago by James McCoy <[email protected]>
feat: Ex command ":py=" evaluate and print expression #548

The Ex command `:py`, `:python`, :`py3`, etc. can evaluate the line
as an expression rather tha...

169673714fd6d9f8bf53ed5ec55b9b01be5f560e authored about 1 year ago by Jongwook Choi <[email protected]>
fix: invalid CLI use in scripts/{enable,disable}_log_statements.sh #546

- `find -name` => `find . -name`
- `xargs -i` => `xargs -I` (or can be replaced by the for loop...

b8ef69a03147757be913412f791487f30833627b authored about 1 year ago by Jongwook Choi <[email protected]>
test: always use the same python regardless of $PATH #547

Problem:
The embedded neovim fixture instance for testing picks up `python3`
on the `$PATH`. T...

86cc50ec90add00f044914c0ee633e831ad5e25b authored about 1 year ago by Jongwook Choi <[email protected]>
fix: prevent closed pipe errors on closing asyncio transport resources

The proactor pipe transports for subprocess won't be automatically
closed, so "closed pipe" erro...

17fbcbccde9978a5caa05f571174bfff4a0b7bdd authored about 1 year ago by Jongwook Choi <[email protected]>
refactor: improve typing

7f60f72def9b58a48d18abd84fc3a92b39b164bc authored about 1 year ago by Jongwook Choi <[email protected]>
refactor: separate asyncio Protocol from AsyncioEventLoop

- Separate Protocol from AsyncioEventLoop (which were too complex).
This makes it much clearer...

3f5f532f75e7e00b94dddb9c58e39bfb9efdc9ab authored about 1 year ago by Jongwook Choi <[email protected]>
refactor: expose event loop as a property rather than a field

event loops for Session and Nvim are final and can't be changed.

be5810bba55794104a944a9dbcfde04aed9895ab authored about 1 year ago by Jongwook Choi <[email protected]>
refactor: use async coroutine and add debugging statements

2059684da75ef9d0910379eb12ed438a96618873 authored about 1 year ago by Jongwook Choi <[email protected]>
refactor!: completely wipe out pyuv

pynvim has been using asyncio as the only available event loop
implementation, since python 3.4....

a1347eea2550aa2f24c8aac72a7c3fe92650791b authored about 1 year ago by Jongwook Choi <[email protected]>
packaging: pynvim.__version__ attribute (0.5.0.dev0) #540

pynvim previously did not have the `pynvim.__version__` attribute,
which is a popular conventio...

71d2d65f21eb1b3faa91addaa3a18d985bd48b99 authored about 1 year ago by Jongwook Choi <[email protected]>
Merge #543 from wookayin/fix-windows

Fix broken tests on Windows due to EOF error and other minor bugs

abc75476d23d09dfc5c9f9917d5f629df01dab68 authored about 1 year ago by Justin M. Keyes <[email protected]>
fix: ignore flaky OSError on windows

Problem:

```
> os.unlink(fname)
E PermissionError: [WinError 32] The process ca...

056f6f95a3214937ea878bc21ff896d0807deda0 authored about 1 year ago by Jongwook Choi <[email protected]>
fix: EOF error on piped stderr being closed on Windows

Problem: An EOF error happens when creating a subprocess Nvim instance
on Windows. All CI tests ...

6ab90aad933ddbd97e0f65945f994acff4b6e1c9 authored about 1 year ago by Jongwook Choi <[email protected]>
fix: do not leak resources across tests so as to prevent side effects

Problem:
Across unit tests, custom path_hook reigstered globally by
ScriptHost globally was not ...

fd4247ced2b536c82fe76c52a6a6042eebb31ad4 authored about 1 year ago by Jongwook Choi <[email protected]>
ci: run CI jobs on all combination of py37-py312 and three OS's

964e6b184110285d27617622dab698c0f8552954 authored about 1 year ago by Jongwook Choi <[email protected]>
deps: greenlet >= 3.0 #541

Greenlet 3.0 has been released including full python 3.12 support. It
also works well with olde...

260a0b922bbd30be4ec32365faf37c2c70a7a4c4 authored about 1 year ago by Jongwook Choi <[email protected]>
docs: README.md improvements #537

4db6b28815682ed726b3fe494046bb62b8483779 authored about 1 year ago by Jongwook Choi <[email protected]>
ci: Run CI, tox test for all supported python versions #536

- Include python 3.7, 3.8, and 3.9 as well to the Github CI actions.
- Configure tox to run tes...

e2aef9569e27652eefac99a09e149d74b9b597bf authored about 1 year ago by Jongwook Choi <[email protected]>
ci: python3.12 support #535

neovim's python3 provider detection has a bug on python3.12
(neovim/neovim#25316), so we work a...

6cf8fc10834f86eddd529477c8bfe7f4729dbf36 authored about 1 year ago by Jongwook Choi <[email protected]>
fix: broken dynamic import of rplugin modules #534

The removal of `imp` package (neovim#461) in order to supprot Python 3.12
had a bug where rplug...

f24459755da9e42ec3284fe80c7241ee05fa38ae authored about 1 year ago by Jongwook Choi <[email protected]>
ci: readthedocs

798dfc3fa67c566867715852edd440c6c9efe164 authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: readthedocs

- Use "version: 2" config so we can use newer python.
- Fail on sphinx warnings.

a565dc5325e01c70b241db3a7ffa52c1276f3f8e authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: readthedocs

ew...

Problem in your project's configuration. Invalid "python.version":
expected one o...

f39f62b707415cb6cf4925d861b35bcb98ef6f03 authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: readthedocs

313dcd51adb97cf3b18016278c906f2568f2273f authored over 1 year ago by Justin M. Keyes <[email protected]>
docs: readme

fa9f02744e048d19fd28b7bc061d7f60c70fc615 authored over 1 year ago by Justin M. Keyes <[email protected]>
Merge #469 from jamessan/github-actions

8bb79648e8ddfb1512678329c53c8bce5c924a54 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix: mypy type annotation warnings

XXX: is the connect_write_pipe warning legitimate?

61bf6fa7d76132300f4503021c827e502751d8e9 authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: use tox in GitHub Actions

05a195b94a6f6cb373a8a4bb7d38bdd2f94b7e45 authored over 1 year ago by James McCoy <[email protected]>
fix: sphinx "invalid language code"

Problem:

docs: commands[0] …/docs> sphinx-build -b html -d …/.tox/docs/tmp/doctrees . …/py
...

e4224fc41124b12748c15fa4908ac5c78e9bf647 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix(ci): "pytest-cov" fails to install

ERROR: Failed building wheel for pyuv
ERROR: Could not build wheels for pyuv, which is r...

8e1ed5e9da80d469a703b414c6dfc886dc9cf731 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix: sphinx "Unexpected indentation" warning

Problem:

sphinx: pynvim.api.nvim.Nvim.feedkeys:7: ERROR: Unexpected indentation.

Solution:...

5e84c757b2faf88f43da278c1d81f8113ffa42f1 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix: PEP 484 prohibits implicit Optional

Problem:

PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to ...

991c6898deb40769249359c2ea78100e216863a5 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix: undefined name 'original_find_module'

pynvim/compat.py:24:12: F821 undefined name 'original_find_module'

regression from eaa862dec340

919217d9211adabd7fd57085657096a5060aece4 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix(test): `Unknown config option: timeout` warning #529

This option is no longer valid with pytest 6+

```
==========================================...

b79717f5e81e6c496b9d4573974c954c197eedc2 authored over 1 year ago by Michel Alexandre Salim <[email protected]>
test_buffer: don't depend on version-dependent default values #531

`test_options` has an assertion that tests whether setting a local value
modifies the global va...

5be54e21c8081de5097efabec01c2b50cc83568d authored over 1 year ago by Michel Alexandre Salim <[email protected]>
ci: fix python version matrix #530

3c5d91a76140e5c3c3f9b46ba5065027bf434c64 authored over 1 year ago by Justin M. Keyes <[email protected]>
fix: imp module is deprecated #527

Co-authored-by: Shougo Matsushita <[email protected]>

eaa862dec340cad523a691d6441e890b800f8b65 authored over 1 year ago by Justin M. Keyes <[email protected]>
Drop old python versions, add type annotations #492

Fixes #422

Dropping support for python 3.6 and earlier
https://www.python.org/downloads/rel...

ac03f5cbfe16be3577ad72e9ad2be0d16c478d31 authored over 1 year ago by Steven Arcangeli <[email protected]>
Merge #526 ci: run tests on GitHub Actions

19127b24e670573c23201b82d8af691df41854ba authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: use "pip3" instead of "pip"

Problem:
With actions/setup-python@v4, "pip" still implies python2 (on macOS at least), wtf?

...

8a2a3b8ffaf7aab0e26af8098a73a974e292ca31 authored over 1 year ago by Justin M. Keyes <[email protected]>
docs: python 2 is not supported

a08753422550840701d81746e642cf6531a70933 authored over 1 year ago by Justin M. Keyes <[email protected]>
test: update 'define' option default

Nvim upstream changed the default value of 'define':
https://github.com/neovim/neovim/commit/fcf...

82a2e14b96fbffa30caeefec6e86b668c96662eb authored over 1 year ago by Justin M. Keyes <[email protected]>
ci: run tests on GitHub Actions

806f4a4a24a00225b92972820e53ce309b7cddcf authored over 1 year ago by Justin M. Keyes <[email protected]>
refactor: remove usage of imp #461

Since there are no reasonable alternatives to imp in python2.7,
try importing python3 modules a...

dd540b08e1a13c89557aa91a122ca6fbc9dfe2ef authored over 1 year ago by Faris A Chugthai <[email protected]>
packaging: conform to PEP 517 guidelines #519

Problem:
Not compliant with python packaging standards.
Deprecation warnings from pip due to o...

496e8eb09b46c32a873cbefbcaf799f498308c1c authored almost 2 years ago by badboy1cdx <[email protected]>
docs: fix typo (#517)

12acffc0fda09b85522643de7f1645813886b48c authored about 2 years ago by dundargoc <[email protected]>
fix: vim.eval('v:true') should return python bool #506

Signed-off-by: Mingxiang Xue <[email protected]>

d549371b6fb647304cff5f88a71e2bc42d2ed30a authored over 2 years ago by uzxmx <[email protected]>
docs(readme): update URL #497

71102c03efdcd6e7a1db1057a68478fc2249734d authored over 3 years ago by Anselm Hahn <[email protected]>
fix the first call to sync functions returning null (#496)

This happens only right after instantiation of the plugin class, so
calling any other asynchron...

318c1b56543903e92654bd131f615e709bf70932 authored over 3 years ago by Dmytro Meleshko <[email protected]>
docs: fix a few simple typos (#490)

Closes #487

Co-authored-by: Tim Gates <[email protected]>

581cba4fe027b4e02619ad69cc672c742e45cce1 authored over 3 years ago by Justin M. Keyes <[email protected]>
Pynvim 0.4.3

Changes since 0.4.1:

- 344934c Detect encoding correctly on non-standard locales

bc85d13b9675c45d93a847cfcb8c43e998000cde authored almost 4 years ago by Björn Linse <[email protected]>
Merge pull request #465 from bfredl/bytehack

py3file: read file as bytes so compile() can detect encoding

cdfdbb568bfcaad895022af1e88f165c1f051c02 authored about 4 years ago by Björn Linse <[email protected]>
py3file: read file as bytes so compile() can detect encoding

344934cde571a2fe6fbc29c2dd3b99699ce7eab4 authored about 4 years ago by Björn Linse <[email protected]>
Pynvim 0.4.2

Changes since 0.4.1:

- 1276622 Refactor: IOError was deprecated. Replace with OSError
- a5446ce...

a70cdc97c1574c35ba4939c8cb27ff3e3ff6c0c9 authored over 4 years ago by James McCoy <[email protected]>
Refactor: IOError was deprecated. Replace with OSError #457

1276622c559c3bc337fade4dd91df703ac64e83e authored over 4 years ago by Faris A Chugthai <[email protected]>
refactor: Reduce usage of deprecated imp module #455

Replace imp.new_module with types.ModuleType which is available from
py2.7 to 3+

related: ht...

a5446ceb45e668505ca74842bce3bd2e713a27ca authored over 4 years ago by Faris A Chugthai <[email protected]>
doc: fix Indentation and underline length #454

Building the docs raised errors previously

ead0dcafcde672f14517de5199600d5499797588 authored over 4 years ago by Faris A Chugthai <[email protected]>
Merge #451 from farisachugthai/absolute-imports

Close #450

fbf0ec1198969e7b54bb68c0f3b75da0b70a00d8 authored over 4 years ago by Justin M. Keyes <[email protected]>
Fix: Import order. Because of absolute imports, flake8 failed.

aa02f00e23056f478f174995958fd99b473d026f authored over 4 years ago by faris <[email protected]>
Modify all imports in the repository to absolute imports

Verified that tests still pass with pytest in a venv.

605ffdaf6f043ca5500df622fb7866c573bbc08f authored over 4 years ago by faris <[email protected]>
Merge pull request #439 from Shougo/unicode_errors

3791b2581eac4d2f1a829ab6792a122a0bb914fc authored over 4 years ago by James McCoy <[email protected]>
Fix for Python 2.7 unicode_errors

76c310576654060516cf4fa34338fd3f9767b9c4 authored over 4 years ago by Shougo Matsushita <[email protected]>
Fix test

9ebc01e243f076c9b853e24980753affc08c5b47 authored over 4 years ago by Shougo Matsushita <[email protected]>
Set unicode_errors in Unpacker

d9ce0b5f589f88ae9543e41a022711b4fa5e514f authored over 4 years ago by Shougo Matsushita <[email protected]>
import vim module by default #430

Vim-compatible.
fixes neovim/neovim#11783

2cbc13553b113386d23ef225344e61172763ee45 authored almost 5 years ago by Sunny Rahul <[email protected]>
doc: release #429

closes #428

9870f9a8a097c4867972b993647d7f3ad9293818 authored almost 5 years ago by Justin M. Keyes <[email protected]>
Pynvim 0.4.1

Logging will be disabled on release tarballs and pip packages for performance
reasons. Use `scri...

dd45f83c798fcb5bbb5be4a0843f6e0b47e06bd0 authored almost 5 years ago by Björn Linse <[email protected]>
fixes for logging scripts

5a2b552258f6b416ca0e3ead06b540b64fa48650 authored almost 5 years ago by Björn Linse <[email protected]>
ci: Travis: test with Python 3.8 (#427)

175a2cc9f523c625777d08d8c007e4b8d2d42fbe authored almost 5 years ago by Daniel Hahler <[email protected]>
Merge #426 'host: set self.name for _on_error_event'

8ebcded589171a15fbc90fb9c4a307b79e6b92a7 authored almost 5 years ago by Justin M. Keyes <[email protected]>
host: set self.name for _on_error_event

fix #425

5b50ce9c48c392691196a6250cba0c0da368f692 authored almost 5 years ago by Justin M. Keyes <[email protected]>
test/setup: sanity-check NVIM_LISTEN_ADDRESS

87724dd4adf5057b501a0acc5440cc2f90473987 authored almost 5 years ago by Justin M. Keyes <[email protected]>
Fix codecov (coverage not installed outside of tox) (#424)

* codecov: rename config file

Docs say that it needs to be named `codecov.yml`, or specified ...

976be1a7bb533004d4ffd1910375eaae68679534 authored almost 5 years ago by Daniel Hahler <[email protected]>
dist: Make pytest-runner conditional #418

pytest runner should not be unconditionally included in setup_requires.
This change makes it co...

f04853121de564ac03b981a984595ea33331ad3e authored almost 5 years ago by Kubilay Kocak <[email protected]>
Merge #421 'fix codecov, remove scrutinizer'

588b1f7d56294fc878ef6d6964f39cd7aa375473 authored almost 5 years ago by Justin M. Keyes <[email protected]>
README: add codecov badge

bf1f00b3369b70bbb33c265662704731ce561d4e authored almost 5 years ago by Daniel Hahler <[email protected]>
ci: remove Scrutinizer

Ref: https://github.com/neovim/pynvim/pull/421#issuecomment-573167091

09bba0818a925be158f319cfa35863035d5b6a2c authored almost 5 years ago by Daniel Hahler <[email protected]>
DEBUG: set xtrace

97ed85a8ca2deaa1689c0dd5b979a2d3ae72b716 authored almost 5 years ago by Daniel Hahler <[email protected]>
ci: do not run py36-docs with py36 on Travis, but checkqa

720950994772eb083a289dfda60da9bc38608b7d authored almost 5 years ago by Daniel Hahler <[email protected]>
ci: Travis: use install

Fixes a warning/msg:

> Could not locate requirements.txt. Override the install: key in your
> ....

6933a94195b5887113ffb54a2cd10c03ff05dd4f authored almost 5 years ago by Daniel Hahler <[email protected]>
--cov-append for Travis only

4793be0aa7feb246e5c4f6764f87742fd160a122 authored almost 5 years ago by Daniel Hahler <[email protected]>
ci: Travis: coverage combine

7b0218f6cbc6e705ea2824898f2dd2d25ef82ca8 authored almost 5 years ago by Daniel Hahler <[email protected]>
coveragerc: parallel=1

Fixes:

> INTERNALERROR> coverage.misc.CoverageException: Couldn't use data file '…/.coverage': ...

2a4a195a4e5b524eb441d2f204ba6c8beba5034a authored almost 5 years ago by Daniel Hahler <[email protected]>
Pynvim 0.4.0

Changes since 0.3.2:
- 2a31195 Update docs/tests to use `--headless` when needed
- 1d121...

a5ee340d10f8d574ddb45537a2cc1491badd3b89 authored about 5 years ago by Björn Linse <[email protected]>
Merge pull request #384 from bfredl/delayplugin

host: do not construct plugin objects on UpdateRemotePlugins

8da0b846ecaeeda9124243ce19aaedbda195eb9b authored about 5 years ago by Björn Linse <[email protected]>
host: do not construct plugin objects on UpdateRemotePlugins

Also if plugin A is invoked, don't construct plugin B until any of B:s
methods is invoked.

d3c389ffc098eea6f5d93fc8a2a32eb77776e53f authored about 5 years ago by Björn Linse <[email protected]>
tests: remove cleanup_func (#414)

The "vim" fixture uses a new session always.

It was added when migrating to pytest in b65f62d...

9923ee3d4db283035e3ee660f1944d8c1632286f authored about 5 years ago by Daniel Hahler <[email protected]>
setup_logging: warn about invalid log level from env (#413)

f3babfb1b0baf9294bf03ec7d089c893fef9e187 authored about 5 years ago by Daniel Hahler <[email protected]>
Merge pull request #405 from blueyed/keyerror

Add support for proper deletion, raising KeyError where appropriate

0a84966e7090c273c6b1b25e37a14004dd6e6de5 authored about 5 years ago by Daniel Hahler <[email protected]>