cvxgrp / markowitz-reference

This repository contains a reference implementation of the Markowitz portfolio optimization problem discussed in the paper Markowitz Portfolio Construction at Seventy.
Apache License 2.0
21 stars 3 forks source link

Bump pyparsing from 3.1.2 to 3.1.4 #155

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps pyparsing from 3.1.2 to 3.1.4.

Changelog

Sourced from pyparsing's changelog.

Version 3.1.4 - August, 2024

  • 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. PR submitted by Felix Fontein, nice work!

Version 3.1.3 - August, 2024

  • 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.

    Example:

      # add tag indicating mood
      end_punc = "." | ("!" + Tag("enthusiastic")))
      greeting = "Hello" + Word(alphas) + end_punc
    

    result = greeting.parse_string("Hello World.") print(result.dump())

    result = greeting.parse_string("Hello World!") print(result.dump())

    prints:

      ['Hello', 'World', '.']
    

    ['Hello', 'World', '!']

    • enthusiastic: True
  • Added example mongodb_query_expression.py, to convert human-readable infix query expressions (such as a==100 and b>=200) and transform them into the equivalent query argument for the pymongo package ({'$and': [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and inequality operators - see the docstring for the transform_query function for more examples.

  • 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. Reported by eylenburg (#548).

  • 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

  • ... (truncated)

    Commits
    • b846e4a Prep for 3.1.4 release
    • 9bd2356 Add Python 3.6 to CI (#566)
    • ee50a19 Add Tag notes to HowToUsePyparsing.rst
    • 3ffc3ef Fix typo
    • e5e97f7 Add mongodb_query_expression.py to examples; updated 0README.html and test_ex...
    • 10cef98 Add Tag ParserElement class
    • cf41d90 Prep for 3.1.3 release
    • d7c163c Some minor code changes in chemical_formulas.py
    • eb56030 Various code cleanups
    • a9e7d47 Added name property setter, and enhanced set_name() to accept a None value to...
    • Additional commits viewable in compare view


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)