Skip to content

Commit 13c4b38

Browse files
authored
Merge pull request #15 from CyberAgentAILab/feat/update-python-version
Update supported Python version
2 parents ff82f0c + ad5e978 commit 13c4b38

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ on:
88

99
jobs:
1010
lint-and-test:
11-
runs-on: ubuntu-latest
12-
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest]
14+
python-version: ['3.10', '3.11', '3.12']
15+
runs-on: ${{ matrix.os }}
1316
steps:
1417
- name: Checkout repository
1518
uses: actions/checkout@v4
1619

17-
- name: Set up Python
20+
- name: Set up Python ${{ matrix.python-version }}
1821
uses: actions/setup-python@v4
1922
with:
20-
python-version: '3.11'
23+
python-version: ${{ matrix.python-version }}
2124

2225
- name: Install pipenv
2326
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: '3.10'
18+
python-version: '3.11'
1919

2020
- name: Install dependencies
2121
run: |

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ruff = "~=0.4.9"
1414
sphinx = "~=7.3.7"
1515

1616
[requires]
17-
python_version = "3.11"
17+
python_version = "3"
1818

1919
[scripts]
2020
format = "ruff format"

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ name = "dte_adj"
77
version = "0.1.1"
88
description = "This is a Python library for a research paper 'Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction'"
99
readme = "README.md"
10-
requires-python = ">=3.6"
11-
license = {text = "MIT"}
10+
requires-python = ">=3.10"
11+
license = { file = "LICENSE.txt" }
1212
classifiers = [
1313
"Programming Language :: Python :: 3",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
1416
"License :: OSI Approved :: MIT License",
1517
"Operating System :: OS Independent"
1618
]

0 commit comments

Comments
 (0)