Skip to content

Commit d3224e8

Browse files
authored
Merge pull request #4 from ajeet97/main
use setuptools 65.7.0
2 parents dfb406f + 3572544 commit d3224e8

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ jobs:
140140
with:
141141
submodules: true
142142
- name: Install deps
143-
run: pip install ledgerblue
143+
# With setuptools 66, the versions of all packages visible in the Python environment must obey PEP440
144+
# And there are some packages that don't conform to PEP440 so using setuptools@65.x for now
145+
# BUG: https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/2003583
146+
run: |
147+
pip install --upgrade --user setuptools~=65.7.0
148+
pip install ledgerblue
144149
145150
- name: Build NanoS
146151
shell: bash -l {0}
@@ -151,9 +156,7 @@ jobs:
151156
152157
- name: Set tag
153158
id: nanos
154-
run: |
155-
pip install ledgerblue
156-
echo ::set-output name=tag_name::$(./app/pkg/installer_nanos.sh version)
159+
run: echo ::set-output name=tag_name::$(./app/pkg/installer_nanos.sh version)
157160
- name: Create Release
158161
id: create_release
159162
uses: softprops/action-gh-release@v1
@@ -182,7 +185,12 @@ jobs:
182185
with:
183186
submodules: true
184187
- name: Install deps
185-
run: pip install ledgerblue
188+
# With setuptools 66, the versions of all packages visible in the Python environment must obey PEP440
189+
# And there are some packages that don't conform to PEP440 so using setuptools@65.x for now
190+
# BUG: https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/2003583
191+
run: |
192+
pip install --upgrade --user setuptools~=65.7.0
193+
pip install ledgerblue
186194
187195
- name: Build NanoSP
188196
shell: bash -l {0}
@@ -193,9 +201,7 @@ jobs:
193201
194202
- name: Set tag
195203
id: nanosp
196-
run: |
197-
pip install ledgerblue
198-
echo ::set-output name=tag_name::$(./app/pkg/installer_nanos_plus.sh version)
204+
run: echo ::set-output name=tag_name::$(./app/pkg/installer_nanos_plus.sh version)
199205
- name: Update Release
200206
id: update_release
201207
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)