Skip to content

Commit

Permalink
version: 0.1.9 (#323)
Browse files Browse the repository at this point in the history
fix: ci bump to py3.12 and pyproject bump to 3.9
fix: docs force push to gh pages
  • Loading branch information
yaleman authored Jan 25, 2025
1 parent 562581b commit a546d04
Show file tree
Hide file tree
Showing 7 changed files with 306 additions and 296 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- name: Running mkdocs
run: |
python -m pip install --quiet --no-cache-dir --upgrade poetry
poetry install
poetry run mkdocs gh-deploy -m 'Commit {sha} MkDocs {version}'
poetry run mkdocs gh-deploy -m 'Commit {sha} MkDocs {version}' --force
4 changes: 2 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
- name: Running mypy
run: |
echo 'args = {}' > config.py
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
- name: Running tests
run: |
python -m pip install --quiet --no-cache-dir --upgrade poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
- name: Running pytest
run: |
python --version
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ venv/
.env
build/
.coverage

# docs
site/
570 changes: 287 additions & 283 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[tool.poetry]
name = "pygoodwe"
version = "0.1.8"
version = "0.1.9"
description = "A command line tool and python library to query the GOODWE SEMS Portal APIs."
authors = ["James Hodgkinson <[email protected]>"]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
Expand Down Expand Up @@ -36,7 +40,7 @@ validate-pyproject = ">=0.16,<0.24"
pytest-cov = "^5.0.0"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
requests = "^2.28.1"

[tool.pylint.MASTER]
Expand All @@ -47,7 +51,6 @@ load-plugins = "pylint_pytest"
[tool.ruff]
line-length = 150


[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit a546d04

Please sign in to comment.