diff --git a/.gitignore b/.gitignore index d846b2a..f606b37 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /pymathics_natlang.egg-info /tmp __pycache__ +.python-vesion diff --git a/pymathics/natlang/.gitignore b/pymathics/natlang/.gitignore new file mode 100644 index 0000000..183700b --- /dev/null +++ b/pymathics/natlang/.gitignore @@ -0,0 +1 @@ +/.python-version diff --git a/setup.py b/setup.py index fabde4a..89dadf9 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ from setuptools import find_namespace_packages, setup # Ensure user has the correct Python version -if sys.version_info < (3, 7): - print("Mathics support Python 3.7 and above; you have %d.%d" % sys.version_info[:2]) +if sys.version_info < (3, 8): + print("Mathics support Python 3.8 and above; you have %d.%d" % sys.version_info[:2]) sys.exit(-1) @@ -76,7 +76,6 @@ def read(*rnames): "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/test/consistency-and-style/test_summary_text.py b/test/consistency-and-style/test_summary_text.py index 53bbced..7ea8e22 100644 --- a/test/consistency-and-style/test_summary_text.py +++ b/test/consistency-and-style/test_summary_text.py @@ -6,11 +6,11 @@ import pytest -from mathics.core.load_builtin import name_is_builtin_symbol -from mathics.core.builtin import Builtin -from mathics.doc.common_doc import skip_doc +from pymathics.graph import __file__ as module_initfile_path -from pymathics.natlang import __file__ as module_initfile_path +from mathics.core.builtin import Builtin +from mathics.core.load_builtin import name_is_builtin_symbol +from mathics.doc.gather import skip_doc # Get file system path name for mathics.builtin module_path = osp.dirname(module_initfile_path)