Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
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
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
python-version: "3.10"
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"
poetry-version: "2.0.1"
- name: Install package dependencies.
run: poetry install
- name: Run mypy.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"
poetry-version: "2.0.1"

- name: Formatting and validating
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python-version: "3.10"
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"
poetry-version: "2.0.1"
- name: generate release tag
run: |
cd ${{ matrix.package }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: "3.10"
- uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.2"
poetry-version: "2.0.1"
- name: Package naming
run: |
echo "PACKAGE_NAME=$(poetry version --no-interaction | cut -d ' ' -f 1)" >> "$GITHUB_ENV"
Expand Down
5 changes: 4 additions & 1 deletion blueprints-provider/python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# 0.0.1
- Init
- Init

# 1.0.0
- Update pyproject.toml for Poetry 2.0, adopting PEP 621 standards
2 changes: 1 addition & 1 deletion blueprints-provider/python/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

| Docker Image Tag | Python Library Version |
|------------------|------------------------|
| 0.0.1 | 0.0.1 |
| latest | 1.0.0 |
21 changes: 19 additions & 2 deletions blueprints-provider/python/poetry.lock

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

34 changes: 19 additions & 15 deletions blueprints-provider/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
[project]
name = "frinx-blueprints-provider-api"
version = "1.0.0"
description = "Frinx Blueprints Provider graphql schema transformed to pydantic basemodels"
authors = [
{name = "Marek Pastorek",email = "marek.pastorek@elisapolystar.com>"}
]
readme = "README.md"
keywords = ["blueprints-provider", "api"]
license = {text = "Apache-2.0"}

[project.urls]
Homepage = 'https://github.com/FRINXio/frinx-python-sdk'
Source = 'https://github.com/FRINXio/frinx-python-sdk'

[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
packages = [{ include = "frinx_api" }]

[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2"
Expand All @@ -12,20 +30,6 @@ ruff = "^0.0.263"
mypy = "1.3.0"
pyright = "^1.1.317"

[tool.poetry]
packages = [{ include = "frinx_api" }]
name = "frinx-blueprints-provider-api"
description = "Frinx Blueprints Provider graphql schema transformed to pydantic basemodels"
authors = ["Marek Pastorek <marek.pastorek@elisapolystar.com>"]
version = "0.0.1"
readme = ["README.md", "CHANGELOG.md", "RELEASE.md"]
keywords = ["blueprints-provider", "api"]
license = "Apache 2.0"

[project.urls]
Homepage = 'https://github.com/FRINXio/frinx-python-sdk'
Source = 'https://github.com/FRINXio/frinx-python-sdk'

[tool.pyright]
include = ['frinx_api']
reportGeneralTypeIssues = "none"
Expand Down
3 changes: 3 additions & 0 deletions frinx-inventory-server/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

# 3.0.0
- Updated API from device-inventory v7.0.0 GraphQL schema.

# 4.0.0
- Update pyproject.toml for Poetry 2.0, adopting PEP 621 standards
13 changes: 7 additions & 6 deletions frinx-inventory-server/python/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

| Docker Image Tag | Python Library Version |
|------------------|------------------------|
| 1.9.3 | 0.0.1, 0.1.0, 1.0.0 |
| 6.0.0 | 2.0.0 |
| 6.1.0 | 2.1.0, 2.1.1 |
| 6.1.1 | 2.2.0 |
| 6.9.0-internal | 2.3.0 |
| 7.0.0 | 3.0.0 |
| 1.9.3 | 0.0.1, 0.1.0, 1.0.0 |
| 6.0.0 | 2.0.0 |
| 6.1.0 | 2.1.0, 2.1.1 |
| 6.1.1 | 2.2.0 |
| 6.9.0-internal | 2.3.0 |
| 7.0.0 | 3.0.0 |
| 7.0.1 | 4.0.0 |
Loading
Loading