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

python311-pyparsing-3.2.0-1.1 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python311-pyparsing Distribution: openSUSE Tumbleweed
Version: 3.2.0 Vendor: openSUSE
Release: 1.1 Build date: Mon Oct 28 18:00:03 2024
Group: Unspecified Build host: reproducible
Size: 1120838 Source RPM: python311-pyparsing-3.2.0-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/pyparsing/pyparsing/
Summary: Grammar Parser Library for Python
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of regular
expressions. The pyparsing module provides a library of classes that client
code uses to construct the grammar directly in Python code.

Provides

Requires

License

GPL-2.0-or-later AND MIT AND GPL-3.0-or-later

Changelog

* Mon Oct 28 2024 Dirk Müller <dmueller@suse.com>
  - update to 3.2.0:
    * Discontinued support for Python 3.6, 3.7, and 3.8. Adopted
      new Python features from Python versions 3.7-3.9:
    - Updated type annotations to use built-in container types
      instead of names imported from the `typing` module
      (e.g., `list[str]` vs `List[str]`).
    - Reworked portions of the packrat cache to leverage
      insertion-preserving ordering in dicts (including removal of
      uses of `OrderedDict`).
    - Changed `pdb.set_trace()` call in `ParserElement.set_break()`
      to `breakpoint()`.
    - Converted `typing.NamedTuple` to `dataclasses.dataclass`
      in railroad diagramming code.
    - Added `from __future__ import annotations` to clean up
      some type annotations.
* Sat Aug 31 2024 Dirk Müller <dmueller@suse.com>
  - update to 3.1.4:
    * Fix to type annotation that referenced `re.Pattern`. Since
      this type was introduced in Python 3.7, using this type
      definition broke Python 3.6 installs of pyparsing.
    * Added new `Tag` ParserElement, for inserting metadata into
      the parsed results.
      This allows a parser to add metadata or annotations to the
      parsed tokens.
    * The `Tag` element also accepts an optional `value`
      parameter, defaulting to `True`.
      See the new `tag_metadata.py` example in the `examples`
      directory.
    * Fixed issue where PEP8 compatibility names for
      `ParserElement` static methods were
      not themselves defined as `staticmethods`. When called
      using a `ParserElement` instance, this resulted  in a
    `TypeError` exception.
    * To address a compatibility issue in RDFLib, added a property
      setter for the `ParserElement.name` property, to call
      `ParserElement.set_name`.
    * Modified `ParserElement.set_name()` to accept a None value,
      to clear the defined name and corresponding error message for
      a `ParserElement`.
    * Updated railroad diagram generation for `ZeroOrMore` and
      `OneOrMore` expressions with `stop_on` expressions, while
      investigating #558
    * Added exception type to `trace_parse_action` exception
      output, while investigating SO question posted by medihack.
    * Added `set_name` calls to internal expressions generated in
      `infix_notation`, for improved railroad diagramming.
    * Fixed bug (and corresponding test code) in `delta_time`
      example that did not handle weekday references in time
      expressions
    * Minor performance speedup in `trim_arity`, to benefit any
      parsers using parse actions.
    * Added early testing support for Python 3.13 with JIT enabled.
