Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/docs_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ jobs:
with:
python-version: '3.12'

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: |
poetry install --with dev
pip install uv
uv sync --all-extras

- name: Sphinx build
run: |
poetry run sphinx-build -b html docs/source docs/build/html
uv run sphinx-build -b html docs/source docs/build/html

- name: Deploy documentation
uses: peaceiris/actions-gh-pages@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ jobs:
with:
python-version: '3.12'

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Install dependencies
run: |
poetry install --with dev
pip install uv
uv sync --all-extras

- name: Lint
run: |
poetry run flake8
uv run flake8 oshconnect
41 changes: 22 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
[tool.poetry]
[project]
name = "oshconnect"
version = "0.2.2"
version = "0.2.4"
description = "Library for interfacing with OSH, helping guide visualization efforts, and providing a place to store configurations."
authors = ["Ian Patterson <ian@botts-inc.com@gmail.com>"]
readme = "README.md"
authors = [
{ name = "Ian Patterson", email = "ian@botts-inc.com" },
]
requires-python = "<4.0,>=3.12"
dependencies = [
"pydantic<3.0.0,>=2.7.4",
"shapely<3.0.0,>=2.0.4",
"websockets<13.0,>=12.0",
"consys4py<1.0.0,>=0.0.1b1",
"swecommondm<1.0.0,>=0.0.1a0",
]

[tool.poetry.dependencies]
python = "^3.12"
pydantic = "^2.7.4"
shapely = "^2.0.4"
websockets = "^12.0"
consys4py = "^0.0.1a8"
swecommondm = "^0.0.1a0"
[dependency-groups]
dev = [
"pytest<9.0.0,>=8.2.2",
"sphinx<8.0.0,>=7.3.7",
"flake8<8.0.0,>=7.1.0",
"sphinx-rtd-theme<3.0.0,>=2.0.0",
]

[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
sphinx = "^7.3.7"
flake8 = "^7.1.0"
sphinx-rtd-theme = "^2.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools]
packages = ["oshconnect"]
Loading