Hello community,

here is the log from the commit of package python-xonsh for openSUSE:Factory 
checked in at 2020-09-04 11:02:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xonsh (Old)
 and      /work/SRC/openSUSE:Factory/.python-xonsh.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xonsh"

Fri Sep  4 11:02:14 2020 rev:7 rq:830708 version:0.9.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xonsh/python-xonsh.changes        
2020-08-01 12:29:36.106368267 +0200
+++ /work/SRC/openSUSE:Factory/.python-xonsh.new.3399/python-xonsh.changes      
2020-09-04 11:03:02.926749903 +0200
@@ -1,0 +2,8 @@
+Mon Aug 31 08:56:51 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.9.20:
+  * Many bugfixes around
+- Add patch to fix tests:
+  * vox-tests.patch
+
+-------------------------------------------------------------------

Old:
----
  xonsh-0.9.18.tar.gz

New:
----
  vox-tests.patch
  xonsh-0.9.20.tar.gz

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

Other differences:
------------------
++++++ python-xonsh.spec ++++++
--- /var/tmp/diff_new_pack.goSSIr/_old  2020-09-04 11:03:04.978751002 +0200
+++ /var/tmp/diff_new_pack.goSSIr/_new  2020-09-04 11:03:04.982751005 +0200
@@ -19,12 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-xonsh
-Version:        0.9.18
+Version:        0.9.20
 Release:        0
 Summary:        Python-powered, cross-platform, Unix-gazing shell
 License:        BSD-2-Clause
 URL:            https://github.com/xonsh/xonsh
 Source:         
https://files.pythonhosted.org/packages/source/x/xonsh/xonsh-%{version}.tar.gz
+Patch0:         vox-tests.patch
 BuildRequires:  %{python_module distro}
 BuildRequires:  %{python_module importlib_resources}
 BuildRequires:  %{python_module prompt_toolkit >= 2.0}
@@ -54,6 +55,13 @@
 
 %prep
 %setup -q -n xonsh-%{version}
+%autopatch -p1
+
+# remove bundled prompt_toolkit
+rm -r xonsh/vended_ptk/
+
+# do not run flake8 check
+sed -i -e '/python -m flake8/d' run-tests.xsh
 
 %build
 %python_build
@@ -70,7 +78,7 @@
 # test_man_completion needs installed manpages
 # test_xonsh_no_close_fds the makefile fails to compile
 %{python_expand export PYTHONPATH=":%{buildroot}%{$python_sitelib}"
-$python -m xonsh run-tests.xsh -k 'not (test_man_completion or 
test_xonsh_no_close_fds)'}
+$python -m xonsh run-tests.xsh -v -k 'not (test_man_completion or 
test_xonsh_no_close_fds)'}
 
 %post
 %python_install_alternative xonsh-cat

++++++ vox-tests.patch ++++++
>From 00aeb7645af97134495cc6bc5fe2f41922df8676 Mon Sep 17 00:00:00 2001
From: David Strobach <[email protected]>
Date: Sat, 29 Aug 2020 16:39:14 +0200
Subject: [PATCH] tests: Add VIRTUAL_ENV key to DummyEnv

Needed by test_vox.py.
---
 tests/tools.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/tools.py b/tests/tools.py
index 651cb6db4..d27c16705 100644
--- a/tests/tools.py
+++ b/tests/tools.py
@@ -106,7 +106,11 @@ def flush(self, *args, **kwargs):
 
 class DummyEnv(MutableMapping):
 
-    DEFAULTS = {"XONSH_DEBUG": 1, "XONSH_COLOR_STYLE": "default"}
+    DEFAULTS = {
+        "XONSH_DEBUG": 1,
+        "XONSH_COLOR_STYLE": "default",
+        "VIRTUAL_ENV": "",
+    }
 
     def __init__(self, *args, **kwargs):
         self._d = self.DEFAULTS.copy()
++++++ xonsh-0.9.18.tar.gz -> xonsh-0.9.20.tar.gz ++++++
++++ 60369 lines of diff (skipped)


Reply via email to