Skip to content

Commit 49c93db

Browse files
authored
Merge pull request #554 from bashtage/rls-5.3
RLS: Release 5.3
2 parents c181f62 + 40745bd commit 49c93db

File tree

5 files changed

+11
-27
lines changed

5 files changed

+11
-27
lines changed

ci/azure_template_posix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
PANDAS: 1.1.0
2424
STATSMODELS: 0.12.0
2525
XARRAY: 0.16.0
26-
FORMULAIC: 0.6.1
26+
FORMULAIC: 0.6.5
2727
test.install: true
2828
python39_mid:
2929
python.version: '3.9'
@@ -33,7 +33,7 @@ jobs:
3333
STATSMODELS: 0.12.0
3434
XARRAY: 0.18.0
3535
XXHASH: true
36-
FORMULAIC: 0.6.1
36+
FORMULAIC: 0.6.5
3737
test.install: true
3838
python39_recent:
3939
python.version: '3.9'
@@ -42,7 +42,7 @@ jobs:
4242
PANDAS: 1.3.0
4343
STATSMODELS: 0.13.0
4444
XARRAY: 0.20.0
45-
FORMULAIC: 0.6.1
45+
FORMULAIC: 0.6.5
4646
test.install: true
4747
python310_no_cython:
4848
python.version: '3.10'

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)