Skip to content

Commit

Permalink
Update actions workflows: drop 3.8 support, add 3.12 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnansters committed Dec 18, 2024
1 parent a8ac374 commit cc51010
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# The type of runner that the job will run on
strategy:
matrix:
python-versions: ['3.8', '3.9', '3.10', '3.11']
python-versions: ['3.9', '3.10', '3.11', '3.12']
os: [ubuntu-20.04]
# os: [ubuntu-18.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
python-versions: [ 3.8 ]
python-versions: [ 3.11 ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
python-versions: [3.8]
python-versions: [3.11]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
52 changes: 28 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PyYAML = "^6.0"
Jinja2 = "<3.1"
pyfiglet = "^0.8.post1"
lightgbm = "^3.3.2"
FLAML = "^2.3"
FLAML = {extras = ["automl"], version = "^2.3.3"}
s3fs = ">=2022.8.2"
sqlmodel = {version = "^0.0.19", optional = true}
APScheduler = "^3.9.1"
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exclude = .git,
.github,
# By default test codes will be linted.
# tests
min_python_version = 3.8.0
min_python_version = 3.9.0

[doc8]
ignore-path = docs/_build/, nannyml/nannyml.egg-info/, .*/
Expand Down Expand Up @@ -49,14 +49,14 @@ exclude_lines =

[tox:tox]
isolated_build = true
envlist = py38, py39, py310, py311, format, lint, build
envlist = py39, py310, py311, py312, format, lint, build

[gh-actions]
python =
3.12: py312
3.11: py311
3.10: py310
3.9: py39
3.8: py38, format, lint, build
3.9: py39, format, lint, build

[testenv]
allowlist_externals = pytest
Expand Down

0 comments on commit cc51010

Please sign in to comment.