* Sat Mar 16 2024 Dirk Müller <dmueller@suse.com>
  - update to 3.1.2:
    * Added `ieee_float` expression to `pyparsing.common`, which
      parses float values, plus "NaN", "Inf", "Infinity".
    * Updated pep8 synonym wrappers for better type checking
      compatibility.
    * Fixed empty error message bug, PR submitted by InSync (#534).
      This _should_ return
      pyparsing's exception messages to a former, more helpful
      form. If you have code that
      parses the exception messages returned by pyparsing, this
      may require some code changes.
    * Some code refactoring to reduce code nesting, PRs submitted
      by InSync.
    * All internal string expressions using '%' string
      interpolation and `str.format()` converted to f-strings.
* Fri Feb 23 2024 Dominique Leuenberger <dimstar@opensuse.org>
  - Use newly supported shrink{} on OBS to exclude python flavors
    will all python versions skipped.
* Fri Dec 01 2023 Dirk Müller <dmueller@suse.com>
  - update to 3.1.1:
    * Fixed regression in Word(min), reported by Ricardo Coccioli,
      good catch!
    * Fixed bug in bad exception messages raised by Forward
    * Fixed regression in SkipTo, where ignored expressions were
      not checked when looking for the target expression.
    * Fixed type annotation for enable_packrat
    * Some general internal code cleanup
  - drop limit-error-messages.patch (upstream)
* Tue Jul 11 2023 Markéta Machová <mmachova@suse.com>
  - Add upstream patch limit-error-messages.patch as a part of
    a workaround for boo#1213007
* Sat Jul 01 2023 Markéta Machová <mmachova@suse.com>
  - update to 3.1.0
    * API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""`
    * Added new class property `identifier` to all Unicode set classes in
      `pyparsing.unicode`, using the class's values for `cls.identchars`
      and `cls.identbodychars`.
    * ParseResults` now has a new method `deepcopy()`, in addition to the
      current `copy()` method.
    * Reworked `delimited_list` function into the new `DelimitedList` class.
    * Added new class method `ParserElement.using_each`
    * Added new builtin `python_quoted_string`, which will match any form
      of single-line or multiline quoted strings defined in Python.
    * `ParserElement.validate()` is deprecated.
    * Added bool `embed` argument to `ParserElement.create_diagram()`.
    * Added support for Python 3.12.
    * Updated `create_diagram()` code to be compatible with
      railroad-diagrams package version 3.0.
    * Many other changes, see upstream CHANGES
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
  - add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
  - Make calling of %{sle15modernpython} optional.
* Fri Feb 17 2023 Dirk Müller <dmueller@suse.com>
  - do primary/all split only for tumbleweed (similar to flit-core)
* Thu Sep 15 2022 Ben Greiner <code@bnavigator.de>
  - Fix incorrect usage of non-bundled pip revealed by
    python-rpm-macros update.
* Fri Jul 15 2022 Ben Greiner <code@bnavigator.de>
  - Split primary flavor in multibuild for possible inclusion into
    Ring0
  - Remove hardcoded primary_python variable.
* Thu Jul 14 2022 Ben Greiner <code@bnavigator.de>
  - Update to version 3.0.9
    * Added Unicode set BasicMultilingualPlane (may also be
      referenced as BMP) representing the Basic Multilingual Plane
      (Unicode characters up to code point 65535). Can be used to
      parse most language characters, but omits emojis, wingdings,
      etc. Raised in discussion with Dave Tapley (issue #392).
    * To address mypy confusion of pyparsing.Optional and
      typing.Optional resulting in error: "_SpecialForm" not callable
      message reported in issue #365, fixed the import in
      exceptions.py. Nice sleuthing by Iwan Aucamp and Dominic
      Davis-Foster, thank you! (Removed definitions of OptionalType,
      DictType, and IterableType and replaced them with
      typing.Optional, typing.Dict, and typing.Iterable throughout.)
    * Fixed typo in jinja2 template for railroad diagrams, thanks for
      the catch Nioub (issue #388).
    * Removed use of deprecated pkg_resources package in railroad
      diagramming code (issue #391).
    * Updated bigquery_view_parser.py example to parse examples at
      https://cloud.google.com/bigquery/docs/reference/legacy-sql
  - Release 3.0.8
    * API CHANGE: modified pyproject.toml to require Python version
      3.6.8 or later for pyparsing 3.x. Earlier minor versions of 3.6
      fail in evaluating the version_info class (implemented using
      typing.NamedTuple). If you are using an earlier version of
      Python 3.6, you will need to use pyparsing 2.4.7.
    * Improved pyparsing import time by deferring regex pattern
      compiles. PR submitted by Anthony Sottile to fix issue #362,
      thanks!
    * Updated build to use flit, PR by Michał Górny, added
      BUILDING.md doc and removed old Windows build scripts - nice
      cleanup work!
    * More type-hinting added for all arithmetic and logical operator
      methods in ParserElement. PR from Kazantcev Andrey, thank you.
    * Fixed infix_notation's definitions of lpar and rpar, to accept
      parse expressions such that they do not get suppressed in the
      parsed results. PR submitted by Philippe Prados, nice work.
    * Fixed bug in railroad diagramming with expressions containing
      Combine elements. Reported by Jeremy White, thanks!
    * Added show_groups argument to create_diagram to highlight
      grouped elements with an unlabeled bounding box.
    * Added unicode_denormalizer.py to the examples as a
      demonstration of how Python's interpreter will accept Unicode
      characters in identifiers, but normalizes them back to ASCII so
      that identifiers print and 𝕡𝓻ᵢ𝓃𝘁 and 𝖕𝒓𝗂𝑛ᵗ are all
      equivalent.
    * Removed imports of deprecated sre_constants module for catching
      exceptions when compiling regular expressions. PR submitted by
      Serhiy Storchaka, thank you.
  - Use python-base bundled pip as frontend for flit-core
* Thu Feb 03 2022 Arun Persaud <arun@gmx.de>
  - specfile:
    * update copyright year
  - update to version 3.0.7:
    * Fixed bug #345, in which delimitedList changed expressions in
      place using expr.streamline(). Reported by Kim Gräsman, thanks!
    * Fixed bug #346, when a string of word characters was passed to
      WordStart or WordEnd instead of just taking the default
      value. Originally posted as a question by Parag on StackOverflow,
      good catch!
    * Fixed bug #350, in which White expressions could fail to match due
      to unintended whitespace-skipping. Reported by Fu Hanxi, thank
      you!
    * Fixed bug #355, when a QuotedString is defined with characters in
      its quoteChar string containing regex-significant characters such
      as ., *, ?, [, ], etc.
    * Fixed bug in ParserElement.run_tests where comments would be
      displayed using with_line_numbers.
    * Added optional "min" and "max" arguments to `delimited_list`. PR
      submitted by Marius, thanks!
    * Added new API change note in `whats_new_in_pyparsing_3_0_0`,
      regarding a bug fix in the `bool()` behavior of `ParseResults`.
    * Prior to pyparsing 3.0.x, the `ParseResults` class implementation
      of `__bool__` would return `False` if the `ParseResults` item list
      was empty, even if it contained named results. In 3.0.0 and later,
      `ParseResults` will return `True` if either the item list is not
      empty *or* if the named results dict is not empty.
    * Minor enhancement to Word generation of internal regular
      expression, to emit consecutive characters in range, such as "ab",
      as "ab", not "a-b".
    * Fixed character ranges for search terms using non-Western
      characters in booleansearchparser, PR submitted by tc-yu, nice
      work!
    * Additional type annotations on public methods.
* Wed Nov 24 2021 Matthias Fehring <buschmann23@opensuse.org>
  - requires jinja2 for testing
* Wed Nov 24 2021 Matthias Fehring <buschmann23@opensuse.org>
  - requires railroad-diagrams for testing
* Wed Nov 24 2021 Matthias Fehring <buschmann23@opensuse.org>
  - update to 3.0.6:
    * Added suppress_warning() method to individually suppress a warning
      on a specific ParserElement. Used to refactor original_text_for
      to preserve internal results names, which, while undocumented, had
      been adopted by some projects.
    * Fix bug when delimited_list was called with a str literal instead
      of a parse expression.
  - changes from 3.0.5:
    * Added return type annotations for col, line, and lineno.
    * Fixed bug when warn_ungrouped_named_tokens_in_collection warning
      was raised when assigning a results name to an original_text_for
      expression. (Issue #110, would raise warning in packaging.)
    * Fixed internal bug where ParserElement.streamline() would not
      return self if already streamlined.
    * Changed run_tests() output to default to not showing line and
      column numbers. If line numbering is desired, call with
      with_line_numbers=True. Also fixed minor bug where separating
      line was not included after a test failure.
  - changes from 3.0.4:
    * Fixed bug in which Dict classes did not correctly return tokens
      as nested ParseResults
    * Documented API-changing side-effect of converting ParseResults
      to use __slots__ to pre-define instance attributes.
    * Fixed bug in railroad diagramming where the vertical limit would
      count all expressions in a group, not just those that would
      create visible railroad elements.
  - changes from 3.0.3:
    * Fixed regex typo in one_of fix for as_keyword=True.
    * Fixed a whitespace-skipping bug, Issue #319, introduced as part
      of the revert of the LineStart changes.
    * Added header column labeling > 100 in with_line_numbers - some
      input lines are longer than others.
  - changes from 3.0.2:
    * Reverted change in behavior with LineStart and StringStart, which
      changed the interpretation of when and how LineStart and
      StringStart should match when a line starts with spaces. In 3.0.0,
      the xxxStart expressions were not really treated like expressions
      in their own right, but as modifiers to the following expression
      when used like LineStart() + expr, so that if there were whitespace
      on the line before expr (which would match in versions prior to
      3.0.0), the match would fail.
      3.0.0 implemented this by automatically promoting LineStart() +
      expr to AtLineStart(expr), which broke existing parsers that did
      not expect expr to necessarily be right at the start of the line,
      but only be the first token found on the line. This was reported
      as a regression in Issue (gh#pyparsing/pyparsing/issues#317).
      In 3.0.2, pyparsing reverts to the previous behavior, but will
      retain the new AtLineStart and AtStringStart expression classes,
      so that parsers can chose whichever behavior applies in their
      specific instance.
    * Performance enhancement to one_of to always generate an internal
      Regex, even if caseless or as_keyword args are given as True
      (unless explicitly disabled by passing use_regex=False).
    * IndentedBlock class now works with recursive flag. By default,
      the results parsed by an IndentedBlock are grouped. This can be
      disabled by constructing the IndentedBlock with grouped=False.
  - changes from 3.0.1
    * Fixed bug where Word(max=n) did not match word groups less than
      length 'n'. Thanks to Joachim Metz for catching this!
    * Fixed bug where ParseResults accidentally created recursive
      contents. Joachim Metz on this one also!
    * Fixed bug where warn_on_multiple_string_args_to_oneof warning
      is raised even when not enabled.
  - changes from 3.0.0
    * A consolidated list of all the changes in the 3.0.0 release
      can be found in docs/whats_new_in_3_0_0.rst.
      (https://github.com/pyparsing/pyparsing/blob/master/docs/whats_new_in_3_0_0.rst)
  - disable build for python2, not supported anymore
* Thu Jun 17 2021 Ben Greiner <code@bnavigator.de>
  - Add Provides: for python*dist(pyparsing): work around boo#1186870

Files

/usr/lib/python3.11/site-packages/pyparsing
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/LICENSE
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/RECORD
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/pyparsing-3.2.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/pyparsing/__init__.py
/usr/lib/python3.11/site-packages/pyparsing/__pycache__
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/actions.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/common.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/core.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/exceptions.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/helpers.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/results.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/testing.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/unicode.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/__pycache__/util.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/actions.py
/usr/lib/python3.11/site-packages/pyparsing/common.py
/usr/lib/python3.11/site-packages/pyparsing/core.py
/usr/lib/python3.11/site-packages/pyparsing/diagram
/usr/lib/python3.11/site-packages/pyparsing/diagram/__init__.py
/usr/lib/python3.11/site-packages/pyparsing/diagram/__pycache__
/usr/lib/python3.11/site-packages/pyparsing/diagram/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3.11/site-packages/pyparsing/exceptions.py
/usr/lib/python3.11/site-packages/pyparsing/helpers.py
/usr/lib/python3.11/site-packages/pyparsing/py.typed
/usr/lib/python3.11/site-packages/pyparsing/results.py
/usr/lib/python3.11/site-packages/pyparsing/testing.py
/usr/lib/python3.11/site-packages/pyparsing/unicode.py
/usr/lib/python3.11/site-packages/pyparsing/util.py
/usr/share/doc/packages/python311-pyparsing
/usr/share/doc/packages/python311-pyparsing/CHANGES
/usr/share/doc/packages/python311-pyparsing/README.rst
/usr/share/licenses/python311-pyparsing
/usr/share/licenses/python311-pyparsing/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Dec 20 23:51:00 2024