From 0a1d02a6800af28f938e3b48c1892984a7dda86c1d8807e06cbe007a28edff2a Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 22 Mar 2022 20:52:17 +0000 Subject: [PATCH] - update to version 3.0.0: - Added: - Added RREL-'fixed name'-extension, allowing to follow model elements given a fixed name (e.g. an object defined in a builtin model). Details described in rrel.md ([#364]). - Added ability to access the full path of named objects traversed while resolving a RREL expression ([#304]). - Added decorator `textx.textxerror_wrap` for object processors to automatically transform non-TextXErrors to TextXErrors in order to indicate the filename and position of the element being processed ([#306]). - Fixed: - `model_param_defs` on `TextXMetaMetaModel` ([#360]). - Interpreting of backslash special chars (e.g. `\n`, `\t`) in grammar string matches ([#323]). Possible **(BIC)** - backslash chars were not interpreted in grammar files and raw Python strings prior to this fix. - Exception/error messages ([#320]) - Relaxed assert in model creation enabling some model changes in user classes ([#311]) - Model export to dot in cases where textX object is replaced in the processor([#301]) - Do not allow "empty" RREL expressions (compare unittests in `test_rrel.py`; [#355]) - Changed: - Inheritance chain calculation. Possible **(BIC)** ([#369]). - Added `def_file_name` attribute to `RefRulePosition` for storing the definition's model file name in case of cross-references between models. ([#313],[#277]) - Migrated from Travis CI to GitHub Actions ([#307]) - Dropped support for deprecated Python versions. The lowest supported version is 3.6. **(BIC)** OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=35 --- python-textX-2.3.0.tar.gz | 3 --- python-textX-3.0.0.tar.gz | 3 +++ python-textX.changes | 32 ++++++++++++++++++++++++++++++++ python-textX.spec | 6 ++++-- 4 files changed, 39 insertions(+), 5 deletions(-) delete mode 100644 python-textX-2.3.0.tar.gz create mode 100644 python-textX-3.0.0.tar.gz diff --git a/python-textX-2.3.0.tar.gz b/python-textX-2.3.0.tar.gz deleted file mode 100644 index b8530c5..0000000 --- a/python-textX-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cf702c4711707f8cf1a9315bc8060f9ea5274e70e06a3d7408e26c47ab05e86c -size 1818564 diff --git a/python-textX-3.0.0.tar.gz b/python-textX-3.0.0.tar.gz new file mode 100644 index 0000000..27dad9b --- /dev/null +++ b/python-textX-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25ce92f27f0b165eee90057fd252a12a04650fdbbf9be32521f8ab55c17b5630 +size 1827894 diff --git a/python-textX.changes b/python-textX.changes index d0a28dc..dc85f48 100644 --- a/python-textX.changes +++ b/python-textX.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Tue Mar 22 20:51:24 UTC 2022 - Sebastian Wagner + +- update to version 3.0.0: + - Added: + - Added RREL-'fixed name'-extension, allowing to follow model elements + given a fixed name (e.g. an object defined in a builtin model). + Details described in rrel.md ([#364]). + - Added ability to access the full path of named objects traversed while + resolving a RREL expression ([#304]). + - Added decorator `textx.textxerror_wrap` for object processors to automatically + transform non-TextXErrors to TextXErrors in order to indicate the filename and + position of the element being processed ([#306]). + - Fixed: + - `model_param_defs` on `TextXMetaMetaModel` ([#360]). + - Interpreting of backslash special chars (e.g. `\n`, `\t`) in grammar string + matches ([#323]). Possible **(BIC)** - backslash chars were not interpreted in + grammar files and raw Python strings prior to this fix. + - Exception/error messages ([#320]) + - Relaxed assert in model creation enabling some model changes in user classes + ([#311]) + - Model export to dot in cases where textX object is replaced in the + processor([#301]) + - Do not allow "empty" RREL expressions (compare unittests in `test_rrel.py`; [#355]) + - Changed: + - Inheritance chain calculation. Possible **(BIC)** ([#369]). + - Added `def_file_name` attribute to `RefRulePosition` for storing the definition's + model file name in case of cross-references between models. ([#313],[#277]) + - Migrated from Travis CI to GitHub Actions ([#307]) + - Dropped support for deprecated Python versions. The lowest supported version + is 3.6. **(BIC)** + ------------------------------------------------------------------- Sun Jul 4 09:56:22 UTC 2021 - Sebastian Wagner diff --git a/python-textX.spec b/python-textX.spec index 97600a2..54680d3 100644 --- a/python-textX.spec +++ b/python-textX.spec @@ -1,7 +1,7 @@ # # spec file for package python-textX # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textX -Version: 2.3.0 +Version: 3.0.0 Release: 0 Summary: Meta-language for DSL implementation inspired by Xtext License: MIT @@ -34,6 +34,7 @@ BuildRequires: python2-xml %endif Requires: python-Arpeggio >= 1.9.0 Requires: python-click >= 7.0 +Requires: python-future Requires: python-setuptools %if "%{python_flavor}" == "python2" Requires: python2-xml @@ -46,6 +47,7 @@ BuildArch: noarch BuildRequires: %{python_module Arpeggio} BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module click >= 7.0} +BuildRequires: %{python_module future} BuildRequires: %{python_module html5lib} BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module pytest}