Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
strategy:
matrix:
config:
- {os: 'ubuntu-latest', python-version: '3.9'}
- {os: 'windows-latest', python-version: '3.9'}
- {os: 'macOS-latest', python-version: '3.9'}
- {os: 'windows-latest', python-version: '3.10'}
- {os: 'macOS-latest', python-version: '3.10'}
- {os: 'ubuntu-latest', python-version: '3.10'}
- {os: 'ubuntu-latest', python-version: '3.11'}
- {os: 'ubuntu-latest', python-version: '3.12'}
Expand Down Expand Up @@ -57,23 +56,23 @@ jobs:
- name: Test with pytest
if: |
matrix.config.os != 'ubuntu-latest' ||
matrix.config.python-version != '3.9'
matrix.config.python-version != '3.12'
run: |
pytest -m ci
pytest -m ci_rdd

- name: Test with pytest and coverage
if: |
matrix.config.os == 'ubuntu-latest' &&
matrix.config.python-version == '3.9'
matrix.config.python-version == '3.12'
run: |
pip install pytest-cov
pytest --cov=./ --cov-report=xml --cov-report=html

- name: Archive code coverage results
if: |
matrix.config.os == 'ubuntu-latest' &&
matrix.config.python-version == '3.9'
matrix.config.python-version == '3.12'
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
Expand All @@ -85,7 +84,7 @@ jobs:
- name: Upload coverage to Codecov
if: |
matrix.config.os == 'ubuntu-latest' &&
matrix.config.python-version == '3.9'
matrix.config.python-version == '3.12'
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: false
Expand All @@ -96,7 +95,7 @@ jobs:
- name: Upload coverage to codacy
if: |
matrix.config.os == 'ubuntu-latest' &&
matrix.config.python-version == '3.9'
matrix.config.python-version == '3.12'
continue-on-error: true
uses: codacy/codacy-coverage-reporter-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/doubleml.svg)](https://anaconda.org/conda-forge/doubleml)
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-py/branch/main/graph/badge.svg?token=0BjlFPgdGk)](https://codecov.io/gh/DoubleML/doubleml-for-py)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1c08ec7d782c451784293c996537de14)](https://www.codacy.com/gh/DoubleML/doubleml-for-py/dashboard?utm_source=github.com&utm_medium=referral&utm_content=DoubleML/doubleml-for-py&utm_campaign=Badge_Grade)
[![Python version](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://www.python.org/)
[![Python version](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://www.python.org/)

The Python package **DoubleML** provides an implementation of the double / debiased machine learning framework of
[Chernozhukov et al. (2018)](https://doi.org/10.1111/ectj.12097).
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = [
maintainers = [
{name = "Sven Klaassen", email = "sven.klaassen@uni-hamburg.de"}
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"joblib>=1.2.0",
"numpy>=2.0.0",
Expand All @@ -27,7 +27,6 @@ dependencies = [
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -85,7 +84,7 @@ doctest_optionflags = [

[tool.black]
line-length = 127
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
target-version = ['py310', 'py311', 'py312', 'py313']
preview = true
exclude = '''
/(
Expand All @@ -102,7 +101,7 @@ exclude = '''
[tool.ruff]
# max line length for black
line-length = 127
target-version = "py39"
target-version = "py312"


[tool.ruff.lint]
Expand Down
Loading