Skip to content

Commit

Permalink
Update pins and bump version (#108)
Browse files Browse the repository at this point in the history
* Update pins and bump version

* Remove old pythons

* Remove Python3.9

* Set macos 13

* Reenable 3.9
  • Loading branch information
honnibal authored Jun 18, 2024
1 parent 122895c commit 910521c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion blis/about.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
13 changes: 3 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
[
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 910521c

Please sign in to comment.