Skip to content

Commit 4358b34

Browse files
authored
Merge pull request #578 from bashtage/formalize-pip-pre-testing
Formalize pip pre testing
2 parents a4636e7 + 9ae6cda commit 4358b34

File tree

3 files changed

+27
-23
lines changed

3 files changed

+27
-23
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
| :------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
55
| **Latest Release** | [![PyPI version](https://badge.fury.io/py/linearmodels.svg)](https://badge.fury.io/py/linearmodels) |
66
| **Continuous Integration** | [![Build Status](https://dev.azure.com/kevinksheppard/kevinksheppard/_apis/build/status/bashtage.linearmodels?branchName=main)](https://dev.azure.com/kevinksheppard/kevinksheppard/_build/latest?definitionId=2&branchName=main) |
7-
| | [![Build status](https://ci.appveyor.com/api/projects/status/7768doy6wrdunmdt/branch/main?svg=true)](https://ci.appveyor.com/project/bashtage/linearmodels/branch/main) |
87
| **Coverage** | [![codecov](https://codecov.io/gh/bashtage/linearmodels/branch/main/graph/badge.svg)](https://codecov.io/gh/bashtage/linearmodels) |
98
| **Code Quality** | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/745a24a69cb2466b95df6a53c83892de)](https://www.codacy.com/manual/bashtage/linearmodels?utm_source=github.com&utm_medium=referral&utm_content=bashtage/linearmodels&utm_campaign=Badge_Grade) |
109
| | [![codebeat badge](https://codebeat.co/badges/aaae2fb4-72b5-4a66-97cd-77b93488f243)](https://codebeat.co/projects/github-com-bashtage-linearmodels-main) |
@@ -133,12 +132,14 @@ regression. Currently only the single variable IV estimators are polished.
133132
### Running
134133

135134
- Python 3.9+
136-
- NumPy (1.19+)
135+
- NumPy (1.22+)
137136
- SciPy (1.5+)
138-
- pandas (1.1+)
137+
- pandas (1.3+)
139138
- statsmodels (0.12+)
139+
- formulaic (0.6.5+)
140140
- xarray (0.16+, optional)
141-
- Cython (0.29.34+, optional)
141+
- Cython (0.29.37+, optional)
142+
142143

143144
### Testing
144145

ci/azure_template_posix.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,44 +16,44 @@ jobs:
1616
vmImage: ${{ parameters.vmImage }}
1717
strategy:
1818
matrix:
19-
python39_legacy:
19+
python39_minimums:
2020
python.version: '3.9'
21-
NUMPY: 1.19.0
21+
NUMPY: 1.22.0
2222
SCIPY: 1.5.0
23-
PANDAS: 1.1.0
23+
PANDAS: 1.3.0
2424
STATSMODELS: 0.12.0
25-
XARRAY: 0.16.0
25+
XARRAY: 0.21.0
2626
FORMULAIC: 0.6.5
2727
test.install: true
2828
python39_mid:
2929
python.version: '3.9'
30-
NUMPY: 1.20.0
30+
NUMPY: 1.23.0
3131
SCIPY: 1.6.0
32-
PANDAS: 1.2.0
33-
STATSMODELS: 0.12.0
34-
XARRAY: 0.18.0
32+
PANDAS: 1.4.0
33+
STATSMODELS: 0.13.0
34+
XARRAY: 2022.6.0
3535
XXHASH: true
3636
FORMULAIC: 0.6.5
3737
test.install: true
3838
python39_recent:
3939
python.version: '3.9'
40-
NUMPY: 1.21.0
40+
NUMPY: 1.24.0
4141
SCIPY: 1.7.0
42-
PANDAS: 1.3.0
42+
PANDAS: 1.5.0
4343
STATSMODELS: 0.13.0
44-
XARRAY: 0.20.0
44+
XARRAY: 2022.12.0
4545
FORMULAIC: 0.6.5
4646
test.install: true
4747
python310_no_cython:
4848
python.version: '3.10'
4949
LM_NO_BINARY: 1
5050
python310_recent:
5151
python.version: '3.10'
52-
NUMPY: 1.22.0
53-
SCIPY: 1.8.0
54-
PANDAS: 1.5.0
55-
STATSMODELS: 0.13.0
56-
XARRAY: 22.0
52+
NUMPY: 1.24.0
53+
SCIPY: 1.9.0
54+
PANDAS: 2.0.0
55+
STATSMODELS: 0.14.0
56+
XARRAY: 2023.4.0
5757
python310_latest:
5858
python.version: '3.10'
5959
FORMULAIC: 1.0.1
@@ -134,6 +134,9 @@ jobs:
134134
135135
- script: |
136136
echo "Testing pip-pre"
137+
if [[ ${COVERAGE} == "true" ]]; then
138+
export COVERAGE_OPTS="--cov-config .coveragerc --cov=linearmodels --cov-report xml:coverage.xml --cov-report term"
139+
fi
137140
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
138141
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
139142
displayName: 'Run tests (pip pre)'

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
numpy>=1.19.0
2-
pandas>=1.1.0
1+
numpy>=1.22.0
2+
pandas>=1.3.0
33
scipy>=1.5.0
44
statsmodels>=0.12.0
55
mypy_extensions>=0.4
6-
Cython>=0.29.34
6+
Cython>=0.29.37
77
pyhdfe>=0.1
88
formulaic>=0.6.5
99
# versioning

0 commit comments

Comments
 (0)