Skip to content

Commit 910521c

Browse files
authored
Update pins and bump version (#108)
* Update pins and bump version * Remove old pythons * Remove Python3.9 * Set macos 13 * Reenable 3.9
1 parent 122895c commit 910521c

File tree

4 files changed

+7
-20
lines changed

4 files changed

+7
-20
lines changed

.github/workflows/tests.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,8 @@ jobs:
2020
strategy:
2121
fail-fast: true
2222
matrix:
23-
os: [ubuntu-latest, windows-latest, macos-latest]
24-
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
25-
include:
26-
- os: windows-2019
27-
python_version: "3.6"
28-
- os: ubuntu-20.04
29-
python_version: "3.6"
23+
os: [ubuntu-latest, windows-latest, macos-13]
24+
python_version: ["3.9", "3.10", "3.11", "3.12"]
3025
runs-on: ${{ matrix.os }}
3126

3227
steps:

blis/about.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py
66

77
__name__ = "blis"
8-
__version__ = "0.9.1"
8+
__version__ = "1.0.0"
99
__summary__ = (
1010
"The Blis BLAS-like linear algebra library, as a self-contained C-extension."
1111
)

requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Test requirements
2-
numpy>=1.15.0; python_version < "3.9"
3-
numpy>=1.19.0; python_version >= "3.9"
2+
numpy>=2.0.0,<3.0.0
43
pytest
54
cython
65
hypothesis>=4.0.0,<7.0.0

setup.py

+3-10
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,7 @@ def compile_objects(self, platform, py_arch, obj_dir):
253253
]
254254
# Ensure that symbols are visible to aid debugging and profiling.
255255
spec["flags"] = [
256-
f
257-
for f in spec["flags"]
258-
if "visibility=hidden" not in f
256+
f for f in spec["flags"] if "visibility=hidden" not in f
259257
]
260258
objects.append(self.build_object(env=env, **spec))
261259
return objects
@@ -329,11 +327,10 @@ def chdir(new_dir):
329327
setup(
330328
setup_requires=[
331329
"cython>=0.25",
332-
"numpy>=1.15.0",
330+
"numpy>=2.0.0,<3.0.0",
333331
],
334332
install_requires=[
335-
"numpy>=1.15.0; python_version < '3.9'",
336-
"numpy>=1.19.0; python_version >= '3.9'",
333+
"numpy>=2.0.0,<3.0.0",
337334
],
338335
ext_modules=cythonize(
339336
[
@@ -371,10 +368,6 @@ def chdir(new_dir):
371368
"Operating System :: POSIX :: Linux",
372369
"Operating System :: MacOS :: MacOS X",
373370
"Programming Language :: Cython",
374-
"Programming Language :: Python :: 2.7",
375-
"Programming Language :: Python :: 3.6",
376-
"Programming Language :: Python :: 3.7",
377-
"Programming Language :: Python :: 3.8",
378371
"Programming Language :: Python :: 3.9",
379372
"Programming Language :: Python :: 3.10",
380373
"Programming Language :: Python :: 3.11",

0 commit comments

Comments
 (0)