Skip to content

Commit 36b2c19

Browse files
committed
RLS: Release 5.3
Build on Python 3.12 Bump formulaic minimum
1 parent c181f62 commit 36b2c19

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

doc/source/changes/5.0.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
.. warning::
2-
3-
Version 5.0 changes the sorting order for models created using formulas.
4-
Variables will appear in results in the same order they are entered in
5-
the formula string.
1+
Version 5.3
2+
-----------
3+
- Bumped the minimum formulaic to 0.6.5.
4+
- Released wheels for Python 3.12.
65

76
Version 5.2
87
-----------

linearmodels/tests/system/test_formulas.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@
5050
key += " : " + str(m[0].__name__)
5151
ids.append(key)
5252

53-
escape_fmlas = fmlas[:2] + fmlas[3:]
54-
escape_params = list(product(escape_fmlas, models))
55-
56-
escape_ids = []
57-
for f, m in escape_params:
58-
key = "--".join([value for value in f.values()])
59-
key += " : " + str(m[0].__name__)
60-
escape_ids.append(key)
61-
6253

6354
def sigmoid(v):
6455
return np.exp(v) / (1 + np.exp(v))
@@ -71,13 +62,6 @@ def config(request):
7162
return fmla, model, interface
7263

7364

74-
@pytest.fixture(scope="module", params=escape_params, ids=escape_ids)
75-
def escape_config(request):
76-
fmla, model_interace = request.param
77-
model, interface = model_interace
78-
return fmla, model, interface
79-
80-
8165
def test_formula(config):
8266
fmla, model, interface = config
8367
for key in fmla:
@@ -198,8 +182,8 @@ def test_parser(config):
198182
assert_frame_equal(eq1[key], eq2[key])
199183

200184

201-
def test_formula_escaped(escape_config):
202-
fmla, model, interface = escape_config
185+
def test_formula_escaped(config):
186+
fmla, model, interface = config
203187
for key in fmla:
204188
if "[" in fmla[key] and model not in (IVSystemGMM, IV3SLS):
205189
return

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ statsmodels>=0.12.0
55
mypy_extensions>=0.4
66
Cython>=0.29.34
77
pyhdfe>=0.1
8-
formulaic>=0.6.1
8+
formulaic>=0.6.5
99
# versioning
1010
setuptools_scm[toml]>=7.0.0,<8.0.0
1111

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def run_setup(binary: bool = True) -> None:
115115
"Programming Language :: Python :: 3.9",
116116
"Programming Language :: Python :: 3.10",
117117
"Programming Language :: Python :: 3.11",
118+
"Programming Language :: Python :: 3.12",
118119
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
119120
"Operating System :: MacOS :: MacOS X",
120121
"Operating System :: Microsoft :: Windows",

0 commit comments

Comments
 (0)