diff --git a/README.md b/README.md index 7e77c77a92..3aedf4249a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ | :------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Latest Release** | [![PyPI version](https://badge.fury.io/py/linearmodels.svg)](https://badge.fury.io/py/linearmodels) | | **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) | -| | [![Build status](https://ci.appveyor.com/api/projects/status/7768doy6wrdunmdt/branch/main?svg=true)](https://ci.appveyor.com/project/bashtage/linearmodels/branch/main) | | **Coverage** | [![codecov](https://codecov.io/gh/bashtage/linearmodels/branch/main/graph/badge.svg)](https://codecov.io/gh/bashtage/linearmodels) | | **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) | | | [![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. ### 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 diff --git a/ci/azure_template_posix.yml b/ci/azure_template_posix.yml index 060439c941..a1b5d26378 100644 --- a/ci/azure_template_posix.yml +++ b/ci/azure_template_posix.yml @@ -16,32 +16,32 @@ 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: @@ -49,11 +49,11 @@ jobs: 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 @@ -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)' diff --git a/requirements.txt b/requirements.txt index a23249631c..880fdf49ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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