Python bindings: Port pkg_resources to importlib_resources for python < 3.9 (#2123)

* Python bindings: Port pkg_resources to importlib_resources for python < 3.9

Co-authored-by: Arusekk <floss@arusekk.pl>

* GitHub Workflow: Bump uraimo/run-on-arch-action to v3

---------

Co-authored-by: Arusekk <floss@arusekk.pl>
This commit is contained in:
@Antelox
2025-03-04 16:55:56 +01:00
committed by GitHub
parent 9da2fec784
commit f18381016f
5 changed files with 12 additions and 13 deletions

View File

@@ -288,7 +288,7 @@ jobs:
- name: '🚧 Linux ppc64le build'
if: contains(matrix.config.arch, 'ppc64le')
uses: uraimo/run-on-arch-action@v2
uses: uraimo/run-on-arch-action@v3
with:
arch: ${{ matrix.config.arch }}
distro: ${{ matrix.config.distro }}

View File

@@ -494,7 +494,7 @@ jobs:
- name: '🚧 Linux ppc64le build'
if: contains(matrix.config.arch, 'ppc64le')
uses: uraimo/run-on-arch-action@v2
uses: uraimo/run-on-arch-action@v3
with:
arch: ${{ matrix.config.arch }}
distro: ${{ matrix.config.distro }}

View File

@@ -296,11 +296,9 @@ jobs:
- name: Build SDist
run: |
cd bindings/python
python3 -m pip install -U pip build
python3 -m build --sdist
python3 -m pip install dist/*.tar.gz
cd ~
python3 -m build --sdist bindings/python
python3 -m pip install bindings/python/dist/*.tar.gz
python3 -c 'import unicorn; print(f"Unicorn version installed from sdist: {unicorn.__version__}")'
- uses: actions/upload-artifact@v4