Skip to content

Commit 1eecd95

Browse files
authored
Merge pull request #47 from espressif/fix/wheels_fixtures
Fixes of builds
2 parents 11bb85b + b63ad43 commit 1eecd95

File tree

6 files changed

+27
-33
lines changed

6 files changed

+27
-33
lines changed

.github/workflows/build-wheels-defined.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,9 @@ jobs:
291291
name: wheels-download-directory-linux-arm64-${{ matrix.python-version }}
292292
path: ./downloaded_wheels
293293

294-
# TODO Uncomment this when we are ready to upload the wheels
295-
# upload-python-wheels:
296-
# if: ${{ always() }}
297-
# needs: [get-supported-versions, ubuntu-latest, windows-latest, macos-latest, macos-m1, linux-armv7, linux-arm64]
298-
# name: Upload Python wheels
299-
# uses: espressif/idf-python-wheels/.github/workflows/upload-python-wheels.yml@main
300-
# secrets: inherit
294+
upload-python-wheels:
295+
if: ${{ always() }}
296+
needs: [get-supported-versions, ubuntu-latest, windows-latest, macos-latest, macos-m1, linux-armv7, linux-arm64]
297+
name: Upload Python wheels
298+
uses: espressif/idf-python-wheels/.github/workflows/upload-python-wheels.yml@main
299+
secrets: inherit

.github/workflows/create-release.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/update-python-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
python -m pip install requests python-dateutil
31+
python -m pip install requests python-dateutil colorama
3232
3333
- name: Generate supported versions
3434
id: generate

build_wheels.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ def build_wheels(requirements: set, local_links: bool = True) -> dict:
284284
f"{requirement}",
285285
"--find-links",
286286
f"{dir}",
287+
"--find-links",
288+
"https://pypi.org/simple/",
287289
"--wheel-dir",
288290
f"{dir}",
289291
f"{argument}",
@@ -308,6 +310,8 @@ def build_wheels(requirements: set, local_links: bool = True) -> dict:
308310
f"{requirement}",
309311
"--find-links",
310312
f"{dir}",
313+
"--find-links",
314+
"https://pypi.org/simple/",
311315
"--wheel-dir",
312316
f"{dir}",
313317
],

create_index_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _html_loader(path: str) -> str:
6666
for name in packages_new.keys():
6767
index.append(f' <a href="/pypi/{name}/">{name}/</a>')
6868
index_pretty.append(
69-
f' <div><a href="/pypi/{name}">{name}</a><span>Entries: {len(packages_new[name])}</span></div><br>'
69+
f' <div><a href="/pypi/{name}">{name}</a><span>Entries: {len(packages_new[name]) - 1}</span></div><br>'
7070
)
7171
index.append(HTML_FOOTER)
7272
index_pretty.append(HTML_FOOTER)

exclude_list.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,18 @@
7474

7575
# Esptool wheels many times are faulty. Mostly because it installs "esptool.py" which collides with the package name.
7676
- package_name: 'esptool'
77+
78+
# pytest-embedded-xxx is not supported by some older Pythons
79+
# https://pypi.org/project/pytest-embedded-idf/#history
80+
- package_name: 'pytest-embedded-idf'
81+
version: '>1.17.0'
82+
python: ['==3.8', '==3.9']
83+
- package_name: 'pytest-embedded-jtag'
84+
version: '>1.17.0'
85+
python: ['==3.8', '==3.9']
86+
- package_name: 'pytest-embedded-qemu'
87+
version: '>1.17.0'
88+
python: ['==3.8', '==3.9']
89+
- package_name: 'pytest-embedded-serial-esp'
90+
version: '>1.17.0'
91+
python: ['==3.8', '==3.9']

0 commit comments

Comments
 (0)