diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 1a463066..434441ac 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 75680f9d..eb7c1247 100644 --- a/setup.py +++ b/setup.py @@ -26,28 +26,29 @@ long_description_content_type="text/x-rst", zip_safe=False, classifiers=[ - "Development Status :: 5 - Production/Stable", - "Environment :: Console", - "Environment :: Web Environment", - "Framework :: Sphinx :: Extension", - "Intended Audience :: Developers", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Topic :: Documentation", - "Topic :: Documentation :: Sphinx", - "Topic :: Utilities", + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Environment :: Web Environment', + 'Framework :: Sphinx :: Extension', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Topic :: Documentation', + 'Topic :: Documentation :: Sphinx', + 'Topic :: Utilities', ], platforms="any", packages=find_packages(exclude=["tests", "example"]), include_package_data=True, install_requires=requires, - namespace_packages=["mlx"], + python_requires='>=3.8', + namespace_packages=['mlx'], keywords=[ "coverity", "reporting", diff --git a/tox.ini b/tox.ini index 3ab6cb68..353415a8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,26 +1,26 @@ [tox] envlist = - py37, py38, py39, py310, py311 + py38, py39, py310, py311, py312 clean, check, [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] basepython = py: python3 pypy: {env:TOXPYTHON:pypy} - py37: {env:TOXPYTHON:python3.7} py38: {env:TOXPYTHON:python3.8} py39: {env:TOXPYTHON:python3.9} py310: {env:TOXPYTHON:python3.10} py311: {env:TOXPYTHON:python3.11} + py312: {env:TOXPYTHON:python3.12} {clean,test,html,latexpdf,check,report,coverage}: python3 setenv = PYTHONPATH={toxinidir}/tests