Revisions of python-textX

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1165411 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 18)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1146195 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 17)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1110197 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 16)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 965770 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 15)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 905644 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 14)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 846971 from Sebastian Wagner's avatar Sebastian Wagner (sebix) (revision 13)
- 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]).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 825373 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 12)
- 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])
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 715677 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 9)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 710112 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 8)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 708274 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Fix the tests

- Make sure the package actually again gets to the test phase
  * the tests are actually failing now

- update to version 2.0.1:
 - Added:
  - [Registration and discovery] of languages and generators ([#187])
  - New textx CLI commands for listing generators and languages
    (`list-generators`, `list-languages`) and calling a generator (`generate`) ([#187])
  - Meta-models may now [reference other registered meta-models] using the
    `reference` statement ([#187])
  - Adding examples and documentation related to scope providers (related to
    model modification through scope providers) ([#168])
  - metamodel export feature for [PlantUML] ([#165])
  - `textx_isinstance` from `textx.scoping.tools` made available in `textx`
    ([#164], [#157])
  - CLI extensibility ([#162], [#161])
  - An initial version of FAQ page ([#138]). Thanks Aluriak@GitHub
  - A version of `calc.py` exercises usage of
    `text.scoping.tools.textx_isinstance()` to inspect model objects types
    during traversal. ([#136], [#123]). Thanks dkrikun@GitHub
  - A version of `calc.py` in expression example that exercises dynamically adding
    properties to object classes ([#126]). Thanks dkrikun@GitHub
  - python like imports (named import rules, scope providers affected) ([#114])
  - Added `STRICTFLOAT` as buildin type to allow to distinguish ints from floats
    in `NUMBER`. Fixed docu link ([#98]). Possible **(BIC)**
  - Added [flake8] and [coverage] checking ([#92])
 - Changed:
  - All textX commands implemented using textX CLI extensibility. `check`
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 659717 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 5)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 622800 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 3)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 579970 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 2)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 577743 from Sebastian Wagner's avatar Sebastian Wagner (sebix) (revision 1)
- update to version 1.6.1. No notable changes.
- update to version 1.6.0. Shortened changelog:
 *  Introduced _tx_fqn class attribute.
 * textX api functions and classes are now available directly from textx module.
 * bugfixes
- update to version 1.5.2. Bugfixes.
- initial package
Displaying all 18 revisions
openSUSE Build Service is sponsored by