forked from pool/python-textX
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d28406a52f | |||
| f9f5f617ab | |||
| 4013218da7 | |||
| 56a0073240 | |||
| a80c0cb58a | |||
| 5de74ed602 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4e87ea428c22363d6d966042d2f421b3bc8bc8ae9dc1c3d0c4844bf0212b9061
|
|
||||||
size 1824450
|
|
||||||
3
python-textX-4.2.3.tar.gz
Normal file
3
python-textX-4.2.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b96a4c68b1505742a675970490e91945f2c5fe27ef3f0246fa9b01d28c7d7d5d
|
||||||
|
size 2137561
|
||||||
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 29 13:29:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.2.3
|
||||||
|
* fix: wrong reference/capture in `call_obj_processors` closure
|
||||||
|
leading to memory leak due to keeping reference to the Model object.
|
||||||
|
- Use Python 3.11 on SLE-15 by default
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 06:47:45 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- limit check to tests/functional as upstream does
|
||||||
|
- update to version 4.2.2:
|
||||||
|
- Fixed:
|
||||||
|
- tests for subcommands. Click 8.2.0 now returns exit code 2 when command is not
|
||||||
|
correct. See [433].
|
||||||
|
- update to version 4.2.1:
|
||||||
|
- Fixed:
|
||||||
|
- regression where textx generate/check command didn't report location info.
|
||||||
|
- removed encoding of unicode strings in textx exceptions.
|
||||||
|
- update to version 4.2.0:
|
||||||
|
- Changed:
|
||||||
|
- Moved from click.echo to logging.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 20:58:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.1.0:
|
||||||
|
* `nchar` attribute to `TextXError` class, which represents the
|
||||||
|
substring length for the model object where the error was found.
|
||||||
|
* `linetype` parameter to PlantUML generator which controls
|
||||||
|
line style. See the tip in the visualization docs
|
||||||
|
* Rendering of multiplicities of association in PlantUML
|
||||||
|
generator.
|
||||||
|
* Meta-model diagram export now raises attributes/references to
|
||||||
|
abstract
|
||||||
|
* meta-classes along the inheritance chain. See [423].
|
||||||
|
* The Python version limit "<3.13" has been removed from the
|
||||||
|
pyproject.toml file. The library should run on all Python
|
||||||
|
versions starting from 3.8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 5 06:06:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Apr 5 06:06:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
@@ -33,7 +74,7 @@ Mon Sep 11 05:42:48 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
|||||||
* Changed separator in obj. rule refs from `|` to `:`. Old separator
|
* Changed separator in obj. rule refs from `|` to `:`. Old separator
|
||||||
will still be allowed until version 4.0. ([#385], [#384])
|
will still be allowed until version 4.0. ([#385], [#384])
|
||||||
* Removed the dependency on `future` package ([#388]). Thanks mgorny@GitHub.
|
* Removed the dependency on `future` package ([#388]). Thanks mgorny@GitHub.
|
||||||
* Removed vendored `six` library. We don't need 2.x support anymore. Thanks
|
* Removed vendored `six` library. We don't need 2.x support anymore. Thanks
|
||||||
davidchall@GitHub for reporting the issue ([#390]).
|
davidchall@GitHub for reporting the issue ([#390]).
|
||||||
- Switch to pyproject macros.
|
- Switch to pyproject macros.
|
||||||
- Stop using greedy globs in %files.
|
- Stop using greedy globs in %files.
|
||||||
@@ -44,7 +85,7 @@ Tue Mar 22 20:51:24 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
|
|
||||||
- update to version 3.0.0:
|
- update to version 3.0.0:
|
||||||
- Added:
|
- Added:
|
||||||
- Added RREL-'fixed name'-extension, allowing to follow model elements
|
- Added RREL-'fixed name'-extension, allowing to follow model elements
|
||||||
given a fixed name (e.g. an object defined in a builtin model).
|
given a fixed name (e.g. an object defined in a builtin model).
|
||||||
Details described in rrel.md ([#364]).
|
Details described in rrel.md ([#364]).
|
||||||
- Added ability to access the full path of named objects traversed while
|
- Added ability to access the full path of named objects traversed while
|
||||||
@@ -109,7 +150,7 @@ Sun Nov 1 17:56:21 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
- Fixed bug, where user classes not used in the grammar caused exceptions
|
- 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
|
([#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;
|
your grammar. You can alternatively also pass a callable (see metamodel.md;
|
||||||
[#273]). Also, using base classes for rules from imported grammars in
|
[#273]). Also, using base classes for rules from imported grammars in
|
||||||
conjunction with user classes is not allowed and results in an exception.
|
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
|
- Fixed bug in `export.py` concerning html escaping in the dot export of a
|
||||||
textx meta-model ([#276]).
|
textx meta-model ([#276]).
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-textX
|
# spec file for package python-textX
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,9 +15,9 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-textX
|
Name: python-textX
|
||||||
Version: 4.0.1
|
Version: 4.2.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Meta-language for DSL implementation inspired by Xtext
|
Summary: Meta-language for DSL implementation inspired by Xtext
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -87,7 +87,7 @@ find tests/functional -name '*.whl' -exec python3 -m installer -d tmp-modules {}
|
|||||||
%check
|
%check
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages)
|
export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages)
|
||||||
%pytest
|
%pytest tests/functional
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative textx
|
%python_install_alternative textx
|
||||||
|
|||||||
Reference in New Issue
Block a user