Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xonsh for openSUSE:Factory checked 
in at 2021-11-30 23:16:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xonsh (Old)
 and      /work/SRC/openSUSE:Factory/.xonsh.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xonsh"

Tue Nov 30 23:16:00 2021 rev:29 rq:934620 version:0.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xonsh/xonsh.changes      2021-08-03 
22:49:40.168429653 +0200
+++ /work/SRC/openSUSE:Factory/.xonsh.new.31177/xonsh.changes   2021-12-02 
02:28:55.171847855 +0100
@@ -1,0 +2,79 @@
+Thu Nov 18 19:52:19 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- add fix-4550.patch to fix doc build error and re-enable doc builds.
+
+-------------------------------------------------------------------
+Thu Nov 18 06:49:11 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at>
+
+- update to version 0.11.0:
+ - Added:
+ - added new utility classes ``xonsh.cli_utils.ArgParserAlias``, 
``xonsh.cli_utils.ArgCompleter``.
+   These are helper classes, that add coloring and auto-completion support to 
the alias-commands.
+ - when ``$ENABLE_ASYNC_PROMPT=True`` lazy load ``prompt-toolkit``'s 
color-input support.
+ - Add ``CTRL-Right`` key binding to complete a single auto-suggestion word.
+ - Show environment variables' type and descriptions when completing them.
+ - Add ``CTRL-Backspace`` key binding to delete a single word via 
``$XONSH_CTRL_BKSPC_DELETION``.
+ - Improved ``pip``/``xpip`` completer.
+ - Separator used by gitstatus can now be styled using 
``XONSH_GITSTATUS_SEPARATOR``.
+ - Complete 'import' statements with modules that aren't loaded.
+ - Complete multiple modules/objects in 'import' statements.
+ - Multiple new metadata fields in ``setup.py``
+ - Pure Python control files are now supported when named ``*.py``.
+   Using python files may lower the startup time by a bit.
+ - new environment variable ``$XONSH_TRACE_SUBPROC_FUNC``
+   to handle ``$XONSH_TRACE_SUBPROC`` output
+ - Added `xontrib-pyrtn <https://github.com/dyuri/xontrib-pyrtn>` to xontrib 
list.
+ - Changed:
+ - Display error message when running `xonfig colors` in a non-interactive 
shell
+ - Using ``ArgparserAlias`` for ``dirs``, ``popd``, ``pushd``
+ - use ``ArgparserAlias`` for ``disown`` alias with completion support
+ - ``history`` alias now has colored help message and completion support when 
running interactively.
+ - using ``ArgparserAlias`` for ``trace`` alias with completion support
+ - improve ``vox`` CLI completions
+ - use ArgparserAlias for ``xexec``. Now it supports completions.
+ - ``xonfig`` now has colored help message when ran interactively.
+ - Using ``ArgparserAlias`` to improve ``xontrib`` completions
+ - Changed !() to also capture background subprocesses
+ - Suggested commands are cached for better performance.
+ - Improved pipelines performance by using a mutable buffer.
+ - Curly braces { } in directory names are now escaped in the prompt
+ - The ``--rc`` argument is extended to support directories as well as files.
+   Passing a directory will result in all ``*.xsh`` files in the directory 
being
+   sorted and loaded at startup (equivalent to using the environment variable
+   ``XONSHRC_DIR``).
+ - The environment variables ``XONSHRC`` and ``XONSHRC_DIR`` are no longer 
updated by xonsh on
+   startup according to which files were actually loaded. This caused problems 
if xonsh is called
+   recursively, as the child shells would inherit the modified startup 
environment of the parent.
+   These variables will now be left untouched, and the actual RC files loaded 
(according to those
+   variables and command line arguments) can be seen in the output of 
``xonfig``.
+ - Replaced `xontrib-linuxbrew 
<https://github.com/eugenesvk/xontrib-linuxbrew>`_ with `xontrib-homebrew 
<https://github.com/eugenesvk/xontrib-homebrew>`_, which also supports Homebrew 
on macOS
+ - Removed:
+ - Completely dropped the deprecated ``--config-path`` argument, which no 
longer
+   did anything.
+ - The environment variable ``LOADED_RC_FILES`` is no longer set. It contained 
a list of booleans
+   as to which RC files had been successfully loaded, but it required 
knowledge of the RC loading
+   internals to interpret which status corresponded to which file. As above, 
the (successfully)
+   loaded RC files are now shown in ``xonfig``.
+ - Fixed:
+ - Add quotes in autocomplete when filename contains brackets
+ - Handle ``None`` value on XSH.env if ``$UPDATE_OS_ENVIRON`` is set to 
``True``
+ - Implemented `__hash__` method to Env, so that it can be used in `lru_cache` 
without crashing.
+ - Make sure aliases are always captured regardless of 
``$XONSH_CAPTURE_ALWAYS``
+ - ``fromdircolors`` doesn't crash if output from subprocess call to 
``dircolors`` returns
+   nothing (usually due to permission errors)
+ - Fixed issue with environment not being iterable on session objects.
+ - Fixed issue where environment is None in commands cache.
+ - ``${...}.swap()`` can be called from multiple threads safetly.
+ - Piping multiple function aliases doesn't raise a recursion error anymore.
+ - Fixed detection of App Execution Alias for latest 3.8 and 3.9 releases
+ - ``Jedi`` completer doesn't complete paths with ``~``.
+ - Sometimes the completion menu doesn't take space when cursor is at the 
bottom of the screen.
+ - vox now passes system-site-packages option
+ - Fix Duplicate paths left over when add paths to Path via xonsh.tools.EnvPath
+ - Fix  Crash with FileNotFoundError when current working directory is deleted 
#4467
+ - Completing a single-arg python code segment (e.g. ``@(/etc/hos<TAB>)``).
+ - Fixed pipelines in WSL2
+ - Newline symbols in Prompt-toolkit's completions are replaced by <space>
+ - Fix launching processes on Windows by using full paths 
(https://bugs.python.org/issue8557)
+
+-------------------------------------------------------------------

Old:
----
  xonsh-0.10.1.tar.gz

New:
----
  fix-4550.patch
  xonsh-0.11.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xonsh.spec ++++++
--- /var/tmp/diff_new_pack.WV9nqW/_old  2021-12-02 02:28:55.659846171 +0100
+++ /var/tmp/diff_new_pack.WV9nqW/_new  2021-12-02 02:28:55.659846171 +0100
@@ -17,13 +17,15 @@
 
 
 Name:           xonsh
-Version:        0.10.1
+Version:        0.11.0
 Release:        0
 Summary:        A general purpose, Python-powered shell
 License:        BSD-3-Clause AND BSD-2-Clause
 Group:          Development/Languages/Python
-URL:            https://xonsh.org
+URL:            https://xon.sh/
 Source0:        
https://github.com/xonsh/xonsh/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-4550.patch -- fix doc build error, from 
https://github.com/xonsh/xonsh/issues/4550#issue-1056650555-permalink
+Patch0:         https://github.com/xonsh/xonsh/pull/4559.patch#/fix-4550.patch
 # SECTION docs
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-cloud-sptheme
@@ -56,10 +58,12 @@
 
 %prep
 %setup -q -n xonsh-%{version}
+%autopatch -p1
 sed -i '1s/^#!.*//' xonsh/xoreutils/_which.py xonsh/webconfig/main.py
 
 %build
 python3 setup.py build
+# Temporarily disabled building docs because of error 
https://github.com/xonsh/xonsh/issues/4551
 pushd docs
 LANG=C.UTF-8 PYTHONPATH=.. make html
 # work around a rpmlint error file-contains-buildroot
@@ -70,6 +74,7 @@
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 %fdupes %{buildroot}
+%fdupes -s docs/
 %fdupes -s docs/_build/html/
 
 %files
@@ -82,6 +87,7 @@
 %license license
 
 %files -n %{name}-doc
+%doc docs
 %doc docs/_build/html
 
 %changelog

++++++ fix-4550.patch ++++++
>From 4e6508aa6bc338770f7c14b660ff39cb31ca061d Mon Sep 17 00:00:00 2001
From: Noortheen Raja <jnoorth...@gmail.com>
Date: Sat, 20 Nov 2021 19:26:57 +0530
Subject: [PATCH] fix: docs build fail on tracer calls without spec

---
 xonsh/tracer.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xonsh/tracer.py b/xonsh/tracer.py
index 3457f241b..859ad090d 100644
--- a/xonsh/tracer.py
+++ b/xonsh/tracer.py
@@ -222,9 +222,9 @@ def build(self):
         return parser
 
     def __call__(self, *args, **kwargs):
-        spec = kwargs["spec"]
+        spec = kwargs.get("spec")
         usecolor = (
-            spec.captured not in xpp.STDOUT_CAPTURE_KINDS
+            spec and (spec.captured not in xpp.STDOUT_CAPTURE_KINDS)
         ) and sys.stdout.isatty()
         tracer.color_output(usecolor)
         return super().__call__(*args, **kwargs)
++++++ xonsh-0.10.1.tar.gz -> xonsh-0.11.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/xonsh/xonsh-0.10.1.tar.gz 
/work/SRC/openSUSE:Factory/.xonsh.new.31177/xonsh-0.11.0.tar.gz differ: char 
80, line 1

Reply via email to