Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-textX-4.0.1-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python312-textX Distribution: openSUSE Tumbleweed
Version: 4.0.1 Vendor: openSUSE
Release: 1.1 Build date: Fri Apr 5 08:06:27 2024
Group: Unspecified Build host: reproducible
Size: 754824 Source RPM: python-textX-4.0.1-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://textx.github.io/textX/stable/
Summary: Meta-language for DSL implementation inspired by Xtext
textX is a meta-language for building Domain-Specific Languages (DSLs) in Python.
It is inspired by Xtext.

From a single language description (grammar), textX will build a
parser and a meta-model (a.k.a. abstract syntax) for textual
languages. Own languages can be invented or support for already
existing textual language or file format be built.

textX follows the syntax and semantics of Xtext, but differs in some places
and is implemented in Python using the Arpeggio PEG parser - no grammar
ambiguities, unlimited lookahead, interpreter style of work.

Provides

Requires

License

MIT

Changelog

* Fri Apr 05 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 4.0.1:
    * Use flit-core for test projects.
    * Removed word boundary from INT rule regex.
    * Removed Python support for 3.6 and 3.7. The minimal supported version
      is 3.8.
    * Migrated to pyproject.toml for project configuration.
    * Migrated to importlib for language/generator registration/discovery as
      setuptools pkg_resources is deprecated and unsupported from Python 3.12.
    * Added dependency to `importlib-metadata` backward compatibility
      package for Python versions < 3.10.
    * Relaxed dependency for click to accept 8.x.
    * Use flit for package building and publishing.
  - Use build and installer for the test projects so we do not pollute the
    build root.
* Mon Feb 05 2024 Sebastian Wagner <sebix@sebix.at>
  - Require Arpeggio >= 2.0.0 fixing build fails
