@@ -18,10 +18,10 @@ classifiers = [
1818 ' License :: OSI Approved :: Apache Software License' ,
1919 ' Natural Language :: English' ,
2020 ' Programming Language :: Python' ,
21- ' Programming Language :: Python :: 3.8' ,
2221 ' Programming Language :: Python :: 3.9' ,
2322 ' Programming Language :: Python :: 3.10' ,
2423 ' Programming Language :: Python :: 3.11' ,
24+ ' Programming Language :: Python :: 3.12' ,
2525 ' Operating System :: OS Independent' ,
2626 ' Intended Audience :: Science/Research' ,
2727 ' Topic :: Office/Business :: Financial :: Investment' ,
@@ -47,7 +47,7 @@ dependencies = [
4747 ' networkx >=2.0' ,
4848 ' numexpr >=2.6.1' ,
4949 ' numpy >=1.14.5' ,
50- ' pandas >=2.0 ' ,
50+ ' pandas >=1.3 ' ,
5151 ' patsy >=0.4.0' ,
5252 ' python-dateutil >=2.4.2' ,
5353 ' python-interface >=1.5.3' ,
@@ -73,7 +73,8 @@ requires = [
7373 ' setuptools>=42.0.0' ,
7474 " setuptools_scm[toml]>=6.2" ,
7575 ' wheel>=0.36.0' ,
76- ' Cython>=0.29.21,<3' ,
76+ ' Cython>=0.29.21' ,
77+ # 'Cython>=3',
7778 ' oldest-supported-numpy; python_version>="3.8"' ,
7879]
7980build-backend = ' setuptools.build_meta'
@@ -102,7 +103,8 @@ dev = [
102103 ' flake8 >=3.9.1' ,
103104 ' black' ,
104105 ' pre-commit >=2.12.1' ,
105- ' Cython>=0.29.21,<3' ,
106+ # 'Cython>=0.29.21,<3',
107+ ' Cython>=0.29.21' ,
106108]
107109docs = [
108110 ' Cython' ,
@@ -176,17 +178,17 @@ exclude = '''
176178[tool .tox ]
177179legacy_tox_ini = """
178180[tox]
179- envlist = py{38, 39,310,311}-pandas{2 }
181+ envlist = py{39,310}-pandas{13,14,15}, py{ 39,310,311,312 }-pandas{20,21,22 }
180182isolated_build = True
181183skip_missing_interpreters = True
182184minversion = 3.23.0
183185
184186[gh-actions]
185187python =
186- 3.8: py38
187188 3.9: py39
188189 3.10: py310
189190 3.11: py311
191+ 3.12: py312
190192
191193[testenv]
192194usedevelop = True
@@ -196,7 +198,12 @@ setenv =
196198changedir = tmp
197199extras = test
198200deps =
199- pandas2: pandas>=2.0
201+ pandas13: pandas>=1.3.0,<1.4
202+ pandas14: pandas>=1.4.0,<1.5
203+ pandas15: pandas>=1.5.0,<1.6
204+ pandas20: pandas>=2.0,<2.1
205+ pandas21: pandas>=2.1,<2.2
206+ pandas22: pandas>=2.2,<2.3
200207
201208commands =
202209 pytest -n 4 --reruns 5 --cov={toxinidir}/src --cov-report term --cov-report=xml --cov-report=html:htmlcov {toxinidir}/tests
0 commit comments