Skip to content

Commit 6e691cb

Browse files
authored
SY-3635: Fix Python deployment (#1891)
1 parent e7f9f86 commit 6e691cb

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

.github/workflows/deploy.py.yaml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,27 +58,20 @@ jobs:
5858
- name: Publish Alamos
5959
if: steps.filter.outputs.alamos == 'true'
6060
working-directory: alamos/py
61-
run: |
62-
uv build && uv publish
61+
run: uv build
6362

6463
- name: Publish Freighter
6564
if: steps.filter.outputs.freighter == 'true'
6665
working-directory: freighter/py
67-
run: |
68-
for i in {1..10}; do
69-
uv build --no-sources && break
70-
echo "Waiting for dependencies on PyPI (attempt $i/10)..."
71-
sleep 5
72-
done
73-
uv publish
66+
run: uv build
7467

7568
- name: Publish Client
7669
if: steps.filter.outputs.client == 'true'
7770
working-directory: client/py
78-
run: |
79-
for i in {1..10}; do
80-
uv build --no-sources && break
81-
echo "Waiting for dependencies on PyPI (attempt $i/10)..."
82-
sleep 5
83-
done
84-
uv publish
71+
run: uv build
72+
73+
- name: Publish Code
74+
if:
75+
steps.filter.outputs.alamos == 'true' || steps.filter.outputs.freighter ==
76+
'true' || steps.filter.outputs.client == 'true'
77+
run: uv publish

integration/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies = [
1212
"pymodbus>=3.11.4",
1313
"asyncua>=1.1.8",
1414
]
15+
classifiers = ["Private :: Do Not Upload"]
1516

1617
[project.scripts]
1718
test-conductor = "framework.test_conductor:main"

0 commit comments

Comments
 (0)