Compare commits

4 Commits

Author SHA256 Message Date
42e36e2c01 Accepting request 1277023 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1277023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-textX?expand=0&rev=20
2025-05-13 18:07:02 +00:00
9aca68299f - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=45
2025-05-13 06:49:23 +00:00
318b8c09b7 Accepting request 1219183 from devel:languages:python
- 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

  * Removed vendored `six` library. We don't need 2.x support anymore. Thanks
  - Added RREL-'fixed name'-extension, allowing to follow model elements
      [#273]). Also, using base classes for rules from imported grammars in

OBS-URL: https://build.opensuse.org/request/show/1219183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-textX?expand=0&rev=19
2024-10-30 16:36:19 +00:00
bf8fa1e8a1 - 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
  * Removed vendored `six` library. We don't need 2.x support anymore. Thanks
  - Added RREL-'fixed name'-extension, allowing to follow model elements
      [#273]). Also, using base classes for rules from imported grammars in

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=43
2024-10-29 20:59:12 +00:00
4 changed files with 42 additions and 9 deletions

View File

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

View File

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

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
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>
@@ -33,7 +66,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
will still be allowed until version 4.0. ([#385], [#384])
* 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]).
- Switch to pyproject macros.
- Stop using greedy globs in %files.
@@ -44,7 +77,7 @@ 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
- 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
@@ -109,7 +142,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
([#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
[#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]).

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-textX
Version: 4.0.1
Version: 4.2.2
Release: 0
Summary: Meta-language for DSL implementation inspired by Xtext
License: MIT
@@ -87,7 +87,7 @@ find tests/functional -name '*.whl' -exec python3 -m installer -d tmp-modules {}
%check
export LC_ALL=C.UTF-8
export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages)
%pytest
%pytest tests/functional
%post
%python_install_alternative textx