Skip to content

Commit 9304420

Browse files
committed
MAINT: Bump minimum python to 3.10
1 parent 3a50fdf commit 9304420

File tree

10 files changed

+23
-10
lines changed

10 files changed

+23
-10
lines changed

doc/source/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Change Log
22
==========
33

4-
.. include:: changes/6.0.rst
4+
.. include:: changes/7.0.rst
55

66
=============
77
Past Releases
@@ -10,6 +10,7 @@ Past Releases
1010
.. toctree::
1111
:maxdepth: 1
1212

13+
changes/6.0
1314
changes/5.0
1415
changes/4.0
1516
changes/3.0-2.0-1.0

doc/source/changes/6.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Version 6.0
44
* Small doc fixes
55
* Support Python 3.13
66

7-
Version 6.0
7+
Version 6.1
88
-----------
99

1010
* Increased minimums:

doc/source/changes/7.0.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Version 7.0
2+
-----------
3+
4+
* Increased minimums:
5+
6+
- Python: 3.10
7+
- formulaic: 1.0.0
8+
- NumPy: 1.22.3
9+
- SciPy: 1.8.0
10+
- pandas: 1.4.0
11+
- statsmodels: 0.13.0

linearmodels/asset_pricing/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from __future__ import annotations
66

7-
from typing import Any, cast
87
from collections.abc import Callable
8+
from typing import Any, cast
99

1010
from formulaic import model_matrix
1111
from formulaic.materializers.types import NAAction

linearmodels/iv/covariance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from __future__ import annotations
66

7-
from typing import Any, Union, cast
87
from collections.abc import Callable
8+
from typing import Any, Union, cast
99

1010
from mypy_extensions import VarArg
1111
from numpy import (

linearmodels/iv/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from __future__ import annotations
66

7-
from typing import Any, TypeVar, Union, cast
87
from collections.abc import Callable
8+
from typing import Any, TypeVar, Union, cast
99
import warnings
1010

1111
from numpy import (

linearmodels/shared/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
from collections.abc import (
4+
Callable,
45
ItemsView,
56
Iterable,
67
Iterator,
@@ -11,7 +12,6 @@
1112
ValuesView,
1213
)
1314
from typing import Any, Protocol, TypeVar, cast
14-
from collections.abc import Callable
1515

1616
import numpy as np
1717
import pandas

linearmodels/tests/iv/test_absorbing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from itertools import product
44
import struct
5-
from typing import Optional
65

76
import numpy as np
87
from numpy.testing import assert_allclose, assert_array_equal

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[project]
2+
license = "NCSA"
3+
14
[flake8]
25
max-line-length = 99
36
ignore = E203,W503,BLK100

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,18 @@ def run_setup(binary: bool = True) -> None:
112112
"Intended Audience :: End Users/Desktop",
113113
"Intended Audience :: Financial and Insurance Industry",
114114
"Intended Audience :: Science/Research",
115-
"Programming Language :: Python :: 3.9",
116115
"Programming Language :: Python :: 3.10",
117116
"Programming Language :: Python :: 3.11",
118117
"Programming Language :: Python :: 3.12",
119-
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
118+
"Programming Language :: Python :: 3.13",
120119
"Operating System :: MacOS :: MacOS X",
121120
"Operating System :: Microsoft :: Windows",
122121
"Operating System :: POSIX",
123122
"Programming Language :: Python",
124123
"Topic :: Scientific/Engineering",
125124
],
126125
ext_modules=extensions,
127-
python_requires=">=3.9",
126+
python_requires=">=3.10",
128127
distclass=BinaryDistribution,
129128
)
130129

0 commit comments

Comments
 (0)