commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2020-11-05 21:56:08 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.11331 (New) Package is "python-neovim" Thu Nov 5 21:56:08 2020 rev:16 rq:846266 version:0.4.2 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2020-04-25 20:28:40.550065526 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.11331/python-neovim.changes 2020-11-05 21:56:38.463951997 +0100 @@ -1,0 +2,11 @@ +Thu Nov 5 15:04:51 UTC 2020 - Matej Cepl + +- Update to 0.4.2: + - Refactor: IOError was deprecated. Replace with OSError + - refactor: Reduce usage of deprecated imp module + - Modify all imports in the repository to absolute imports + - Set unicode_errors in Unpacker + - import vim module by default +- Remove setup_version.patch which has been included upstream. + +--- Old: pynvim-0.4.1.tar.gz setup_version.patch New: pynvim-0.4.2.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.rML2vl/_old 2020-11-05 21:56:38.931950944 +0100 +++ /var/tmp/diff_new_pack.rML2vl/_new 2020-11-05 21:56:38.935950936 +0100 @@ -22,16 +22,13 @@ %define python_module() python34-%{**} %endif Name: python-neovim -Version:0.4.1 +Version:0.4.2 Release:0 Summary:Python client to Neovim License:Apache-2.0 Group: Productivity/Text/Editors URL:https://github.com/neovim/pynvim Source: https://github.com/neovim/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM setup_version.patch gh#neovim/pynvim#431 mc...@suse.com -# Upstream setup.py has incorrect version. -Patch0: setup_version.patch BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++ pynvim-0.4.1.tar.gz -> pynvim-0.4.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.4.1/README.md new/pynvim-0.4.2/README.md --- old/pynvim-0.4.1/README.md 2020-01-25 10:16:18.0 +0100 +++ new/pynvim-0.4.2/README.md 2020-09-15 14:11:11.0 +0200 @@ -1,4 +1,5 @@ -### Pynvim: Python client to [Neovim](https://github.com/neovim/neovim) +Pynvim: Python client to [Neovim](https://github.com/neovim/neovim) +=== [![Build Status](https://travis-ci.org/neovim/pynvim.svg?branch=master)](https://travis-ci.org/neovim/pynvim) [![Documentation Status](https://readthedocs.org/projects/pynvim/badge/?version=latest)](http://pynvim.readthedocs.io/en/latest/?badge=latest) @@ -7,7 +8,8 @@ Pynvim implements support for python plugins in Nvim. It also works as a library for connecting to and scripting Nvim processes through its msgpack-rpc API. - Installation +Install +--- Supports python 2.7, and 3.4 or later. @@ -33,7 +35,8 @@ pip3 install . ``` - Python Plugin API +Python Plugin API +- Pynvim supports python _remote plugins_ (via the language-agnostic Nvim rplugin interface), as well as _Vim plugins_ (via the `:python[3]` interface). Thus when @@ -53,7 +56,8 @@ See the [Python Plugin API](http://pynvim.readthedocs.io/en/latest/usage/python-plugin-api.html) documentation for usage of this new functionality. - Development +Development +--- Use (and activate) a local virtualenv. @@ -73,7 +77,7 @@ [development](http://pynvim.readthedocs.io/en/latest/development.html) documentation. - Usage through the python REPL +### Usage from the Python REPL A number of different transports are supported, but the simplest way to get started is with the python REPL. First, start Nvim with a known address (or use @@ -116,3 +120,17 @@ continuing startup. See the tests for more examples. + +Release +--- + +1. Create a release commit with title `Pynvim x.y.z` + - list significant changes in the commit message + - bump the version in `pynvim/util.py` and `setup.py` (3 places in total) +2. Make a release on GitHub with the same commit/version tag and copy the message. +3. Run `scripts/disable_log_statements.sh` +4. Run `python setup.py sdist` +- diff the release tarball `dist/pynvim-x.y.z.tar.gz` against the previous one. +5. Run `twine upload -r pypi dist/pynvim-x.y.z.tar.gz` +- Assumes you have a pypi account with permissions. +6. Run `scripts/enable_log_statements.sh` or `git reset --hard` to restore the working dir. diff -urN '--exclude=CVS' '--e
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2020-04-25 20:26:10 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.2738 (New) Package is "python-neovim" Sat Apr 25 20:26:10 2020 rev:15 rq:796595 version:0.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2020-02-21 16:43:28.310166577 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.2738/python-neovim.changes 2020-04-25 20:28:40.550065526 +0200 @@ -1,0 +2,5 @@ +Thu Apr 23 13:36:28 UTC 2020 - Matej Cepl + +- Rewrite the package into proper single-spec style. + +--- Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.tOsOvp/_old 2020-04-25 20:28:43.474071556 +0200 +++ /var/tmp/diff_new_pack.tOsOvp/_new 2020-04-25 20:28:43.478071565 +0200 @@ -18,7 +18,9 @@ %define modname pynvim %{?!python_module:%define python_module() python-%{**} python3-%{**}} - +%if 0%{?rhel} >= 7 +%define python_module() python34-%{**} +%endif Name: python-neovim Version:0.4.1 Release:0 @@ -30,25 +32,15 @@ # PATCH-FIX-UPSTREAM setup_version.patch gh#neovim/pynvim#431 mc...@suse.com # Upstream setup.py has incorrect version. Patch0: setup_version.patch +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -%if 0%{?rhel} >= 7 -BuildRequires: python34-pytest -BuildRequires: python34-setuptools -%else -BuildRequires: python3-pytest -BuildRequires: python3-setuptools -%endif BuildRequires: python-rpm-macros -BuildRequires: python2-pytest -BuildRequires: python2-setuptools Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python -BuildArch: noarch -%if "%{python_flavor}" == "python2" -Requires: python-trollius -%endif Provides: python-nvim +BuildArch: noarch %python_subpackages %description
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2020-02-21 16:43:12 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.26092 (New) Package is "python-neovim" Fri Feb 21 16:43:12 2020 rev:14 rq:777951 version:0.4.1 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2019-01-24 14:12:28.755427260 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.26092/python-neovim.changes 2020-02-21 16:43:28.310166577 +0100 @@ -1,0 +2,25 @@ +Fri Feb 21 13:23:49 CET 2020 - Matej Cepl + +- Update to 0.4.1: + - Logging will be disabled on release tarballs and pip packages +for performance reasons. use scripts/enable_log_statements.sh +and scripts/disable_log_statements.sh to toggle the +availability of logging. + - 09bba08 remove scrutinizer + - f048531 make pytest_runner an optional dependency + - 5b50ce9 fix missing self.name for nvim_error_event + - 175a2cc Test with python 3.8 + - 5a2b552 fix the disable logging script. + - 2a31195 Update docs/tests to use --headless when needed + - 1d121e0 Update tests for new global/local option behavior + - 6310063 session: set client info (not only for host) + - 58ff62f python2 compat: fix buffer inequality + - a63cddb ci: fix coverage reporting + - f4f3bf5 api: key deletion; use KeyError for maps (if_python +compat) + - d3c389f host: do not run __init__ in plugin until the plugin +is invoked +- Add temporary patch setup_version.patch setting the version + number in setup.py correctly. gh#neovim/pynvim#431 + +--- Old: pynvim-0.3.2.tar.gz New: pynvim-0.4.1.tar.gz setup_version.patch Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.LzIbkw/_old 2020-02-21 16:43:29.266168487 +0100 +++ /var/tmp/diff_new_pack.LzIbkw/_new 2020-02-21 16:43:29.274168503 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-neovim # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-neovim -Version:0.3.2 +Version:0.4.1 Release:0 Summary:Python client to Neovim License:Apache-2.0 Group: Productivity/Text/Editors URL:https://github.com/neovim/pynvim -Source: https://github.com/neovim/pynvim/archive/%{version}/pynvim-%{version}.tar.gz +Source: https://github.com/neovim/%{modname}/archive/%{version}/%{modname}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM setup_version.patch gh#neovim/pynvim#431 mc...@suse.com +# Upstream setup.py has incorrect version. +Patch0: setup_version.patch BuildRequires: fdupes %if 0%{?rhel} >= 7 BuildRequires: python34-pytest ++ pynvim-0.3.2.tar.gz -> pynvim-0.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.3.2/.coveragerc new/pynvim-0.4.1/.coveragerc --- old/pynvim-0.3.2/.coveragerc1970-01-01 01:00:00.0 +0100 +++ new/pynvim-0.4.1/.coveragerc2020-01-25 10:16:18.0 +0100 @@ -0,0 +1,8 @@ +[run] +source = . +branch = true +parallel = 1 + +[report] +show_missing = true +include = pynvim/*,test/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.3.2/.scrutinizer.yml new/pynvim-0.4.1/.scrutinizer.yml --- old/pynvim-0.3.2/.scrutinizer.yml 2019-01-20 16:22:43.0 +0100 +++ new/pynvim-0.4.1/.scrutinizer.yml 1970-01-01 01:00:00.0 +0100 @@ -1,134 +0,0 @@ -checks: - python: -imports_relative_import: true -imports_wildcard_import: true -classes_no_self_argument: true -classes_bad_mcs_method_argument: true -classes_bad_classmethod_argument: true -code_rating: true -duplicate_code: true -variables_unused_variable: true -variables_unused_import: true -variables_unused_wildcard_import: true -variables_unused_argument: true -variables_global_variable_not_assigned: true -typecheck_redundant_keyword_arg: true -imports_import_self: true -format_superfluous_parens: true -exceptions_pointless_except: true -design_interface_not_implemented: true -design_abstract_class_not_used: true -basic_useless_else_on_loop: true -basic_unreachable: true -basic_unnecessary_pass: true -basic_unnecessary_lambda: t
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2019-01-24 14:12:27 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.28833 (New) Package is "python-neovim" Thu Jan 24 14:12:27 2019 rev:13 rq:667629 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2018-11-27 10:43:18.864140812 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.28833/python-neovim.changes 2019-01-24 14:12:28.755427260 +0100 @@ -1,0 +2,17 @@ +Sun Jan 20 19:44:11 CET 2019 - mc...@suse.com + +- Update to 0.3.2: + * Cleanup after the pynvim rename, as well as a few bugfixes +and improvements. + * support del vim.current.line + * Handle nvim_error_event (errors from async requests) + * Don't crash when subprocesses write to stdout + * 22e5919 Continue pynvim rename + * test with Python 3.7 in Travis. + +--- +Mon Jan 7 21:51:46 UTC 2019 - Matej Cepl + +- Make package buildable on EPEL7, while we give up on Fedora + +--- Old: pynvim-0.3.1.tar.gz New: pynvim-0.3.2.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.crICt5/_old 2019-01-24 14:12:29.187426762 +0100 +++ /var/tmp/diff_new_pack.crICt5/_new 2019-01-24 14:12:29.191426758 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-neovim # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,26 @@ %define modname pynvim %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# For OpenSUSE and older Fedora -%{!?python3_pkgversion:%global python3_pkgversion %(c=%{python3_version}; echo ${c/./})} + Name: python-neovim -Version:0.3.1 +Version:0.3.2 Release:0 Summary:Python client to Neovim License:Apache-2.0 Group: Productivity/Text/Editors URL:https://github.com/neovim/pynvim Source: https://github.com/neovim/pynvim/archive/%{version}/pynvim-%{version}.tar.gz -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: fdupes +%if 0%{?rhel} >= 7 +BuildRequires: python34-pytest +BuildRequires: python34-setuptools +%else +BuildRequires: python3-pytest +BuildRequires: python3-setuptools +%endif BuildRequires: python-rpm-macros +BuildRequires: python2-pytest +BuildRequires: python2-setuptools Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python ++ pynvim-0.3.1.tar.gz -> pynvim-0.3.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.3.1/.scrutinizer.yml new/pynvim-0.3.2/.scrutinizer.yml --- old/pynvim-0.3.1/.scrutinizer.yml 2018-11-17 10:38:41.0 +0100 +++ new/pynvim-0.3.2/.scrutinizer.yml 2019-01-20 16:22:43.0 +0100 @@ -131,4 +131,4 @@ tools: external_code_coverage: timeout: 1200 -runs: 5 +runs: 6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.3.1/.travis.yml new/pynvim-0.3.2/.travis.yml --- old/pynvim-0.3.1/.travis.yml2018-11-17 10:38:41.0 +0100 +++ new/pynvim-0.3.2/.travis.yml2019-01-20 16:22:43.0 +0100 @@ -1,16 +1,15 @@ -sudo: false +dist: xenial language: python env: global: -- NOSE_NOLOGCAPTURE=true -- NOSE_VERBOSE=2 -- NOSE_WITH_COVERAGE=true -- NOSE_COVER_PACKAGE=neovim - PYTEST_ADDOPTS=-vv matrix: - CI_TARGET=tests matrix: include: +- python: pypy + dist: trusty + sudo: false - python: 3.6 env: CI_TARGET=checkqa TOXENV=checkqa python: @@ -20,7 +19,7 @@ - 3.4 - 3.5 - 3.6 - - pypy + - 3.7 before_install: - if [ $CI_TARGET = tests ]; then eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pynvim-0.3.1/README.md new/pynvim-0.3.2/README.md --- old/pynvim-0.3.1/README.md 2018-11-17 10:38:41.0 +0100 +++ new/pynvim-0.3.2/README.md 2019-01-20 16:22:43.0 +0100 @@ -1,9 +1,9 @@ ### Pynvim: Python client to [Neovim](https://github.com/neovim/neovim) -[![Build Status](https://travis-ci.org/neovim/python-cl
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2018-11-27 10:42:41 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new.19453 (New) Package is "python-neovim" Tue Nov 27 10:42:41 2018 rev:12 rq:651966 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2018-11-05 22:54:26.500127810 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new.19453/python-neovim.changes 2018-11-27 10:43:18.864140812 +0100 @@ -1,0 +2,18 @@ +Sun Nov 25 19:07:05 CET 2018 - mc...@suse.com + +- Update to 0.3.1: +* This release renames the the package name (for PyPI and + importing) to pynvim. + +import neovim is still supported as an alias for backwards +compatibility, but new API users should use import pynvim. + +* More informative error message for usage from non-main thread +* script host: Use the correct interface for a path entry + finder +* api: implement Remote.__repr__ +* event loop: Enable asyncio on windows again +* host: Add client info (for nvim_list_chans()) +* host: make imports thread-safe + +--- Old: python-client-0.2.6.tar.gz New: pynvim-0.3.1.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.rDTgbo/_old 2018-11-27 10:43:20.048139597 +0100 +++ /var/tmp/diff_new_pack.rDTgbo/_new 2018-11-27 10:43:20.048139597 +0100 @@ -16,18 +16,18 @@ # +%define modname pynvim %{?!python_module:%define python_module() python-%{**} python3-%{**}} # For OpenSUSE and older Fedora %{!?python3_pkgversion:%global python3_pkgversion %(c=%{python3_version}; echo ${c/./})} Name: python-neovim -Version:0.2.6 +Version:0.3.1 Release:0 Summary:Python client to Neovim License:Apache-2.0 Group: Productivity/Text/Editors -URL:https://github.com/neovim/python-client -Source: https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz -BuildRequires: %{python_module devel} +URL:https://github.com/neovim/pynvim +Source: https://github.com/neovim/pynvim/archive/%{version}/pynvim-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -39,13 +39,14 @@ %if "%{python_flavor}" == "python2" Requires: python-trollius %endif +Provides: python-nvim %python_subpackages %description Library for scripting Nvim processes through its msgpack-rpc API. %prep -%autosetup -n python-client-%{version} +%autosetup -n %{modname}-%{version} %build %python_build @@ -58,6 +59,7 @@ %license LICENSE %doc README.md %{python_sitelib}/neovim/ -%{python_sitelib}/neovim-%{version}-*.egg-info/ +%{python_sitelib}/%{modname}/ +%{python_sitelib}/%{modname}-%{version}-*.egg-info/ %changelog
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2018-11-05 22:54:14 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Mon Nov 5 22:54:14 2018 rev:11 rq:646075 version:0.2.6 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2018-04-17 11:19:34.528623315 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2018-11-05 22:54:26.500127810 +0100 @@ -1,0 +2,8 @@ +Sat May 26 19:44:47 UTC 2018 - mc...@suse.com + +- Upgrade to 0.2.6 +* Some minor fixes +* Supported for communication with neovim in-process lua interpreter +- Clean-up SPEC file + +--- Old: python-client-0.2.4.tar.gz New: python-client-0.2.6.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.6v3QQW/_old 2018-11-05 22:54:28.036125867 +0100 +++ /var/tmp/diff_new_pack.6v3QQW/_new 2018-11-05 22:54:28.040125863 +0100 @@ -12,29 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# For OpenSUSE and older Fedora +%{!?python3_pkgversion:%global python3_pkgversion %(c=%{python3_version}; echo ${c/./})} Name: python-neovim -Version:0.2.4 +Version:0.2.6 Release:0 -Summary:Python 2 client to Neovim -# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"; +Summary:Python client to Neovim License:Apache-2.0 -Group: Productivity/Editors/Vi -Url:https://github.com/neovim/python-client +Group: Productivity/Text/Editors +URL:https://github.com/neovim/python-client Source: https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: neovim >= 0.2.1 +Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python BuildArch: noarch -%ifpython2 +%if "%{python_flavor}" == "python2" Requires: python-trollius %endif %python_subpackages @@ -43,7 +45,7 @@ Library for scripting Nvim processes through its msgpack-rpc API. %prep -%setup -q -n python-client-%{version} +%autosetup -n python-client-%{version} %build %python_build ++ python-client-0.2.4.tar.gz -> python-client-0.2.6.tar.gz ++ 2022 lines of diff (skipped)
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2018-04-17 11:19:31 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Tue Apr 17 11:19:31 2018 rev:10 rq:597250 version:0.2.4 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2017-11-18 00:20:38.596534910 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2018-04-17 11:19:34.528623315 +0200 @@ -1,0 +2,50 @@ +Mon Mar 26 15:33:14 UTC 2018 - roni...@gmail.com + +- Run spec-cleaner. +- Version bump to 0.2.4. + Upstream changelog: + + Version 0.2.4 + +Temporarily disable asyncio on windows again, as stdio is not +functional with asyncio yet. + +The new nvim.loop attribute is for the moment only available on +POSIX systems. + + Version 0.2.3 + +In this release support of python3.3 is dropped. Henceforth we +want python3 rplugins to be able to assume the usage of +asyncio, so they can use the asyncio event loop and libraries +that build on it. + +Furthermore, a close() method is added on nvim session objects. +When used as a library for externally connecting to a nvim +instance (i e not rplugins), it is recommended to call the +close() method on the session object when it is not needed +anymore. Alternatively, sessions can be used as a context +manager: + + with neovim.attach('socket', path=thepath) as nvim: + # do stuff with nvim session in this block: + print(nvim.funcs.getpid()) + print(nvim.current.line) + +* 2689ddc add tests for plugin decorators #298 +* 63f257f allow library users to properly cleanup the event + loop #303 +* 59c184f expose the asyncio event loop as nvim.loop (python + 3.4+ only) #294 + + Version 0.2.1 + +Adds compability with msgpack 0.5.2. + +* e800c64 discover_runtime_directories refactor (#287) +* 9cf971f Travis lint refactor (#288) +* 93e6b5b msgpack-python was renamed to msgpack (#293) +* 6fc0343 fix for msgpack 0.5.2 (#301) + + +--- Old: python-client-0.2.0.tar.gz New: python-client-0.2.4.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.fnAm0R/_old 2018-04-17 11:19:35.876560137 +0200 +++ /var/tmp/diff_new_pack.fnAm0R/_new 2018-04-17 11:19:35.880559950 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-neovim # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-neovim -Version:0.2.0 +Version:0.2.4 Release:0 Summary:Python 2 client to Neovim +# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"; License:Apache-2.0 Group: Productivity/Editors/Vi Url:https://github.com/neovim/python-client @@ -29,7 +30,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: neovim >= 0.1.6 +Requires: neovim >= 0.2.1 Requires: python-greenlet Requires: python-msgpack-python BuildArch: noarch @@ -52,7 +53,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc README.md LICENSE +%license LICENSE +%doc README.md %{python_sitelib}/neovim/ %{python_sitelib}/neovim-%{version}-*.egg-info/ ++ python-client-0.2.0.tar.gz -> python-client-0.2.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.2.0/.gitignore new/python-client-0.2.4/.gitignore --- old/python-client-0.2.0/.gitignore 2017-11-08 19:29:13.0 +0100 +++ new/python-client-0.2.4/.gitignore 2018-03-06 17:22:22.0 +0100 @@ -8,3 +8,6 @@ .cache .eggs .tox + +# Sphinx documentation +docs/_build/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.2.0/.readthedocs.yml new/python-client-0.2.4/.readthedocs.yml --- old/python-client-0.2.0/.readthedocs.yml1970-01-01 01:00:00.0 +0100 +++ new/python-client-0.2.4/.readthedocs.yml2018-03-06 17:22:22.0 +0100 @@ -0,0 +1,6 @@ +build: + image: latest + +python: + version: 3.6 + setup_py_install: true diff -urN
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2017-11-18 00:20:37 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Sat Nov 18 00:20:37 2017 rev:9 rq:541604 version:0.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2017-09-09 20:26:39.769007340 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2017-11-18 00:20:38.596534910 +0100 @@ -1,0 +2,15 @@ +Mon Nov 13 15:39:05 UTC 2017 - roni...@gmail.com + +- Run spec-cleaner. +- Version bump to 0.2.0. + Upstream changelog: +* a2e1169 Fix tests on windows (#201) +* 9a0e729 Fix an indexing bug when setting lines in a Range + object (#270) +* 4abd5d0 Documentation update (#272) +* a703b47 Make sure logging always uses UTF-8 regardless of + locale (#276) +* 68aa352 Add argument to allow nested notification handlers + (#262) + +--- Old: python-client-0.1.13.tar.gz New: python-client-0.2.0.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.b6TpGc/_old 2017-11-18 00:20:40.452467336 +0100 +++ /var/tmp/diff_new_pack.b6TpGc/_new 2017-11-18 00:20:40.456467191 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-neovim -Version:0.1.13 +Version:0.2.0 Release:0 Summary:Python 2 client to Neovim License:Apache-2.0 @@ -32,11 +32,10 @@ Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python +BuildArch: noarch %ifpython2 Requires: python-trollius %endif -BuildArch: noarch - %python_subpackages %description @@ -53,7 +52,6 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root) %doc README.md LICENSE %{python_sitelib}/neovim/ %{python_sitelib}/neovim-%{version}-*.egg-info/ ++ python-client-0.1.13.tar.gz -> python-client-0.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.13/README.md new/python-client-0.2.0/README.md --- old/python-client-0.1.13/README.md 2017-01-12 15:04:10.0 +0100 +++ new/python-client-0.2.0/README.md 2017-11-08 19:29:13.0 +0100 @@ -42,26 +42,44 @@ below. * `vim.funcs` exposes vimscript functions (both builtin and global user defined - functions) as a python namespace. For instance to set the value of the value - of a register - -`vim.funcs.setreg('0', ["some", "text"], 'l')` + functions) as a python namespace. For instance to set the value of a register + ``` + vim.funcs.setreg('0', ["some", "text"], 'l') + ``` + +* `vim.api` exposes nvim API methods. For instance to call `nvim_strwidth`, + ``` + result = vim.api.strwidth("some text") + ``` + Note the initial `nvim_` is not included. Also, object methods can be called + directly on their object, + ``` + buf = vim.current.buffer + len = buf.api.line_count() + ``` + calls `nvim_buf_line_count`. Alternatively msgpack requests can be invoked + directly, + ``` + result = vim.request("nvim_strwith", "some text") + len = vim.request("nvim_buf_line_count", buf) + ``` * The API is not thread-safe in general. However, `vim.async_call` allows a spawned thread to schedule code to be executed on the main thread. This method could also be called from `:python` or a synchronous request handler, to defer some execution that shouldn't block nvim. + ``` + :python vim.async_call(myfunc, args...) -`:python vim.async_call(myfunc, args...)` - + ``` Note that this code will still block the plugin host if it does long-running computations. Intensive computations should be done in a separate thread (or process), and `vim.async_call` can be used to send results back to nvim. -* Some methods accept an extra keyword-only argument `async`: `vim.eval`, - `vim.command` as well as the `vim.funcs` wrappers. The python host will not - wait for nvim to complete the request, which also means that the return value - is unavailable. +* Some methods accept an `async` keyword argument: `vim.eval`, `vim.command`, + `vim.request` as well as the `vim.funcs` and `vim.api` wrappers. When + `async=True` is passed the client will not wait for nvim to complete the + request (which also means that the return value is unavailable). Remote (new-style) plugins @@ -96,6 +114,14 @@ required for function return values), but by defaul
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2017-09-09 20:26:38 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Sat Sep 9 20:26:38 2017 rev:8 rq:522186 version:0.1.13 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2017-05-10 20:53:10.096404441 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2017-09-09 20:26:39.769007340 +0200 @@ -1,0 +2,5 @@ +Thu Sep 7 21:39:50 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version + +--- Old: python3-neovim.changes python3-neovim.spec Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.8C1Pvz/_old 2017-09-09 20:26:40.316930109 +0200 +++ /var/tmp/diff_new_pack.8C1Pvz/_new 2017-09-09 20:26:40.320929545 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-neovim Version:0.1.13 Release:0 @@ -24,15 +25,20 @@ Group: Productivity/Editors/Vi Url:https://github.com/neovim/python-client Source: https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel >= 2.7 -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python +%ifpython2 Requires: python-trollius +%endif BuildArch: noarch +%python_subpackages + %description Library for scripting Nvim processes through its msgpack-rpc API. @@ -40,17 +46,16 @@ %setup -q -n python-client-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -%fdupes %{buildroot}%{python_sitelib}/ +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root) %doc README.md LICENSE -%{python_sitelib}/neovim-%{version}-*.egg-info/ %{python_sitelib}/neovim/ +%{python_sitelib}/neovim-%{version}-*.egg-info/ %changelog
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2017-05-10 20:53:05 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Wed May 10 20:53:05 2017 rev:7 rq:493813 version:0.1.13 Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-11-18 22:02:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2017-05-10 20:53:10.096404441 +0200 @@ -1,0 +2,24 @@ +Tue May 9 16:55:41 UTC 2017 - roni...@gmail.com + +- Run spec-cleaner. +- Version bump to 0.1.13. + Upstream changelog: + + Version 0.1.13 + +* 549f721 Fix spawning a child on python 3.6 +* 171d137 Conform to pyuv 1.0 API +* 99a2150 use tox for testing and add python 3.6 to test matrix + +--- +Fri Dec 2 18:16:22 UTC 2016 - roni...@gmail.com + +- Version bump to 0.1.12. + Upstream changelog: + + Version 0.1.12 + +* 317abda export Object.handle and make Buffer.number + non-blocking + +--- python3-neovim.changes: same change Old: python-client-0.1.11.tar.gz New: python-client-0.1.13.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.Aq8ymN/_old 2017-05-10 20:53:10.932286488 +0200 +++ /var/tmp/diff_new_pack.Aq8ymN/_new 2017-05-10 20:53:10.936285924 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-neovim # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-neovim -Version:0.1.11 +Version:0.1.13 Release:0 Summary:Python 2 client to Neovim License:Apache-2.0 python3-neovim.spec: same change ++ python-client-0.1.11.tar.gz -> python-client-0.1.13.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.11/.gitignore new/python-client-0.1.13/.gitignore --- old/python-client-0.1.11/.gitignore 2016-11-08 16:07:50.0 +0100 +++ new/python-client-0.1.13/.gitignore 2017-01-12 15:04:10.0 +0100 @@ -5,3 +5,6 @@ build/ dist/ *.pyc +.cache +.eggs +.tox diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.11/.travis.yml new/python-client-0.1.13/.travis.yml --- old/python-client-0.1.11/.travis.yml2016-11-08 16:07:50.0 +0100 +++ new/python-client-0.1.13/.travis.yml2017-01-12 15:04:10.0 +0100 @@ -10,9 +10,7 @@ - CI_TARGET=tests matrix: include: -- python: 2.7 - env: CI_TARGET=flake -- python: 3.4 +- python: 3.6 env: CI_TARGET=flake python: # If the build matrix gets bigger, also update the number of runs @@ -21,11 +19,12 @@ - 3.3 - 3.4 - 3.5 + - 3.6 - pypy before_install: - if [ $CI_TARGET = tests ]; then eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64"; - pip install -q scrutinizer-ocular; + pip install -q scrutinizer-ocular tox-travis; else pip install -q flake8 flake8-import-order flake8-docstrings pep8-naming; fi @@ -33,7 +32,7 @@ - pip install . script: - if [ $CI_TARGET = tests ]; then - nosetests; + tox; else flake8 neovim; fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.11/neovim/__init__.py new/python-client-0.1.13/neovim/__init__.py --- old/python-client-0.1.11/neovim/__init__.py 2016-11-08 16:07:50.0 +0100 +++ new/python-client-0.1.13/neovim/__init__.py 2017-01-12 15:04:10.0 +0100 @@ -21,7 +21,7 @@ 'shutdown_hook', 'attach', 'setup_logging', 'ErrorResponse') -VERSION = Version(major=0, minor=1, patch=11, prerelease="dev") +VERSION = Version(major=0, minor=1, patch=13, prerelease="") def start_host(session=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.11/neovim/api/buffer.py new/python-client-0.1.13/neovim/api/buffer.py --- old/python-client-0.1.11/neovim/api/buffer.py 2016-11-08 16:07:50.0 +0100 +++ new/python-client-0.1.13/neovim/api/buffer.py 2017-01-12 15:04:10.0 +0100 @@ -128,7 +128,7 @@ @property def num
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2016-11-18 22:02:25 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-10-10 16:25:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2016-11-18 22:02:26.0 +0100 @@ -1,0 +2,18 @@ +Thu Nov 17 16:32:28 UTC 2016 - roni...@gmail.com + +- Add neovim as a runtime dependency, since there is no reason to + install this package without neovim and the new version will only + work with neovim >= 0.1.6. +- Version bump to 0.1.11. + Upstream changelog: + + Version 0.1.11 + +* ce840cb Add number attribute to Window and Tabpage objects +* 111bc07 Use api level 1, as released with nvim 0.1.6. +* ba1fcd4 add neovim.VERSION (python module version) and + nvim.version attributes. +* 6eb75a3 show full tracebacks for errors in handlers and + callbacks + +--- python3-neovim.changes: same change Old: python-client-0.1.10.tar.gz New: python-client-0.1.11.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.5hfaD2/_old 2016-11-18 22:02:27.0 +0100 +++ /var/tmp/diff_new_pack.5hfaD2/_new 2016-11-18 22:02:27.0 +0100 @@ -17,7 +17,7 @@ Name: python-neovim -Version:0.1.10 +Version:0.1.11 Release:0 Summary:Python 2 client to Neovim License:Apache-2.0 @@ -25,8 +25,9 @@ Url:https://github.com/neovim/python-client Source: https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz BuildRequires: fdupes -BuildRequires: python-devel +BuildRequires: python-devel >= 2.7 BuildRequires: python-setuptools +Requires: neovim >= 0.1.6 Requires: python-greenlet Requires: python-msgpack-python Requires: python-trollius ++ python3-neovim.spec ++ --- /var/tmp/diff_new_pack.5hfaD2/_old 2016-11-18 22:02:27.0 +0100 +++ /var/tmp/diff_new_pack.5hfaD2/_new 2016-11-18 22:02:27.0 +0100 @@ -17,7 +17,7 @@ Name: python3-neovim -Version:0.1.10 +Version:0.1.11 Release:0 Summary:Python 3 client to Neovim License:Apache-2.0 @@ -25,8 +25,9 @@ Url:https://github.com/neovim/python-client Source: https://github.com/neovim/python-client/archive/%{version}/python-client-%{version}.tar.gz BuildRequires: fdupes -BuildRequires: python3-devel +BuildRequires: python3-devel >= 3.3 BuildRequires: python3-setuptools +Requires: neovim >= 0.1.6 Requires: python3-greenlet Requires: python3-msgpack-python BuildArch: noarch ++ python-client-0.1.10.tar.gz -> python-client-0.1.11.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.10/.scrutinizer.yml new/python-client-0.1.11/.scrutinizer.yml --- old/python-client-0.1.10/.scrutinizer.yml 2016-09-24 10:09:36.0 +0200 +++ new/python-client-0.1.11/.scrutinizer.yml 2016-11-08 16:07:50.0 +0100 @@ -131,4 +131,4 @@ tools: external_code_coverage: timeout: 1200 -runs: 6 +runs: 5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.10/.travis.yml new/python-client-0.1.11/.travis.yml --- old/python-client-0.1.10/.travis.yml2016-09-24 10:09:36.0 +0200 +++ new/python-client-0.1.11/.travis.yml2016-11-08 16:07:50.0 +0100 @@ -17,7 +17,6 @@ python: # If the build matrix gets bigger, also update the number of runs # at the bottom of .scrutinizer.yml. - - 2.6 - 2.7 - 3.3 - 3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.10/README.md new/python-client-0.1.11/README.md --- old/python-client-0.1.10/README.md 2016-09-24 10:09:36.0 +0200 +++ new/python-client-0.1.11/README.md 2016-11-08 16:07:50.0 +0100 @@ -9,6 +9,8 @@ Installation +Supports python 2.7, and 3.3 or later. + ```sh pip2 install neovim pip3 install neovim diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.10/neovim/__init__.py new/python-client-0.1.11/neovim/__init__.py --- old/python-client-0.1.10/neovim/__init__.py 2016-09-24 10:09:36.0 +0200 +++ new/python-client-0.1.11/neovim/__init__.py
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2016-10-10 16:24:43 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-08-12 15:44:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2016-10-10 16:25:00.0 +0200 @@ -1,0 +2,15 @@ +Sat Oct 8 23:57:56 UTC 2016 - roni...@gmail.com + +- Version bump to 0.1.10. + Upstream changelog: + + Version 0.1.10 + +* 861b0ba Report errors in handlers on stderr when used as + external client +* 36b2732 Don't rely on sys.stderr when it is not used +* 1954384 Allow Buffer.append to take bytes (b'...') as + argument +* cb23953 Use predictable log file names + +--- python3-neovim.changes: same change Old: python-client-0.1.9.tar.gz New: python-client-0.1.10.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.a94uEf/_old 2016-10-10 16:25:04.0 +0200 +++ /var/tmp/diff_new_pack.a94uEf/_new 2016-10-10 16:25:04.0 +0200 @@ -17,7 +17,7 @@ Name: python-neovim -Version:0.1.9 +Version:0.1.10 Release:0 Summary:Python 2 client to Neovim License:Apache-2.0 python3-neovim.spec: same change ++ python-client-0.1.9.tar.gz -> python-client-0.1.10.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.9/README.md new/python-client-0.1.10/README.md --- old/python-client-0.1.9/README.md 2016-06-12 20:53:09.0 +0200 +++ new/python-client-0.1.10/README.md 2016-09-24 10:09:36.0 +0200 @@ -145,7 +145,9 @@ NVIM_PYTHON_LOG_FILE=logfile NVIM_PYTHON_LOG_LEVEL=DEBUG nvim ``` As more than one python host process might be started, the log filenames take -the pattern `logfile_PID` where `PID` is the process id. +the pattern `logfile_pyX_KIND` where `X` is the major python version (2 or 3) +and `KIND` is either "rplugin" or "script" (for the `:python[3]` +script interface). If the host cannot start at all, the error could be found in `~/.nvimlog` if `nvim` was compiled with logging. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.9/neovim/__init__.py new/python-client-0.1.10/neovim/__init__.py --- old/python-client-0.1.9/neovim/__init__.py 2016-06-12 20:53:09.0 +0200 +++ new/python-client-0.1.10/neovim/__init__.py 2016-09-24 10:09:36.0 +0200 @@ -53,7 +53,14 @@ if os.path.isdir(path) and dup in plugins: plugins.remove(dup) -setup_logging() +# Special case: the legacy scripthost receives a single relative filename +# while the rplugin host will receive absolute paths. +if plugins == ["script_host.py"]: +name = "script" +else: +name = "rplugin" + +setup_logging(name) if not session: session = stdio_session() @@ -94,12 +101,13 @@ return Nvim.from_session(session).with_decode(decode) -def setup_logging(): +def setup_logging(name): """Setup logging according to environment variables.""" logger = logging.getLogger(__name__) if 'NVIM_PYTHON_LOG_FILE' in os.environ: -logfile = (os.environ['NVIM_PYTHON_LOG_FILE'].strip() + - '_' + str(os.getpid())) +prefix = os.environ['NVIM_PYTHON_LOG_FILE'].strip() +major_version = sys.version_info[0] +logfile = '{0}_py{1}_{2}'.format(prefix, major_version, name) handler = logging.FileHandler(logfile, 'w') handler.formatter = logging.Formatter( '%(asctime)s [%(levelname)s @ ' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.9/neovim/api/buffer.py new/python-client-0.1.10/neovim/api/buffer.py --- old/python-client-0.1.9/neovim/api/buffer.py2016-06-12 20:53:09.0 +0200 +++ new/python-client-0.1.10/neovim/api/buffer.py 2016-09-24 10:09:36.0 +0200 @@ -104,7 +104,7 @@ def append(self, lines, index=-1): """Append a string or list of lines to the buffer.""" -if isinstance(lines, basestring): +if isinstance(lines, (basestring, bytes)): lines = [lines] return self._session.request('buffer_insert', self, index, lines) @@ -125,7 +125,7 @@ line, col_start, col_end, async=async) def clear_highlight(self, s
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2016-08-12 15:44:01 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-05-29 03:13:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2016-08-12 15:44:03.0 +0200 @@ -1,0 +2,12 @@ +Wed Aug 10 14:13:52 UTC 2016 - roni...@gmail.com + +- Version bump to 0.1.9. + Upstream changelog: + + Version 0.1.9 + +* 8eb6ba7 fix vim.buffers interface +* deecb3e Hide irrelevant parts of tracebacks from plugin + errors + +--- python3-neovim.changes: same change Old: python-client-0.1.8.tar.gz New: python-client-0.1.9.tar.gz Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.8WJiZi/_old 2016-08-12 15:44:04.0 +0200 +++ /var/tmp/diff_new_pack.8WJiZi/_new 2016-08-12 15:44:04.0 +0200 @@ -17,7 +17,7 @@ Name: python-neovim -Version:0.1.8 +Version:0.1.9 Release:0 Summary:Python 2 client to Neovim License:Apache-2.0 python3-neovim.spec: same change ++ python-client-0.1.8.tar.gz -> python-client-0.1.9.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.8/README.md new/python-client-0.1.9/README.md --- old/python-client-0.1.8/README.md 2016-05-10 15:49:31.0 +0200 +++ new/python-client-0.1.9/README.md 2016-06-12 20:53:09.0 +0200 @@ -169,7 +169,7 @@ # Create a python API session attached to unix domain socket created above: >>> nvim = attach('socket', path='/tmp/nvim') # Now do some work. ->>> buffer = nvim.buffers[0] # Get the first buffer +>>> buffer = nvim.current.buffer # Get the current buffer >>> buffer[0] = 'replace first line' >>> buffer[:] = ['replace whole buffer'] >>> nvim.command('vsplit') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.8/neovim/api/buffer.py new/python-client-0.1.9/neovim/api/buffer.py --- old/python-client-0.1.8/neovim/api/buffer.py2016-05-10 15:49:31.0 +0200 +++ new/python-client-0.1.9/neovim/api/buffer.py2016-06-12 20:53:09.0 +0200 @@ -1,4 +1,4 @@ -"""API for working with Nvim buffers.""" +"""API for working with a Nvim Buffer.""" from .common import Remote from ..compat import IS_PYTHON3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.8/neovim/api/common.py new/python-client-0.1.9/neovim/api/common.py --- old/python-client-0.1.8/neovim/api/common.py2016-05-10 15:49:31.0 +0200 +++ new/python-client-0.1.9/neovim/api/common.py2016-06-12 20:53:09.0 +0200 @@ -113,9 +113,9 @@ sequences(of lines, buffers, windows and tabpages) with an API that is similar to the one provided by the python-vim interface. -For example, the 'buffers' property of the `Nvim class is a RemoteSequence -sequence instance, and the expression `nvim.buffers[0]` is translated to -session.request('vim_get_buffers')[0]. +For example, the 'windows' property of the `Nvim` class is a RemoteSequence +sequence instance, and the expression `nvim.windows[0]` is translated to +session.request('vim_get_windows')[0]. It can also receive an optional self_obj that will be passed as first argument of the request. For example, `tabpage.windows[0]` is translated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-client-0.1.8/neovim/api/nvim.py new/python-client-0.1.9/neovim/api/nvim.py --- old/python-client-0.1.8/neovim/api/nvim.py 2016-05-10 15:49:31.0 +0200 +++ new/python-client-0.1.9/neovim/api/nvim.py 2016-06-12 20:53:09.0 +0200 @@ -3,7 +3,7 @@ import os import sys -from traceback import format_exc, format_stack +from traceback import format_stack from msgpack import ExtType @@ -13,7 +13,7 @@ from .tabpage import Tabpage from .window import Window from ..compat import IS_PYTHON3 - +from ..util import format_exc_skip __all__ = ('Nvim') @@ -79,7 +79,7 @@ self.vars = RemoteMap(self, 'vim_get_var', 'vim_set_var') self.vvars = RemoteMap(self, 'vim_get_vvar', None) self.options = RemoteMap(self, 'vim_get_option', 'vim_set_option') -self.buffers = RemoteSequence(self, 'vim_get_buffers') +self.buffers = Bu
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2016-05-29 03:12:43 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-05-23 16:40:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2016-05-29 03:13:41.0 +0200 @@ -1,0 +2,6 @@ +Thu May 26 03:02:49 UTC 2016 - roni...@gmail.com + +- Remove unneeded dependencies since the GUI was moved to another + package. + +--- Other differences: -- ++ python-neovim.spec ++ --- /var/tmp/diff_new_pack.a8DN56/_old 2016-05-29 03:13:42.0 +0200 +++ /var/tmp/diff_new_pack.a8DN56/_new 2016-05-29 03:13:42.0 +0200 @@ -27,11 +27,8 @@ BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools -Requires: python-click -Requires: python-futures Requires: python-greenlet Requires: python-msgpack-python -Requires: python-setuptools Requires: python-trollius BuildArch: noarch
commit python-neovim for openSUSE:Factory
Hello community, here is the log from the commit of package python-neovim for openSUSE:Factory checked in at 2016-05-23 16:40:16 Comparing /work/SRC/openSUSE:Factory/python-neovim (Old) and /work/SRC/openSUSE:Factory/.python-neovim.new (New) Package is "python-neovim" Changes: --- /work/SRC/openSUSE:Factory/python-neovim/python-neovim.changes 2016-04-28 16:56:50.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-neovim.new/python-neovim.changes 2016-05-23 16:40:36.0 +0200 @@ -1,0 +2,18 @@ +Sun May 15 19:38:29 UTC 2016 - roni...@gmail.com + +- Version bump to 0.1.8. + Upstream changelog: + + Version 0.1.8 + +* 44fb250 vim compatible behavior for vim.eval("[1, 2]") +* 16cdbc5 fix bang and register command modifiers +* d6669ab better handling of invalid utf-8 in python3 +* 96c721a Don't error out on :UpdateRemotePlugins when there is + no plugins. +* 5f80a55 Use pyuv instead of asyncio on Windows to support + stdio. +- Fix `python-neovim.changes` and `python3-neovim.changes` + indentation. + +--- @@ -5 +23 @@ - Upstream changelong: + Upstream changelog: @@ -9,2 +27,2 @@ -Add back compatibility for nvim.session.threadsafe_call which is quite -common. +Add back compatibility for nvim.session.threadsafe_call which +is quite common. @@ -14,3 +32,4 @@ -This release contains some breaking changes, primarily for using this -package as a client to remote nvim instances. Most python plugins (both -legacy and rplugins) are expected to be unaffected. +This release contains some breaking changes, primarily for +using this package as a client to remote nvim instances. Most +python plugins (both legacy and rplugins) are expected to be +unaffected. @@ -18,2 +37,2 @@ -This version requires recent master version of neovim (or 0.1.3 when it gets -released). +This version requires recent master version of neovim (or 0.1.3 +when it gets released). @@ -29,5 +48,6 @@ -nvim.with_hook is gone. This was mostly used by clients to configure -decoding on python3. With this release, neovim.attach will activate decoding -for python3, so str is returned by default on both python2 and python3. -attach takes an optional boolean keyword argument decode, to force -decoding on or off. Decoding behavior can be changed with nvim2 = +nvim.with_hook is gone. This was mostly used by clients to +configure decoding on python3. With this release, neovim.attach +will activate decoding for python3, so str is returned by +default on both python2 and python3. attach takes an optional +boolean keyword argument decode, to force decoding on or off. +Decoding behavior can be changed with nvim2 = @@ -38,5 +58,6 @@ -* 6655ced remove SessionHook and move public session api to the nvim object -* 22537a2 introduce nvim.api.some_method and buffer.api.some_method to call - the msgpack API directly -* 69d6d0f allow nosetests without needing to set envirionment varibles to - find nvim +* 6655ced remove SessionHook and move public session api to the + nvim object +* 22537a2 introduce nvim.api.some_method and + buffer.api.some_method to call the msgpack API directly +* 69d6d0f allow nosetests without needing to set envirionment + varibles to find nvim @@ -46,3 +67,4 @@ -Also some bugs regarding line indexing are fixed in neovim master (not the -python-client), for instance buffer.append("line", i), when the line is -inserted after the last existing line, is no longer an error. +Also some bugs regarding line indexing are fixed in neovim +master (not the python-client), for instance +buffer.append("line", i), when the line is inserted after the +last existing line, is no longer an error. @@ -52,2 +74,2 @@ -Previously, when implementing an rplugin as a package, an empty dummy file -was needed like this: +Previously, when implementing an rplugin as a package, an empty +dummy file was needed like this: @@ -70,3 +92,3 @@ -This release introduces no new features or bugfixes, and is a compatibility -release. Neovim master will soon require this version (or later) being -installed. +This release introduces no new features or bugfixes, and is a +compatibility release. Neovim master will soon require this +version (or later) being installed. @@ -87,2 +109,2 @@ -* c3789fb move test/common.py to test/test_common.py to include it in - release tarballs +* c3789fb move test/common.py to test/test_common.py to include + it in release tarballs @@ -90,2 +112,4 @@ -* 4be9207 better handling of exceptions in async (notification) handlers -* 57747f6 allow $NVIM_PYTHON_LO