* Mon Sep 11 2023 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 3.1.1:
    * Source distribution packaging issue ([392]). Thanks yurivict@GitHub.
    * Fixed RREL lookup in case of multi-meta models (some special cases were not
      handled correctly; [#379]).
    * Fixed test suite invocation to use `pytest` over `py.test` that stopped
      working in pytest-7.2.0. ([#389]). Thanks mgorny@GitHub.
    * 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
      davidchall@GitHub for reporting the issue ([#390]).
  - Switch to pyproject macros.
  - Stop using greedy globs in %files.
  - Drop a Python 2 requires.
* Tue Mar 22 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 04 2021 Sebastian Wagner <sebix+novell.com@sebix.at>
  - Fix package builds for Leap 15.2 and 15.3, requires python-xml
* Sun Nov 01 2020 Sebastian Wagner <sebix+novell.com@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]).
* Thu Aug 06 2020 Sebastian Wagner <sebix+novell.com@sebix.at>
  - update to version 2.2.0:
    - Added:
    - Initial docs for Jinja code generator support (from
      [textX-jinja](https://github.com/textX/textX-jinja)) ([#264]).
    - Analyzing grammars programmatically as plain textX models
      (`grammar_model_from_str/file`) ([#235])
    - Initial `startproject` scaffolding (from
      [textX-dev](https://github.com/textX/textX-dev)) docs ([#234])
    - Generator helper functions `get_output_filename` and `gen_file` ([#233])
    - `textx version` command ([#219])
    - Versions for languages/packages in `list-languages` and `list-generators`
      commands ([#228])
    - Added the ability to specify extra parameters during `model_from_file` or
      `model_from_str` and to define which extra parameters exist in the
      meta-model ([#243]).
    - Fixed:
    - Fixed several instances of invalid truthiness checking. Thanks
      markusschmaus@GitHub ([#250])
    - Fixed applying multiple grammar rule modifiers ([#246])
    - Fixed exception on calling `check` CLI command with relative path name.
    - Fixed return value of textx generate and check commands: we return a failure
      on error now ([#222])
    - Fixed type checking for references to builtin elements ([#218])
    - Changed:
    - User classes can now be immutable (e.g. `attr.frozen`) or can use
      `__slots__`. Thanks markusschmaus@GitHub ([#256, #260, #261])
    - Cleanup of setup configuration and install scripts [#231]
    - Dot/PlantUML rendering of meta-models: remove rendering of base types,
      improve rendering of required/optional, render match rules as a single
      table. ([#225])
    - Allow passing kwargs in `metamodel_for_file/language` registration API
      calls. ([#224])
  - Add patch to fix tests:
    * fix_tests_setupcfg.patch
* Mon May 18 2020 Petr Gajdos <pgajdos@suse.com>
  - %python3_only -> %python_alternative
* Wed Mar 11 2020 pgajdos@suse.com
  - version update to 2.1.0
    [#]## Added
    - Added new function `textx.scoping.is_file_included` ([#197]).
    [#]## Changed
    - Allow passing kwargs (specially - file_name) argument when loading metamodel
      from string (needed for `textX-LS v0.1.0`) ([#211]).
    - Changed the parser rule for regex matches. Spaces are not stripped any more
      from the beginning and the end of the regexp-pattern. This could be possible
    * *BIC** for some special cases [#208].
    - Changed function name `textx.scoping.get_all_models_including_attached_models`
      to `textx.scoping.get_included_models` (marked old function
      as deprecated) ([#197]).
    - Delete all models touched while loading a model, when an error occurs
      while loading in all repositories (strong exception safety guarantee) ([#200]).
* Tue Jul 09 2019 Sebastian Wagner <sebix+novell.com@sebix.at>
  - Fix Tests for Leap 15.1: click requires UTF-8 locale.

Files

/etc/alternatives/textx
/usr/bin/textx
/usr/bin/textx-3.12
/usr/lib/python3.12/site-packages/textx
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/METADATA
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/RECORD
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/WHEEL
/usr/lib/python3.12/site-packages/textx-4.0.1.dist-info/entry_points.txt
/usr/lib/python3.12/site-packages/textx/__init__.py
/usr/lib/python3.12/site-packages/textx/__pycache__
/usr/lib/python3.12/site-packages/textx/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/const.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/const.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/exceptions.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/exceptions.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/export.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/export.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/generators.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/generators.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/lang.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/lang.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/metamodel.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/metamodel.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/model.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/model.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/model_params.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/model_params.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/registration.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/__pycache__/registration.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli
/usr/lib/python3.12/site-packages/textx/cli/__init__.py
/usr/lib/python3.12/site-packages/textx/cli/__pycache__
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/check.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/check.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/discover.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/discover.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/generate.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/generate.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/version.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/cli/__pycache__/version.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/cli/check.py
/usr/lib/python3.12/site-packages/textx/cli/discover.py
/usr/lib/python3.12/site-packages/textx/cli/generate.py
/usr/lib/python3.12/site-packages/textx/cli/version.py
/usr/lib/python3.12/site-packages/textx/const.py
/usr/lib/python3.12/site-packages/textx/exceptions.py
/usr/lib/python3.12/site-packages/textx/export.py
/usr/lib/python3.12/site-packages/textx/generators.py
/usr/lib/python3.12/site-packages/textx/lang.py
/usr/lib/python3.12/site-packages/textx/metamodel.py
/usr/lib/python3.12/site-packages/textx/model.py
/usr/lib/python3.12/site-packages/textx/model_params.py
/usr/lib/python3.12/site-packages/textx/registration.py
/usr/lib/python3.12/site-packages/textx/scoping
/usr/lib/python3.12/site-packages/textx/scoping/__init__.py
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/providers.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/providers.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/rrel.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/rrel.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/tools.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/textx/scoping/__pycache__/tools.cpython-312.pyc
/usr/lib/python3.12/site-packages/textx/scoping/providers.py
/usr/lib/python3.12/site-packages/textx/scoping/rrel.py
/usr/lib/python3.12/site-packages/textx/scoping/tools.py
/usr/lib/python3.12/site-packages/textx/textx.tx
/usr/share/doc/packages/python312-textX
/usr/share/doc/packages/python312-textX/AUTHORS.md
/usr/share/doc/packages/python312-textX/CHANGELOG.md
/usr/share/doc/packages/python312-textX/README.md
/usr/share/licenses/python312-textX
/usr/share/licenses/python312-textX/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024