Hello community,
here is the log from the commit of package python-strictyaml for
openSUSE:Factory checked in at 2019-10-10 11:53:30
Comparing /work/SRC/openSUSE:Factory/python-strictyaml (Old)
and /work/SRC/openSUSE:Factory/.python-strictyaml.new.2352 (New)
Package is "python-strictyaml"
Thu Oct 10 11:53:30 2019 rev:3 rq:736798 version:1.0.5
Changes:
--- /work/SRC/openSUSE:Factory/python-strictyaml/python-strictyaml.changes
2019-09-30 15:58:44.201322373 +0200
+++
/work/SRC/openSUSE:Factory/.python-strictyaml.new.2352/python-strictyaml.changes
2019-10-10 11:53:30.847310271 +0200
@@ -1,0 +2,8 @@
+Thu Oct 10 08:20:48 UTC 2019 - Tomáš Chvátal
+
+- Update to 1.0.5:
+ * BUGFIX : Fixed python 2 bug introduced when fixing #72.
+ * FEATURE : Include tests / stories in package.
+ * BUG: issue #72. Now setitem uses schema.
+
+---
Old:
strictyaml-1.0.3.tar.gz
New:
strictyaml-1.0.5.tar.gz
Other differences:
--
++ python-strictyaml.spec ++
--- /var/tmp/diff_new_pack.CsSoUF/_old 2019-10-10 11:53:31.415308763 +0200
+++ /var/tmp/diff_new_pack.CsSoUF/_new 2019-10-10 11:53:31.419308753 +0200
@@ -18,11 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-strictyaml
-Version:1.0.3
+Version:1.0.5
Release:0
Summary:Strict, typed YAML parser
License:MIT
-Group: Development/Languages/Python
URL:https://hitchdev.com/strictyaml
Source:
https://github.com/crdoconnor/strictyaml/archive/%{version}.tar.gz#/strictyaml-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
++ strictyaml-1.0.3.tar.gz -> strictyaml-1.0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strictyaml-1.0.3/MANIFEST.in
new/strictyaml-1.0.5/MANIFEST.in
--- old/strictyaml-1.0.3/MANIFEST.in2019-09-12 20:21:25.0 +0200
+++ new/strictyaml-1.0.5/MANIFEST.in2019-10-05 17:01:06.0 +0200
@@ -1,3 +1,6 @@
include VERSION
include LICENSE.txt
include README.md
+recursive-include hitch *
+prune hitch/__pycache__
+prune hitch/gen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strictyaml-1.0.3/VERSION new/strictyaml-1.0.5/VERSION
--- old/strictyaml-1.0.3/VERSION2019-09-12 20:21:25.0 +0200
+++ new/strictyaml-1.0.5/VERSION2019-10-05 17:01:06.0 +0200
@@ -1 +1 @@
-1.0.3
\ No newline at end of file
+1.0.5
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strictyaml-1.0.3/hitch/engine.py
new/strictyaml-1.0.5/hitch/engine.py
--- old/strictyaml-1.0.3/hitch/engine.py2019-09-12 20:21:25.0
+0200
+++ new/strictyaml-1.0.5/hitch/engine.py2019-10-05 17:01:06.0
+0200
@@ -2,6 +2,7 @@
from hitchstory import GivenDefinition, GivenProperty, InfoDefinition,
InfoProperty
from templex import Templex
from strictyaml import Optional, Str, Map, Int, Bool, Enum, load
+from path import Path
import hitchpylibrarytoolkit
from hitchrunpy import (
ExamplePythonCode,
@@ -61,12 +62,16 @@
if not self.path.profile.exists():
self.path.profile.mkdir()
-self.python = hitchpylibrarytoolkit.project_build(
-"strictyaml",
-self.path,
-self.given["python version"],
-{"ruamel.yaml": self.given["ruamel version"]},
-).bin.python
+if not self.settings.get("python_path"):
+self.python = hitchpylibrarytoolkit.project_build(
+"strictyaml",
+self.path,
+self.given["python version"],
+{"ruamel.yaml": self.given["ruamel version"]},
+).bin.python
+else:
+self.python = Path(self.settings.get("python_path"))
+assert self.python.exists()
self.example_py_code = (
ExamplePythonCode(self.python, self.path.gen)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/strictyaml-1.0.3/hitch/key.py
new/strictyaml-1.0.5/hitch/key.py
--- old/strictyaml-1.0.3/hitch/key.py 2019-09-12 20:21:25.0 +0200
+++ new/strictyaml-1.0.5/hitch/key.py 2019-10-05 17:01:06.0 +0200
@@ -111,6 +111,16 @@
storybook.with_params(**{"python version":
"3.7.0"}).ordered_by_name().play()
+@expected(HitchStoryException)
+def regression_on_python_path(python_path, python_version):
+"""
+Run regression tests - e.g. hk regression_on_python_path /usr/bin/python
3.7.0
+"""
+