Skip to content

Commit

Permalink
Merge pull request #15 from CyberAgentAILab/feat/update-python-version
Browse files Browse the repository at this point in the history
Update supported Python version
  • Loading branch information
TomeHirata authored Jul 22, 2024
2 parents ff82f0c + ad5e978 commit 13c4b38
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ on:

jobs:
lint-and-test:
runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}

- name: Install pipenv
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ruff = "~=0.4.9"
sphinx = "~=7.3.7"

[requires]
python_version = "3.11"
python_version = "3"

[scripts]
format = "ruff format"
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ name = "dte_adj"
version = "0.1.1"
description = "This is a Python library for a research paper 'Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction'"
readme = "README.md"
requires-python = ">=3.6"
license = {text = "MIT"}
requires-python = ">=3.10"
license = { file = "LICENSE.txt" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
Expand Down

0 comments on commit 13c4b38

Please sign in to comment.