Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pins and bump version #108

Merged
merged 5 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading