14
0
forked from pool/python-textX

- 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
This commit is contained in:
Sebastian Wagner
2022-03-22 20:52:17 +00:00
committed by Git OBS Bridge
parent 88986c68ba
commit 0a1d02a680
4 changed files with 39 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf702c4711707f8cf1a9315bc8060f9ea5274e70e06a3d7408e26c47ab05e86c
size 1818564

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25ce92f27f0b165eee90057fd252a12a04650fdbbf9be32521f8ab55c17b5630
size 1827894

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue Mar 22 20:51:24 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- 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 <sebix+novell.com@sebix.at>

View File

@@ -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}