Skip to content

Commit 1ff7c98

Browse files
authored
Merge pull request #445 from bashtage/update-reqs
MAINT: Update requirements
2 parents 592058e + 752c68e commit 1ff7c98

File tree

6 files changed

+21
-29
lines changed

6 files changed

+21
-29
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,13 @@ cov_est.cov.long_run
203203
These requirements reflect the testing environment. It is possible
204204
that arch will work with older versions.
205205

206-
- Python (3.6+)
207-
- NumPy (1.14+)
208-
- SciPy (1.0.1+)
206+
- Python (3.7+)
207+
- NumPy (1.16+)
208+
- SciPy (1.2+)
209209
- Pandas (0.23+)
210-
- statsmodels (0.9+)
211-
- matplotlib (2.0+), optional
212-
- property-cached (1.6.3+), optional
210+
- statsmodels (0.11+)
211+
- matplotlib (2.2+), optional
212+
- property-cached (1.6.4+), optional
213213

214214
### Optional Requirements
215215

arch/univariate/recursions.pyx

+2-10
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,12 @@
44
import numpy as np
55

66
cimport numpy as np
7-
from libc.math cimport sqrt
7+
from libc.math cimport sqrt, log, exp, fabs
8+
from libc.float cimport DBL_MAX
89

910
__all__ = ['harch_recursion', 'arch_recursion', 'garch_recursion', 'egarch_recursion',
1011
'midas_recursion', 'figarch_recursion', 'figarch_weights', 'aparch_recursion']
1112

12-
cdef extern from 'math.h':
13-
double log(double x)
14-
double exp(double x)
15-
double sqrt(double x)
16-
double fabs(double x)
17-
18-
cdef extern from 'float.h':
19-
double DBL_MAX
20-
2113
cdef double LNSIGMA_MAX = log(DBL_MAX)
2214

2315
np.import_array()

pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
requires = [
33
"setuptools",
44
"wheel",
5-
"numpy==1.14.6; python_version=='3.6'",
6-
"numpy==1.14.6; python_version=='3.7'",
5+
"numpy==1.6.6; python_version<='3.7'",
76
"numpy==1.17.5; python_version=='3.8'",
8-
"numpy; python_version>='3.9'",
7+
"numpy==1.19.5; python_version=='3.9'",
8+
"numpy; python_version>='3.10'",
99
"Cython>=0.29.14"]
1010

1111
[tool.black]
12-
target-version = ['py36', 'py37', 'py38']
12+
target-version = ['py37', 'py38']
1313
exclude = '''
1414
(
1515
\.egg

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Performance
2-
cython>=0.29.14
2+
cython>=0.29.21
33
numba>=0.49,!=0.50.*
44

55
# Graphics

requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
numpy>=1.14
2-
scipy>=1.0.1
1+
numpy>=1.16
2+
scipy>=1.2.3
33
pandas>=0.23
4-
statsmodels>=0.9
5-
property_cached>=1.6.3
4+
statsmodels>=0.11
5+
property_cached>=1.6.4

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ def build_extensions(self) -> None:
6565
INSTALL_REQUIREMENTS = SETUP_REQUIREMENTS.copy()
6666
INSTALL_REQUIREMENTS.update(
6767
{
68-
"scipy": "1.0.1",
68+
"scipy": "1.2.3",
6969
"pandas": "0.23",
70-
"statsmodels": "0.9",
71-
"property_cached": "1.6.3",
70+
"statsmodels": "0.10",
71+
"property_cached": "1.6.4",
7272
}
7373
)
7474

@@ -177,9 +177,9 @@ def run_setup(binary: bool = True) -> None:
177177
"Development Status :: 5 - Production/Stable",
178178
"Intended Audience :: End Users/Desktop",
179179
"Intended Audience :: Financial and Insurance Industry",
180-
"Programming Language :: Python :: 3.6",
181180
"Programming Language :: Python :: 3.7",
182181
"Programming Language :: Python :: 3.8",
182+
"Programming Language :: Python :: 3.9",
183183
"License :: OSI Approved",
184184
"Operating System :: MacOS :: MacOS X",
185185
"Operating System :: Microsoft :: Windows",

0 commit comments

Comments
 (0)