diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d67994f6..e852d9e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,13 +20,8 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - include: - - os: windows-2019 - python_version: "3.6" - - os: ubuntu-20.04 - python_version: "3.6" + os: [ubuntu-latest, windows-latest, macos-13] + python_version: ["3.9", "3.10", "3.11", "3.12"] runs-on: ${{ matrix.os }} steps: diff --git a/blis/about.py b/blis/about.py index fb5a294a..8334b414 100644 --- a/blis/about.py +++ b/blis/about.py @@ -5,7 +5,7 @@ # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py __name__ = "blis" -__version__ = "0.9.1" +__version__ = "1.0.0" __summary__ = ( "The Blis BLAS-like linear algebra library, as a self-contained C-extension." ) diff --git a/requirements.txt b/requirements.txt index be9f9e45..2315fec9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ # Test requirements -numpy>=1.15.0; python_version < "3.9" -numpy>=1.19.0; python_version >= "3.9" +numpy>=2.0.0,<3.0.0 pytest cython hypothesis>=4.0.0,<7.0.0 diff --git a/setup.py b/setup.py index 21052f95..d0944c92 100644 --- a/setup.py +++ b/setup.py @@ -253,9 +253,7 @@ def compile_objects(self, platform, py_arch, obj_dir): ] # Ensure that symbols are visible to aid debugging and profiling. spec["flags"] = [ - f - for f in spec["flags"] - if "visibility=hidden" not in f + f for f in spec["flags"] if "visibility=hidden" not in f ] objects.append(self.build_object(env=env, **spec)) return objects @@ -329,11 +327,10 @@ def chdir(new_dir): setup( setup_requires=[ "cython>=0.25", - "numpy>=1.15.0", + "numpy>=2.0.0,<3.0.0", ], install_requires=[ - "numpy>=1.15.0; python_version < '3.9'", - "numpy>=1.19.0; python_version >= '3.9'", + "numpy>=2.0.0,<3.0.0", ], ext_modules=cythonize( [ @@ -371,10 +368,6 @@ def chdir(new_dir): "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", "Programming Language :: Cython", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3.6", - "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",