Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump numexpr from 2.8.1 to 2.8.5 in /config/dependencies #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Bumps numexpr from 2.8.1 to 2.8.5.

Changelog

Sourced from numexpr's changelog.

Changes from 2.8.5 to 2.8.6

  • The sanitization can be turned off by default by setting an environment variable,

    set NUMEXPR_SANITIZE=0

  • Improved behavior of the blacklist to avoid triggering on private variables and scientific notation numbers.

Changes from 2.8.4 to 2.8.5

  • A validate function has been added. This function checks the inputs, returning None on success or raising an exception on invalid inputs. This function was added as numerous projects seem to be using NumExpr for parsing user inputs. re_evaluate may be called directly following validate.
  • As an addendum to the use of NumExpr for parsing user inputs, is that NumExpr calls eval on the inputs. A regular expression is now applied to help sanitize the input expression string, forbidding '__', ':', and ';'. Attribute access is also banned except for '.r' for real and '.i' for imag.
  • Thanks to timbrist for a fix to behavior of NumExpr with integers to negative powers. NumExpr was pre-checking integer powers for negative values, which was both inefficient and caused parsing errors in some situations. Now NumExpr will simply return 0 as a result for such cases. While NumExpr generally tries to follow NumPy behavior, performance is also critical.
  • Thanks to peadar for some fixes to how NumExpr launches threads for embedded applications.
  • Thanks to de11n for making parsing of the site.cfg for MKL consistent among all shared platforms.

Changes from 2.8.3 to 2.8.4

  • Support for Python 3.11 has been added.
  • Thanks to Tobias Hangleiter for an improved accuracy complex expm1 function. While it is 25 % slower, it is significantly more accurate for the real component over a range of values and matches NumPy outputs much more closely.
  • Thanks to Kirill Kouzoubov for a range of fixes to constants parsing that was resulting in duplicated constants of the same value.
  • Thanks to Mark Harfouche for noticing that we no longer need numpy version checks. packaging is no longer a requirement as a result.
Commits
  • 298134a Getting ready for release 2.8.5
  • 1c6bce1 Merge branch 'master' of https://github.com/pydata/numexpr
  • 00b035c Make more difficult sanitize of the expression string before eval
  • 67a1221 Merge pull request #443 from de11n/fix-libraries-parsing
  • c2dd659 Fix setup.py to respect numpy's parsing of libraries in site.cfg
  • 4b2d89c Add in protections against call to eval(expression)
  • 74d5973 Adding tests for validate and noticed that re_evaluate tests using `local...
  • 0032150 Apparently sphinx_rtd_theme is only compatible with Sphinx < 7.0
  • 6b6fd1d Also pin sphinx-rtd-theme
  • 0c22ea7 Try and pin Sphinx version for ReadtheDocs
  • 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 <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [numexpr](https://github.com/pydata/numexpr) from 2.8.1 to 2.8.5.
- [Release notes](https://github.com/pydata/numexpr/releases)
- [Changelog](https://github.com/pydata/numexpr/blob/master/RELEASE_NOTES.rst)
- [Commits](pydata/numexpr@v2.8.1...v2.8.5)

---
updated-dependencies:
- dependency-name: numexpr
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants