Skip to content

Commit

Permalink
MAINT: Update dependencies
Browse files Browse the repository at this point in the history
- Numpy 1.25 is incompatible with Python 3.8
- Cython 3 was officially released
- Compile with '-Wall'
  • Loading branch information
ntfrgl committed Jul 18, 2023
1 parent b7e546d commit a9a70b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
requires = [
"setuptools>=65",
"wheel",
"Cython>=3.0.0b3",
"numpy>=1.25"
"Cython>=3.0.0",
"numpy>=1.24"
]
build-backend = "setuptools.build_meta"

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ classifiers =

[options]
install_requires =
numpy >= 1.25
numpy >= 1.24
scipy >= 1.10
igraph >= 0.10
h5netcdf >= 1.2
Expand All @@ -60,7 +60,7 @@ include = pyunicorn*

[options.extras_require]
dev =
Cython >= 3.0.0b3
Cython >= 3.0.0
docs =
sphinx >= 7.0
testing =
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'extra_compile_args': ['-D_GNU_SOURCE'] + (
['/O2']
if win else
['-O3', '-std=c99', '-Wconversion']),
['-O3', '-std=c99', '-Wall', '-Wconversion']),
'define_macros': [('NPY_NO_DEPRECATED_API', 'NPY_1_7_API_VERSION')]}
cy_args = {
'language_level': '3str', 'embedsignature': True,
Expand Down
2 changes: 1 addition & 1 deletion src/pyunicorn/timeseries/cross_recurrence_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# array object and fast numerics
import numpy as np

from ..core._ext.types import to_cy, FIELD, DFIELD
from ..core._ext.types import to_cy, DFIELD
from ._ext.numerics import _manhattan_distance_matrix_crp, \
_euclidean_distance_matrix_crp, _supremum_distance_matrix_crp

Expand Down

0 comments on commit a9a70b2

Please sign in to comment.