Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2020-11-09 13:57:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-textX" Mon Nov 9 13:57:49 2020 rev:13 rq:846971 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2020-08-18 15:05:41.179907533 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.11331/python-textX.changes 2020-11-09 13:59:01.931752016 +0100 @@ -1,0 +2,47 @@ +Sun Nov 1 17:56:21 UTC 2020 - Sebastian Wagner <sebix+novell....@sebix.at> + +- remove fix_tests_setupcfg.patch, included upstream +- update to version 2.3.0: + - Added: + - `textx generate`. Documented passing in arbitrary parameters which can be + used in the generator function. Also, implemented passing of model + parameters defined in the meta-model (`model_param_defs` and + `_tx_model_params`) ([#299]) + - `get_location` function for producing `line/col/filename` from any textX + object. ([#294]) + - `builtin_models` of type `ModelRepository` to meta-model constructor. Used + to supply pre-loaded models for `ImportURI` based scoping providers as a + fallback to search into. ([#284]) + - Initial implementation of TEP-001 ([#111]) allowing to specify scope + provider behavior within the grammar itself. [#274] and [#287] introduce + the RREL (reference resolving expression language) to define how + references are resolved. Details see `rrel.md`. + - Parameter `should_follow` of callable type to `get_children` and + `get_children_of_type` model API calls to decide if the element should be + traversed. ([#281]) + - Fixed: + - Fixed bug with Falsy user classes in `get_children` ([#288]) + - Fixed bug with unhashable objects during dot export ([#283]) + - Fixed bug where (Ext)RelativeName scope providers accepted any referenced + object that contained the lookup name in its name. Thanks ipa-mdl@GitHub + ([#267]) + - Fixed bug in `flow_dsl` test project causing static files not being included + in package build/installation. Thanks sebix@GitHub ([#272]). + - Fixed bug, where user classes not used in the grammar caused exceptions + ([#270]): now, when passing a list of user classes, you need to use them in + your grammar. You can alternatively also pass a callable (see metamodel.md; + [#273]). Also, using base classes for rules from imported grammars in + conjunction with user classes is not allowed and results in an exception. + - Fixed bug in `export.py` concerning html escaping in the dot export of a + textx meta-model ([#276]). + - Changed: + - `_tx_model_param_definitions` deprecated in favor of `model_param_defs` ([#298]). + - `click` is now an optional dependency, only when CLI is needed ([#292]) + - Make warning about not overwriting generated file more visible + ([01341ec3](https://github.com/textX/textX/commit/01341ec381bfb4c8c27bcec5d2998a34d207f430)) + - Truncate long strings during dot export for better diagram readability ([#282]). + - Changed `unhashable type` exception when a list is used for `name` attributes by + raising a more informative exception and extending docs to document the issue + and a proper way to solve it ([#40], [#266]). + +------------------------------------------------------------------- Old: ---- fix_tests_setupcfg.patch python-textX-2.2.0.tar.gz New: ---- python-textX-2.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-textX.spec ++++++ --- /var/tmp/diff_new_pack.OstPwg/_old 2020-11-09 13:59:02.423750942 +0100 +++ /var/tmp/diff_new_pack.OstPwg/_new 2020-11-09 13:59:02.423750942 +0100 @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textX -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: Meta-language for DSL implementation inspired by Xtext License: MIT Group: Development/Languages/Python URL: https://textx.github.io/textX/stable/ -Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix_tests_setupcfg.path -- based on https://github.com/textX/textX/pull/272.patch without changelog -Patch0: fix_tests_setupcfg.patch +Source: https://github.com/igordejanovic/textX/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -42,6 +40,7 @@ BuildRequires: %{python_module Arpeggio} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module click >= 7.0} +BuildRequires: %{python_module html5lib} BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module pytest} # /SECTION @@ -65,7 +64,6 @@ sed -i '0,/#!\/usr\/bin\/env/ d' examples/hello_world/hello.py # do not hardcode deps sed -i -e 's:click==:click>=:g' setup.py -%patch0 -p1 %build %python_build ++++++ python-textX-2.2.0.tar.gz -> python-textX-2.3.0.tar.gz ++++++ ++++ 4412 lines of diff (skipped)