diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index dfe13c3..535d7f3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -6,7 +6,7 @@ jobs: tox: strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11'] os: [ubuntu-22.04, macos-12] runs-on: ${{ matrix.os }} steps: diff --git a/setup.py b/setup.py index c38617e..64b254c 100644 --- a/setup.py +++ b/setup.py @@ -71,11 +71,10 @@ def finalize_options(self): 'Topic :: Software Development :: Libraries', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX :: Linux', + 'Operating System :: MacOS', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', ], diff --git a/tests/test_compile.py b/tests/test_compile.py index 8eb0975..30181c2 100644 --- a/tests/test_compile.py +++ b/tests/test_compile.py @@ -3,7 +3,7 @@ from cffi import FFI from tensora import Tensor -from tensora.compile import tensor_cdefs, taco_define_header, taco_type_header, lock,\ +from tensora.compile import tensor_cdefs, taco_define_header, taco_type_header, lock, \ take_ownership_of_tensor_members, take_ownership_of_tensor source = """ diff --git a/tox.ini b/tox.ini index ebd2da7..21548ed 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,6 @@ [gh-actions] python = - 3.8: py38, numpy, coverage, pep8 - 3.9: py39 - 3.10: py310 + 3.10: py310, numpy, coverage, pep8 3.11: py311 [tox] @@ -13,8 +11,6 @@ requires = # Environment changes have to be manually synced with `.github/workflows/python.yml`. envlist = - py38 - py39 py310 py311 numpy @@ -37,7 +33,7 @@ commands = -m pytest tests --cov "{envsitepackagesdir}/tensora" [testenv:numpy] -basepython = python3.8 +basepython = python3.10 setenv = COVERAGE_FILE = .coverage.numpy extras = @@ -49,7 +45,7 @@ commands = [testenv:coverage] # Separate step for combining coverage skip_install = true -depends = py38 +depends = py310, py311, numpy setenv = deps = coverage >= 4.5.3