Skip to content

Commit

Permalink
Add python 3.13 and update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsayre committed Jan 5, 2025
1 parent 8a35fbb commit 57f2149
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "pyheos Dev",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"image": "mcr.microsoft.com/devcontainers/python:1-3.13-bullseye",
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} | script/setup",
"containerEnv": {
"PYTHONASYNCIODEBUG": "1",
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
Expand All @@ -42,7 +42,7 @@ jobs:
needs: lint
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
Expand All @@ -81,7 +81,6 @@ jobs:
- name: Run pytest on ${{ matrix.python-version }}
run: pytest --cov --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
- uses: actions/cache@v4
with:
path: ${{ env.pythonLocation }}
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Topic :: Home Automation",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[project.urls]
Expand All @@ -37,7 +38,7 @@ exclude = ["tests", "tests.*"]
required-version = ">=0.8.0"

[tool.pylint.MAIN]
py-version = "3.12"
py-version = "3.13"
jobs = 2
load-plugins = [
"pylint.extensions.code_style",
Expand All @@ -54,7 +55,7 @@ warn_required_dynamic_aliases = true
warn_untyped_fields = true

[tool.mypy]
python_version = "3.12"
python_version = "3.13"
platform = "linux"
plugins = ["pydantic.mypy", "pydantic.v1.mypy"]
show_error_codes = true
Expand Down
10 changes: 5 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
codespell==2.3.0
coveralls==4.0.1
mypy-dev==1.14.0a6
pydantic==2.10.3
pylint==3.3.2
mypy-dev==1.15.0a1
pydantic==2.10.4
pylint==3.3.3
pylint-per-file-ignores==1.3.2
pytest==8.3.4
pytest-asyncio==0.24.0
pytest-asyncio==0.25.1
pytest-cov==6.0.0
pytest-timeout==2.3.1
ruff==0.8.2
ruff==0.8.6

0 comments on commit 57f2149

Please sign in to comment.