Skip to content

Commit 389fa85

Browse files
Merge pull request #18 from Botts-Innovative-Research/uv-dep-manager-update
Uv dep manager update
2 parents 78bd3b4 + d68bd20 commit 389fa85

File tree

4 files changed

+660
-29
lines changed

4 files changed

+660
-29
lines changed

.github/workflows/docs_pages.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@ jobs:
1313
with:
1414
python-version: '3.12'
1515

16-
- name: Install Poetry
17-
uses: snok/install-poetry@v1
18-
1916
- name: Install dependencies
2017
run: |
21-
poetry install --with dev
18+
pip install uv
19+
uv sync --all-extras
2220
2321
- name: Sphinx build
2422
run: |
25-
poetry run sphinx-build -b html docs/source docs/build/html
23+
uv run sphinx-build -b html docs/source docs/build/html
2624
2725
- name: Deploy documentation
2826
uses: peaceiris/actions-gh-pages@v4

.github/workflows/linting.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ jobs:
99
with:
1010
python-version: '3.12'
1111

12-
- name: Install Poetry
13-
uses: snok/install-poetry@v1
14-
1512
- name: Install dependencies
1613
run: |
17-
poetry install --with dev
14+
pip install uv
15+
uv sync --all-extras
16+
1817
- name: Lint
1918
run: |
20-
poetry run flake8
19+
uv run flake8 oshconnect

pyproject.toml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
1-
[tool.poetry]
1+
[project]
22
name = "oshconnect"
3-
version = "0.2.2"
3+
version = "0.2.4"
44
description = "Library for interfacing with OSH, helping guide visualization efforts, and providing a place to store configurations."
5-
authors = ["Ian Patterson <ian@botts-inc.com@gmail.com>"]
65
readme = "README.md"
6+
authors = [
7+
{ name = "Ian Patterson", email = "ian@botts-inc.com" },
8+
]
9+
requires-python = "<4.0,>=3.12"
10+
dependencies = [
11+
"pydantic<3.0.0,>=2.7.4",
12+
"shapely<3.0.0,>=2.0.4",
13+
"websockets<13.0,>=12.0",
14+
"consys4py<1.0.0,>=0.0.1b1",
15+
"swecommondm<1.0.0,>=0.0.1a0",
16+
]
717

8-
[tool.poetry.dependencies]
9-
python = "^3.12"
10-
pydantic = "^2.7.4"
11-
shapely = "^2.0.4"
12-
websockets = "^12.0"
13-
consys4py = "^0.0.1a8"
14-
swecommondm = "^0.0.1a0"
18+
[dependency-groups]
19+
dev = [
20+
"pytest<9.0.0,>=8.2.2",
21+
"sphinx<8.0.0,>=7.3.7",
22+
"flake8<8.0.0,>=7.1.0",
23+
"sphinx-rtd-theme<3.0.0,>=2.0.0",
24+
]
1525

16-
[tool.poetry.group.dev.dependencies]
17-
pytest = "^8.2.2"
18-
sphinx = "^7.3.7"
19-
flake8 = "^7.1.0"
20-
sphinx-rtd-theme = "^2.0.0"
21-
22-
[build-system]
23-
requires = ["poetry-core"]
24-
build-backend = "poetry.core.masonry.api"
26+
[tool.setuptools]
27+
packages = ["oshconnect"]

0 commit comments

Comments
 (0)