Skip to content

Commit

Permalink
CI: Make CI compliant with new minimums
Browse files Browse the repository at this point in the history
  • Loading branch information
bashtage committed Jan 4, 2024
1 parent 3199d31 commit 9ae6cda
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,14 @@ regression. Currently only the single variable IV estimators are polished.
### Running

- Python 3.9+
- NumPy (1.19+)
- NumPy (1.22+)
- SciPy (1.5+)
- pandas (1.1+)
- pandas (1.3+)
- statsmodels (0.12+)
- formulaic (0.6.5+)
- xarray (0.16+, optional)
- Cython (0.29.34+, optional)
- Cython (0.29.37+, optional)


### Testing

Expand Down
35 changes: 19 additions & 16 deletions ci/azure_template_posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,44 +16,44 @@ jobs:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
python39_legacy:
python39_minimums:
python.version: '3.9'
NUMPY: 1.19.0
NUMPY: 1.22.0
SCIPY: 1.5.0
PANDAS: 1.1.0
PANDAS: 1.3.0
STATSMODELS: 0.12.0
XARRAY: 0.16.0
XARRAY: 0.21.0
FORMULAIC: 0.6.5
test.install: true
python39_mid:
python.version: '3.9'
NUMPY: 1.20.0
NUMPY: 1.23.0
SCIPY: 1.6.0
PANDAS: 1.2.0
STATSMODELS: 0.12.0
XARRAY: 0.18.0
PANDAS: 1.4.0
STATSMODELS: 0.13.0
XARRAY: 2022.6.0
XXHASH: true
FORMULAIC: 0.6.5
test.install: true
python39_recent:
python.version: '3.9'
NUMPY: 1.21.0
NUMPY: 1.24.0
SCIPY: 1.7.0
PANDAS: 1.3.0
PANDAS: 1.5.0
STATSMODELS: 0.13.0
XARRAY: 0.20.0
XARRAY: 2022.12.0
FORMULAIC: 0.6.5
test.install: true
python310_no_cython:
python.version: '3.10'
LM_NO_BINARY: 1
python310_recent:
python.version: '3.10'
NUMPY: 1.22.0
SCIPY: 1.8.0
PANDAS: 1.5.0
STATSMODELS: 0.13.0
XARRAY: 22.0
NUMPY: 1.24.0
SCIPY: 1.9.0
PANDAS: 2.0.0
STATSMODELS: 0.14.0
XARRAY: 2023.4.0
python310_latest:
python.version: '3.10'
FORMULAIC: 1.0.1
Expand Down Expand Up @@ -134,6 +134,9 @@ jobs:
- script: |
echo "Testing pip-pre"
if [[ ${COVERAGE} == "true" ]]; then
export COVERAGE_OPTS="--cov-config .coveragerc --cov=linearmodels --cov-report xml:coverage.xml --cov-report term"
fi
echo pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
pytest -m "${PYTEST_PATTERN}" --junitxml=junit/test-results.xml -n auto --durations=25 ${COVERAGE_OPTS} linearmodels/tests
displayName: 'Run tests (pip pre)'
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
numpy>=1.19.0
pandas>=1.1.0
numpy>=1.22.0
pandas>=1.3.0
scipy>=1.5.0
statsmodels>=0.12.0
mypy_extensions>=0.4
Cython>=0.29.34
Cython>=0.29.37
pyhdfe>=0.1
formulaic>=0.6.5
# versioning
Expand Down

0 comments on commit 9ae6cda

Please sign in to comment.