Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 48202fd

Browse files
Martin RevajJozefiel
authored andcommitted
change ssh to https in poetry git dependencies
1 parent df22f0a commit 48202fd

File tree

20 files changed

+60
-72
lines changed

20 files changed

+60
-72
lines changed

.github/workflows/pr_check.yaml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ on:
99
jobs:
1010
codespell:
1111
name: Check spelling issues in repository.
12-
1312
runs-on: ubuntu-latest
1413
timeout-minutes: 5
14+
1515
steps:
1616
- uses: actions/checkout@v3
17-
1817
- uses: codespell-project/actions-codespell@master
1918
with:
2019
ignore_words_file: .github/.codespellignore
@@ -23,11 +22,12 @@ jobs:
2322

2423
changes:
2524
name: Catch sub-repository with changes.
26-
2725
runs-on: ubuntu-latest
2826
timeout-minutes: 5
27+
2928
outputs:
3029
python-workers: ${{ steps.python.outputs.changes }}
30+
3131
steps:
3232
- uses: actions/checkout@v3
3333
- uses: dorny/paths-filter@v2
@@ -50,23 +50,22 @@ jobs:
5050
- 'topology-discovery/python/**'
5151
uniconfig/python:
5252
- 'uniconfig/python/**'
53-
54-
- name: Echoes changes.
55-
run: |
56-
echo "------------------------------------------------------------------------"
57-
echo "Caught changes in:" ${{ steps.python.outputs.changes }}
58-
echo "------------------------------------------------------------------------"
5953
6054
tests:
6155
name: Code testing in parallel.
56+
runs-on: ubuntu-latest
57+
timeout-minutes: 5
6258

6359
needs: changes
6460
if: ${{ needs.changes.outputs.python-workers != '[]' && needs.changes.outputs.python-workers != '' }}
6561
strategy:
6662
fail-fast: false
6763
matrix:
6864
directories: ${{ fromJSON(needs.changes.outputs.python-workers) }}
69-
runs-on: ubuntu-latest
65+
defaults:
66+
run:
67+
working-directory: ${{ matrix.directories }}
68+
7069
steps:
7170
- uses: actions/checkout@v3
7271
- uses: actions/setup-python@v4
@@ -75,23 +74,15 @@ jobs:
7574
- uses: abatilo/actions-poetry@v2
7675
with:
7776
poetry-version: "1.4.2"
78-
7977
- name: Install package dependencies.
8078
run: |
81-
poetry install --verbose
82-
working-directory: ${{ matrix.directories }}
83-
79+
poetry install
8480
- name: Run mypy.
8581
run: |
8682
poetry run mypy .
87-
working-directory: ${{ matrix.directories }}
88-
8983
- name: Run ruff.
9084
run: |
9185
poetry run ruff .
92-
working-directory: ${{ matrix.directories }}
93-
9486
- name: Run pyright.
9587
run: |
9688
poetry run pyright .
97-
working-directory: ${{ matrix.directories }}
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
# test pr_check
2-
def foo() -> str:
3-
return 'baz'

inventory/python/poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inventory/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry.dependencies]
66
python = "^3.10"
77
pydantic = "^1.10.7"
8-
frinx-inventory-api = {git = "ssh://git@github.com/FRINXio/frinx-services-python-api.git", rev = "v0.0.3", subdirectory = "inventory/python"}
9-
frinx-python-sdk = {git = "ssh://git@github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
8+
frinx-python-sdk = {git = "https://github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
9+
frinx-inventory-api = {git = "https://github.com/FRINXio/frinx-services-python-api.git", rev = "v0.0.3", subdirectory = "inventory/python"}
1010

1111
[tool.poetry.group.dev.dependencies]
1212
ruff = "^0.0.263"

misc/python/conductor-system-test/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/python/conductor-system-test/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry.dependencies]
66
python = "^3.10"
77
pydantic = "^1.10.7"
8-
frinx-python-sdk = {git = "ssh://git@github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
8+
frinx-python-sdk = {git = "https://github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
99

1010
[tool.poetry.group.dev.dependencies]
1111
ruff = "^0.0.263"

misc/python/http/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/python/http/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry.dependencies]
66
python = "^3.10"
77
pydantic = "^1.10.7"
8-
frinx-python-sdk = {git = "ssh://git@github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
8+
frinx-python-sdk = {git = "https://github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
99

1010
[tool.poetry.group.dev.dependencies]
1111
ruff = "^0.0.263"

misc/python/influxdb/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

misc/python/influxdb/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ build-backend = "poetry.core.masonry.api"
55
[tool.poetry.dependencies]
66
python = "^3.10"
77
pydantic = "^1.10.7"
8-
frinx-python-sdk = {git = "https://github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
98
influxdb-client = "^1.37.0"
9+
frinx-python-sdk = {git = "https://github.com/FRINXio/frinx-python-sdk.git", rev = "main"}
1010

1111
[tool.poetry.group.dev.dependencies]
1212
ruff = "^0.0.263"

0 commit comments

Comments
 (0)