Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asteval for openSUSE:Factory checked in at 2022-09-07 11:06:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-asteval (Old) and /work/SRC/openSUSE:Factory/.python-asteval.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-asteval" Wed Sep 7 11:06:36 2022 rev:12 rq:1001657 version:0.9.27 Changes: -------- --- /work/SRC/openSUSE:Factory/python-asteval/python-asteval.changes 2022-01-23 18:38:46.349912962 +0100 +++ /work/SRC/openSUSE:Factory/.python-asteval.new.2083/python-asteval.changes 2022-09-07 11:06:53.760537589 +0200 @@ -1,0 +2,6 @@ +Tue Sep 6 20:15:58 UTC 2022 - Yogalakshmi Arunachalam <[email protected]> + +- update to 0.9.27: + * more cleanups + +------------------------------------------------------------------- Old: ---- asteval-0.9.26.tar.gz New: ---- asteval-0.9.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-asteval.spec ++++++ --- /var/tmp/diff_new_pack.LYYsPe/_old 2022-09-07 11:06:54.164538615 +0200 +++ /var/tmp/diff_new_pack.LYYsPe/_new 2022-09-07 11:06:54.168538625 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-asteval -Version: 0.9.26 +Version: 0.9.27 Release: 0 Summary: Safe, minimalistic evaluator of python expression using ast module License: MIT @@ -33,6 +33,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module numpy if (%python-base without python36-base)} # /SECTION %python_subpackages ++++++ asteval-0.9.26.tar.gz -> asteval-0.9.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.codecov.yml new/asteval-0.9.27/.codecov.yml --- old/asteval-0.9.26/.codecov.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.codecov.yml 2022-02-06 05:50:11.000000000 +0100 @@ -0,0 +1,17 @@ +codecov: + token: 817993c1-edc4-4094-a8ca-09fa767d6336 + comment: + after_n_builds: 9 + +coverage: + status: + project: + default: + target: auto + threshold: 0.5% + informational: true + patch: + default: + target: auto + threshold: 10% + informational: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/codeql-analysis.yml new/asteval-0.9.27/.github/workflows/codeql-analysis.yml --- old/asteval-0.9.26/.github/workflows/codeql-analysis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.github/workflows/codeql-analysis.yml 2022-05-24 17:31:23.000000000 +0200 @@ -0,0 +1,70 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '26 4 * * 0' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://git.io/codeql-language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # Command-line programs to run using the OS shell. + # https://git.io/JvXDl + + # If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/macos_numpy.yml new/asteval-0.9.27/.github/workflows/macos_numpy.yml --- old/asteval-0.9.26/.github/workflows/macos_numpy.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.github/workflows/macos_numpy.yml 2022-02-06 01:57:54.000000000 +0100 @@ -0,0 +1,27 @@ +name: test on macos, with numpy + +on: [push] + +jobs: + build: + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools codecov pytest pytest-cov coverage numpy + python -m pip install . + - name: Test with pytest + run: | + cd tests + pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/test-python.yml new/asteval-0.9.27/.github/workflows/test-python.yml --- old/asteval-0.9.26/.github/workflows/test-python.yml 2021-09-23 05:30:19.000000000 +0200 +++ new/asteval-0.9.27/.github/workflows/test-python.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Python package - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: [3.6, 3.7, 3.8, 3.9] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install numpy pip setuptools codecov pytest pytest-cov coverage - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with pytest - run: | - python setup.py install - cd tests - coverage run --source=asteval -m pytest - coverage report -m - bash <(curl -s https://codecov.io/bash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/test-python_pydevel.yml new/asteval-0.9.27/.github/workflows/test-python_pydevel.yml --- old/asteval-0.9.26/.github/workflows/test-python_pydevel.yml 2021-09-24 18:05:53.000000000 +0200 +++ new/asteval-0.9.27/.github/workflows/test-python_pydevel.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,38 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Python Development version - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: [3.9, '3.10.0-rc.2'] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install numpy>=1.17 pip setuptools codecov pytest pytest-cov coverage - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with pytest - run: | - python setup.py install - cd tests - coverage run --source=asteval -m pytest - coverage report -m - bash <(curl -s https://codecov.io/bash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/test_without_numpy.yml new/asteval-0.9.27/.github/workflows/test_without_numpy.yml --- old/asteval-0.9.26/.github/workflows/test_without_numpy.yml 2021-06-22 22:07:05.000000000 +0200 +++ new/asteval-0.9.27/.github/workflows/test_without_numpy.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,36 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Test without numpy - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - python-version: [3.7, 3.8, 3.9, '3.10.0-beta.3'] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install setuptools pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Test with pytest - run: | - python setup.py install - cd tests - pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/ubuntu_nonumpy.yml new/asteval-0.9.27/.github/workflows/ubuntu_nonumpy.yml --- old/asteval-0.9.26/.github/workflows/ubuntu_nonumpy.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.github/workflows/ubuntu_nonumpy.yml 2022-02-06 01:58:49.000000000 +0100 @@ -0,0 +1,32 @@ +name: test on ubuntu, without numpy + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools codecov pytest pytest-cov coverage + python -m pip install . + - name: Test with pytest + run: | + cd tests + pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/ubuntu_numpy.yml new/asteval-0.9.27/.github/workflows/ubuntu_numpy.yml --- old/asteval-0.9.26/.github/workflows/ubuntu_numpy.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.github/workflows/ubuntu_numpy.yml 2022-02-06 07:53:26.000000000 +0100 @@ -0,0 +1,37 @@ +name: test on ubuntu, with numpy + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools codecov pytest pytest-cov coverage numpy + python -m pip install . + - name: Test with pytest + run: | + cd tests + pytest + pytest --cov=./ --cov-report=xml + - name: upload coverage report to codecov + uses: codecov/codecov-action@v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.github/workflows/windows_numpy.yml new/asteval-0.9.27/.github/workflows/windows_numpy.yml --- old/asteval-0.9.26/.github/workflows/windows_numpy.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/.github/workflows/windows_numpy.yml 2022-02-06 01:58:09.000000000 +0100 @@ -0,0 +1,27 @@ +name: test on windows, with numpy + +on: [push] + +jobs: + build: + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools codecov pytest pytest-cov coverage numpy + python -m pip install . + - name: Test with pytest + run: | + cd tests + pytest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/.gitignore new/asteval-0.9.27/.gitignore --- old/asteval-0.9.26/.gitignore 2021-06-22 14:02:13.000000000 +0200 +++ new/asteval-0.9.27/.gitignore 2022-02-05 23:56:37.000000000 +0100 @@ -2,6 +2,7 @@ *~ *# .coverage +asteval/version.py NonGit/ doc/_build doc/*.pdf diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/PKG-INFO new/asteval-0.9.27/PKG-INFO --- old/asteval-0.9.26/PKG-INFO 2022-01-16 15:45:35.973609200 +0100 +++ new/asteval-0.9.27/PKG-INFO 2022-05-24 17:45:15.285941400 +0200 @@ -1,28 +1,36 @@ Metadata-Version: 2.1 Name: asteval -Version: 0.9.26 +Version: 0.9.27 Summary: Safe, minimalistic evaluator of python expression using ast module -Home-page: http://github.com/newville/asteval +Home-page: https://github.com/newville/asteval Author: Matthew Newville -Author-email: [email protected] -License: OSI Approved :: MIT License -Platform: UNKNOWN -Classifier: Intended Audience :: End Users/Desktop +Author-email: [email protected] +License: MIT License +Project-URL: Source, https://github.com/newville/asteval +Project-URL: Documentation, https://newville.github.io/asteval/ +Project-URL: Tracker, https://github.com/newville/asteval/issues +Platform: any +Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Requires-Python: >=3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.7 +Provides-Extra: dev +Provides-Extra: doc +Provides-Extra: test +Provides-Extra: all License-File: LICENSE -ASTEVAL provides a numpy-aware, safe(ish) 'eval' function +ASTEVAL provides a numpy-aware, safe(ish) 'eval' function Emphasis is on mathematical expressions, and so numpy ufuncs are used if available. Symbols are held in the Interpreter symbol table 'symtable': a simple dictionary supporting a simple, flat namespace. - Expressions can be compiled into ast node for later evaluation, using the values in the symbol table current at evaluation time. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/README.rst new/asteval-0.9.27/README.rst --- old/asteval-0.9.26/README.rst 2021-06-22 14:02:13.000000000 +0200 +++ new/asteval-0.9.27/README.rst 2022-02-06 03:32:15.000000000 +0100 @@ -1,8 +1,17 @@ ASTEVAL ======= -.. image:: https://github.com/newville/asteval/actions/workflows/test-python.yml/badge.svg - :target: https://github.com/newville/asteval/actions/workflows/test-python.yml +.. image:: https://github.com/newville/asteval/actions/workflows/ubuntu_numpy.yml/badge.svg + :target: https://github.com/newville/asteval/actions/workflows/ubuntu_numpy.yml + +.. image:: https://github.com/newville/asteval/actions/workflows/ubuntu_nonumpy.yml/badge.svg + :target: https://github.com/newville/asteval/actions/workflows/ubuntu_nonumpy.yml + +.. image:: https://github.com/newville/asteval/actions/workflows/macos_numpy.yml/badge.svg + :target: https://github.com/newville/asteval/actions/workflows/macos_numpy.yml + +.. image:: https://github.com/newville/asteval/actions/workflows/windows_numpy.yml/badge.svg + :target: https://github.com/newville/asteval/actions/workflows/windows_numpy.yml .. image:: https://codecov.io/gh/newville/asteval/branch/master/graph/badge.svg :target: https://codecov.io/gh/newville/asteval @@ -20,6 +29,7 @@ :target: https://zenodo.org/badge/latestdoi/4185/newville/asteval + Links ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval/__init__.py new/asteval-0.9.27/asteval/__init__.py --- old/asteval-0.9.26/asteval/__init__.py 2021-06-22 14:02:13.000000000 +0200 +++ new/asteval-0.9.27/asteval/__init__.py 2022-02-06 00:02:14.000000000 +0100 @@ -9,8 +9,8 @@ Expressions can be compiled into ast node for later evaluation, using the values in the symbol table current at evaluation time. - version: 0.9.13 - last update: 2018-Sept-29 + version: 0.9.27 + last update: 2022-Feb-05 License: MIT Author: Matthew Newville <[email protected]> Center for Advanced Radiation Sources, @@ -21,7 +21,7 @@ from .astutils import (NameFinder, get_ast_names, make_symbol_table, valid_symbol_name) -__all__ = ['Interpreter', 'NameFinder', 'valid_symbol_name', - 'make_symbol_table', 'get_ast_names'] +from .version import version as __version__ -from ._version import __version__ +__all__ = ['Interpreter', 'NameFinder', 'valid_symbol_name', + 'make_symbol_table', 'get_ast_names', '__version__'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval/_version.py new/asteval-0.9.27/asteval/_version.py --- old/asteval-0.9.26/asteval/_version.py 2021-06-22 14:02:13.000000000 +0200 +++ new/asteval-0.9.27/asteval/_version.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -__date__ = '2021-Jun-21' -__authors__ = "M. Newville" -__release_version__ = '0.9.24' - -try: - # python >=3.8 - from importlib.metadata import version, PackageNotFoundError -except ImportError: - # python <3.8 - # importlib.metadata not available for python 3.7 - from importlib_metadata import version, PackageNotFoundError -try: - __version__ = version("asteval") -except PackageNotFoundError: - __version__ = __release_version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval/asteval.py new/asteval-0.9.27/asteval/asteval.py --- old/asteval-0.9.26/asteval/asteval.py 2022-01-06 14:18:08.000000000 +0100 +++ new/asteval-0.9.27/asteval/asteval.py 2022-05-24 13:40:00.000000000 +0200 @@ -184,8 +184,8 @@ self.no_deepcopy = [key for key, val in symtable.items() if (callable(val) - or 'numpy.lib.index_tricks' in repr(val) - or inspect.ismodule(val))] + or inspect.ismodule(val) + or 'numpy.lib.index_tricks' in repr(val))] def remove_nodehandler(self, node): """remove support for a node diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval/astutils.py new/asteval-0.9.27/asteval/astutils.py --- old/asteval-0.9.26/asteval/astutils.py 2022-01-14 18:58:01.000000000 +0100 +++ new/asteval-0.9.27/asteval/astutils.py 2022-05-24 13:40:00.000000000 +0200 @@ -395,9 +395,10 @@ deprecated = ['str', 'bool', 'int', 'float', 'complex', 'pv', 'rate', 'pmt', 'ppmt', 'npv', 'nper', 'long', 'mirr', 'fv', 'irr', 'ipmt'] + numpy_check = int(numpy_version[0]) == 1 and int(numpy_version[1]) >= 20 + for sym in FROM_NUMPY: - if (int(numpy_version[0]) == 1 and int(numpy_version[1]) >= 20 and - sym in deprecated): + if (numpy_check and sym in deprecated): continue if hasattr(numpy, sym): symtable[sym] = getattr(numpy, sym) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval/version.py new/asteval-0.9.27/asteval/version.py --- old/asteval-0.9.26/asteval/version.py 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/asteval/version.py 2022-05-24 17:45:14.000000000 +0200 @@ -0,0 +1,5 @@ +# coding: utf-8 +# file generated by setuptools_scm +# don't change, don't track in version control +version = '0.9.27' +version_tuple = (0, 9, 27) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval.egg-info/PKG-INFO new/asteval-0.9.27/asteval.egg-info/PKG-INFO --- old/asteval-0.9.26/asteval.egg-info/PKG-INFO 2022-01-16 15:45:35.000000000 +0100 +++ new/asteval-0.9.27/asteval.egg-info/PKG-INFO 2022-05-24 17:45:14.000000000 +0200 @@ -1,28 +1,36 @@ Metadata-Version: 2.1 Name: asteval -Version: 0.9.26 +Version: 0.9.27 Summary: Safe, minimalistic evaluator of python expression using ast module -Home-page: http://github.com/newville/asteval +Home-page: https://github.com/newville/asteval Author: Matthew Newville -Author-email: [email protected] -License: OSI Approved :: MIT License -Platform: UNKNOWN -Classifier: Intended Audience :: End Users/Desktop +Author-email: [email protected] +License: MIT License +Project-URL: Source, https://github.com/newville/asteval +Project-URL: Documentation, https://newville.github.io/asteval/ +Project-URL: Tracker, https://github.com/newville/asteval/issues +Platform: any +Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Science/Research +Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Requires-Python: >=3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.7 +Provides-Extra: dev +Provides-Extra: doc +Provides-Extra: test +Provides-Extra: all License-File: LICENSE -ASTEVAL provides a numpy-aware, safe(ish) 'eval' function +ASTEVAL provides a numpy-aware, safe(ish) 'eval' function Emphasis is on mathematical expressions, and so numpy ufuncs are used if available. Symbols are held in the Interpreter symbol table 'symtable': a simple dictionary supporting a simple, flat namespace. - Expressions can be compiled into ast node for later evaluation, using the values in the symbol table current at evaluation time. - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval.egg-info/SOURCES.txt new/asteval-0.9.27/asteval.egg-info/SOURCES.txt --- old/asteval-0.9.26/asteval.egg-info/SOURCES.txt 2022-01-16 15:45:35.000000000 +0100 +++ new/asteval-0.9.27/asteval.egg-info/SOURCES.txt 2022-05-24 17:45:15.000000000 +0200 @@ -1,19 +1,23 @@ +.codecov.yml .gitattributes .gitignore INSTALL LICENSE MANIFEST.in README.rst +pyproject.toml requirements.txt setup.cfg setup.py -.github/workflows/test-python.yml -.github/workflows/test-python_pydevel.yml -.github/workflows/test_without_numpy.yml +.github/workflows/codeql-analysis.yml +.github/workflows/macos_numpy.yml +.github/workflows/ubuntu_nonumpy.yml +.github/workflows/ubuntu_numpy.yml +.github/workflows/windows_numpy.yml asteval/__init__.py -asteval/_version.py asteval/asteval.py asteval/astutils.py +asteval/version.py asteval.egg-info/PKG-INFO asteval.egg-info/SOURCES.txt asteval.egg-info/dependency_links.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/asteval.egg-info/requires.txt new/asteval-0.9.27/asteval.egg-info/requires.txt --- old/asteval-0.9.26/asteval.egg-info/requires.txt 2022-01-16 15:45:35.000000000 +0100 +++ new/asteval-0.9.27/asteval.egg-info/requires.txt 2022-05-24 17:45:15.000000000 +0200 @@ -1,3 +1,23 @@ [:python_version < "3.8"] importlib_metadata + +[all] +build +twine +coverage +pytest +pytest-cov +Sphinx + +[dev] +build +twine + +[doc] +Sphinx + +[test] +coverage +pytest +pytest-cov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/pyproject.toml new/asteval-0.9.27/pyproject.toml --- old/asteval-0.9.26/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/asteval-0.9.27/pyproject.toml 2022-02-05 23:43:19.000000000 +0100 @@ -0,0 +1,7 @@ +[build-system] +requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] +write_to = "asteval/version.py" +version_scheme = "post-release" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/setup.cfg new/asteval-0.9.27/setup.cfg --- old/asteval-0.9.26/setup.cfg 2022-01-16 15:45:35.981675400 +0100 +++ new/asteval-0.9.27/setup.cfg 2022-05-24 17:45:15.286465200 +0200 @@ -1,10 +1,67 @@ -[versioneer] -VCS = git -style = pep440 -versionfile_source = asteval/_version.py -versionfile_build = asteval/_version.py -tag_prefix = -parentdir_prefix = asteval- +[metadata] +name = asteval +description = Safe, minimalistic evaluator of python expression using ast module +long_description = + ASTEVAL provides a numpy-aware, safe(ish) 'eval' function + Emphasis is on mathematical expressions, and so numpy ufuncs + are used if available. Symbols are held in the Interpreter + symbol table 'symtable': a simple dictionary supporting a + simple, flat namespace. + Expressions can be compiled into ast node for later evaluation, + using the values in the symbol table current at evaluation time. +author = Matthew Newville +author_email = [email protected] +url = https://github.com/newville/asteval +license = MIT License +platforms = any +classifiers = + Development Status :: 5 - Production/Stable + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Operating System :: OS Independent + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: Implementation :: PyPy +project_urls = + Source = https://github.com/newville/asteval + Documentation = https://newville.github.io/asteval/ + Tracker = https://github.com/newville/asteval/issues + +[options] +packages = find: +include_package_data = True +python_requires = >=3.7 +setup_requires = setuptools_scm +test_requires = pytest +install_requires = + importlib_metadata ; python_version < "3.8" + +[options.packages.find] +include = + asteval + +[options.extras_require] +dev = + build + twine +doc = + Sphinx +test = + coverage + pytest + pytest-cov +all = + %(dev)s + %(test)s + %(doc)s + +[coverage:run] +omit = tests/* + +[tool:pytest] +addopts = --cov=asteval --cov-report xml [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/asteval-0.9.26/setup.py new/asteval-0.9.27/setup.py --- old/asteval-0.9.26/setup.py 2022-01-16 15:30:10.000000000 +0100 +++ new/asteval-0.9.27/setup.py 2022-02-05 23:56:03.000000000 +0100 @@ -1,34 +1,4 @@ #!/usr/bin/env python from setuptools import setup - -long_description = """ASTEVAL provides a numpy-aware, safe(ish) 'eval' function - -Emphasis is on mathematical expressions, and so numpy ufuncs -are used if available. Symbols are held in the Interpreter -symbol table 'symtable': a simple dictionary supporting a -simple, flat namespace. - -Expressions can be compiled into ast node for later evaluation, -using the values in the symbol table current at evaluation time. -""" -setup(name='asteval', - use_scm_version=True, - setup_requires=['setuptools_scm'], - install_requires=['importlib_metadata ; python_version < "3.8"'], - author='Matthew Newville', - author_email='[email protected]', - url='http://github.com/newville/asteval', - license='OSI Approved :: MIT License', - python_requires='>=3.6', - description="Safe, minimalistic evaluator of python expression using ast module", - long_description=long_description, - - packages=['asteval'], - tests_require=['pytest'], - classifiers=['Intended Audience :: End Users/Desktop', - 'Intended Audience :: Developers', - 'Intended Audience :: Science/Research', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - ], - ) +if __name__ == "__main__": + setup()
