auditwheel-emscripten 0.0.13__tar.gz → 0.0.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- auditwheel_emscripten-0.0.15/.github/workflows/deploy.yml +50 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/.pre-commit-config.yaml +8 -8
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/CHANGELOG.md +21 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/PKG-INFO +6 -10
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/README.md +4 -8
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/cli/main.py +7 -11
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/repair.py +2 -5
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/wheel_utils.py +1 -1
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_repair.py +1 -1
- auditwheel_emscripten-0.0.15/test/test_wheel_utils.py +16 -0
- auditwheel_emscripten-0.0.13/.github/workflows/deploy.yml +0 -32
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/.flake8 +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/.github/workflows/test.yml +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/.gitignore +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/LICENSE +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/__init__.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/cli/__init__.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/emscripten_tools/__init__.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/emscripten_tools/diagnostics.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/emscripten_tools/utils.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/emscripten_tools/webassembly.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/exports.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/function_type.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/imports.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/lib_utils.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/module.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/py.typed +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/show.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/wasm_utils.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/pyproject.toml +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/paths.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/elf +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/galpy-1.8.0-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libcrypto.so +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos.so +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos.so.3.10.3 +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos_c.so +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos_c.so.1 +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos_c.so.1.16.1 +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos_c.wasm +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libssl.so +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/numpy-1.22.4-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_exports.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_function_type.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_imports.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_show.py +0 -0
- {auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_utils.py +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: deploy
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: main-${{ github.head_ref || github.run_id }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
build:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v3
|
|
19
|
+
|
|
20
|
+
- uses: actions/setup-python@v3
|
|
21
|
+
|
|
22
|
+
- name: Install requirements and build wheel
|
|
23
|
+
shell: bash -l {0}
|
|
24
|
+
run: |
|
|
25
|
+
python -m pip install build
|
|
26
|
+
python -m build .
|
|
27
|
+
- name: Store the distribution packages
|
|
28
|
+
uses: actions/upload-artifact@v3
|
|
29
|
+
with:
|
|
30
|
+
name: python-package-distributions
|
|
31
|
+
path: dist/
|
|
32
|
+
publish-to-pypi:
|
|
33
|
+
name: >-
|
|
34
|
+
Publish Python 🐍 distribution 📦 to PyPI
|
|
35
|
+
needs:
|
|
36
|
+
- build
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
environment:
|
|
39
|
+
name: pypi
|
|
40
|
+
url: https://pypi.org/p/auditwheel-emscripten
|
|
41
|
+
permissions:
|
|
42
|
+
id-token: write # IMPORTANT: mandatory for trusted publishing
|
|
43
|
+
steps:
|
|
44
|
+
- name: Download all the dists
|
|
45
|
+
uses: actions/download-artifact@v3
|
|
46
|
+
with:
|
|
47
|
+
name: python-package-distributions
|
|
48
|
+
path: dist/
|
|
49
|
+
- name: Publish distribution 📦 to PyPI
|
|
50
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -3,7 +3,7 @@ default_language_version:
|
|
|
3
3
|
python: "3.11"
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
-
rev: "v4.
|
|
6
|
+
rev: "v4.6.0"
|
|
7
7
|
hooks:
|
|
8
8
|
- id: check-case-conflict
|
|
9
9
|
- id: check-merge-conflict
|
|
@@ -16,42 +16,42 @@ repos:
|
|
|
16
16
|
- id: trailing-whitespace
|
|
17
17
|
|
|
18
18
|
- repo: https://github.com/asottile/pyupgrade
|
|
19
|
-
rev: "v3.
|
|
19
|
+
rev: "v3.16.0"
|
|
20
20
|
hooks:
|
|
21
21
|
- id: pyupgrade
|
|
22
22
|
args: ["--py310-plus"]
|
|
23
23
|
|
|
24
24
|
- repo: https://github.com/hadialqattan/pycln
|
|
25
|
-
rev: "v2.
|
|
25
|
+
rev: "v2.4.0"
|
|
26
26
|
hooks:
|
|
27
27
|
- id: pycln
|
|
28
28
|
args: [--config=pyproject.toml]
|
|
29
29
|
stages: [manual]
|
|
30
30
|
|
|
31
31
|
- repo: https://github.com/psf/black
|
|
32
|
-
rev: "
|
|
32
|
+
rev: "24.4.2"
|
|
33
33
|
hooks:
|
|
34
34
|
- id: black
|
|
35
35
|
|
|
36
36
|
- repo: https://github.com/pycqa/flake8
|
|
37
|
-
rev: "
|
|
37
|
+
rev: "7.0.0"
|
|
38
38
|
hooks:
|
|
39
39
|
- id: flake8
|
|
40
40
|
additional_dependencies: [flake8-bugbear]
|
|
41
41
|
|
|
42
42
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
43
|
-
rev: "v1.
|
|
43
|
+
rev: "v1.10.0"
|
|
44
44
|
hooks:
|
|
45
45
|
- id: mypy
|
|
46
46
|
exclude: auditwheel_emscripten/emscripten_tools
|
|
47
47
|
|
|
48
48
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
49
|
-
rev: "v0.
|
|
49
|
+
rev: "v0.10.0.1"
|
|
50
50
|
hooks:
|
|
51
51
|
- id: shellcheck
|
|
52
52
|
|
|
53
53
|
- repo: https://github.com/codespell-project/codespell
|
|
54
|
-
rev: "v2.
|
|
54
|
+
rev: "v2.3.0"
|
|
55
55
|
hooks:
|
|
56
56
|
- id: codespell
|
|
57
57
|
args: ["-L", "te,slowy,aray,ba,nd,classs,crate,feld,lits"]
|
|
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
|
+
## [0.0.15] - 2024-06-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Support Pyodide>=0.26.0 wheels that has "pyodide" platform tag.
|
|
15
|
+
([#31](https://github.com/ryanking13/auditwheel-emscripten/pull/31))
|
|
16
|
+
|
|
17
|
+
## [0.0.14] - 2023-12-23
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Changed the behavior of the `repair` command. It does not update `needed` section anymore
|
|
22
|
+
and only copies the shared libraries to the wheel.
|
|
23
|
+
Also, `copy` command is deprecated in favor of `repair`.
|
|
24
|
+
([#25](https://github.com/ryanking13/auditwheel-emscripten/pull/25))
|
|
25
|
+
|
|
26
|
+
## [0.0.13] - 2023.06.08
|
|
27
|
+
|
|
28
|
+
- Added py.typed file.
|
|
29
|
+
([#16](https://github.com/ryanking13/auditwheel-emscripten/pull/16))
|
|
30
|
+
|
|
10
31
|
## [0.0.12] - 2023.02.13
|
|
11
32
|
|
|
12
33
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: auditwheel_emscripten
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.15
|
|
4
4
|
Summary: auditwheel-like tool for Pyodide
|
|
5
5
|
Project-URL: Home, https://github.com/ryanking13/auditwheel-emscripten
|
|
6
6
|
Author-email: Gyeongjae Choi <def6488@gmail.com>
|
|
@@ -407,7 +407,7 @@ auditwheel-emscripten is a tiny tool to facilitate the creation of Python wheel
|
|
|
407
407
|
Python-in-the-browser using Emscripten.
|
|
408
408
|
|
|
409
409
|
- `pyodide auditwheel show`: shows external shared libraries that the wheel depends on.
|
|
410
|
-
- `pyodide auditwheel
|
|
410
|
+
- `pyodide auditwheel repair`: copies these external shared libraries into the wheel itself.
|
|
411
411
|
|
|
412
412
|
## Usage (CLI)
|
|
413
413
|
|
|
@@ -420,10 +420,10 @@ Python-in-the-browser using Emscripten.
|
|
|
420
420
|
│ --help Show this message and exit. │
|
|
421
421
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
422
422
|
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
423
|
-
│ copy Copy shared libraries to the wheel directory.
|
|
423
|
+
│ copy [Deprecated] Copy shared libraries to the wheel directory. Works same as repair. Use repair instead. │
|
|
424
424
|
│ exports Show exports of a wheel or a shared library file. │
|
|
425
425
|
│ imports Show imports of a wheel or a shared library file. │
|
|
426
|
-
│ repair
|
|
426
|
+
│ repair Repair a wheel file: copy shared libraries to the wheel directory. │
|
|
427
427
|
│ show Show shared library dependencies of a wheel or a shared library file. │
|
|
428
428
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
429
429
|
```
|
|
@@ -440,7 +440,7 @@ The following external shared libraries are required:
|
|
|
440
440
|
```
|
|
441
441
|
|
|
442
442
|
```sh
|
|
443
|
-
$ pyodide auditwheel
|
|
443
|
+
$ pyodide auditwheel repair --libdir <directory which contains libgeos_c.so> Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl
|
|
444
444
|
|
|
445
445
|
Repaired wheel has following external shared libraries:
|
|
446
446
|
{
|
|
@@ -471,10 +471,6 @@ repaired_wheel = repair(
|
|
|
471
471
|
"Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl",
|
|
472
472
|
libdir="/path/where/shared/libraries/are/located",
|
|
473
473
|
outdir="/path/to/output/directory",
|
|
474
|
-
# If set this to true, modify the needed section of WASM module.
|
|
475
|
-
# Note that is not compatible with WebAssembly dynamic linking ABI.
|
|
476
|
-
# https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
|
|
477
|
-
modify_needed_section=False,
|
|
478
474
|
)
|
|
479
475
|
libs = show(repaired_wheel)
|
|
480
476
|
print(libs)
|
|
@@ -17,7 +17,7 @@ auditwheel-emscripten is a tiny tool to facilitate the creation of Python wheel
|
|
|
17
17
|
Python-in-the-browser using Emscripten.
|
|
18
18
|
|
|
19
19
|
- `pyodide auditwheel show`: shows external shared libraries that the wheel depends on.
|
|
20
|
-
- `pyodide auditwheel
|
|
20
|
+
- `pyodide auditwheel repair`: copies these external shared libraries into the wheel itself.
|
|
21
21
|
|
|
22
22
|
## Usage (CLI)
|
|
23
23
|
|
|
@@ -30,10 +30,10 @@ Python-in-the-browser using Emscripten.
|
|
|
30
30
|
│ --help Show this message and exit. │
|
|
31
31
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
32
32
|
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
33
|
-
│ copy Copy shared libraries to the wheel directory.
|
|
33
|
+
│ copy [Deprecated] Copy shared libraries to the wheel directory. Works same as repair. Use repair instead. │
|
|
34
34
|
│ exports Show exports of a wheel or a shared library file. │
|
|
35
35
|
│ imports Show imports of a wheel or a shared library file. │
|
|
36
|
-
│ repair
|
|
36
|
+
│ repair Repair a wheel file: copy shared libraries to the wheel directory. │
|
|
37
37
|
│ show Show shared library dependencies of a wheel or a shared library file. │
|
|
38
38
|
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
39
39
|
```
|
|
@@ -50,7 +50,7 @@ The following external shared libraries are required:
|
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
|
-
$ pyodide auditwheel
|
|
53
|
+
$ pyodide auditwheel repair --libdir <directory which contains libgeos_c.so> Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl
|
|
54
54
|
|
|
55
55
|
Repaired wheel has following external shared libraries:
|
|
56
56
|
{
|
|
@@ -81,10 +81,6 @@ repaired_wheel = repair(
|
|
|
81
81
|
"Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl",
|
|
82
82
|
libdir="/path/where/shared/libraries/are/located",
|
|
83
83
|
outdir="/path/to/output/directory",
|
|
84
|
-
# If set this to true, modify the needed section of WASM module.
|
|
85
|
-
# Note that is not compatible with WebAssembly dynamic linking ABI.
|
|
86
|
-
# https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
|
|
87
|
-
modify_needed_section=False,
|
|
88
84
|
)
|
|
89
85
|
libs = show(repaired_wheel)
|
|
90
86
|
print(libs)
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/cli/main.py
RENAMED
|
@@ -43,11 +43,14 @@ def _repair(
|
|
|
43
43
|
),
|
|
44
44
|
):
|
|
45
45
|
"""
|
|
46
|
-
|
|
46
|
+
Repair a wheel file: copy shared libraries to the wheel directory.
|
|
47
47
|
"""
|
|
48
48
|
try:
|
|
49
49
|
repaired_wheel = repair(
|
|
50
|
-
wheel_file,
|
|
50
|
+
wheel_file,
|
|
51
|
+
libdir,
|
|
52
|
+
output_dir,
|
|
53
|
+
modify_needed_section=False,
|
|
51
54
|
)
|
|
52
55
|
dependencies = show(repaired_wheel)
|
|
53
56
|
pprint(dependencies)
|
|
@@ -68,16 +71,9 @@ def _copy(
|
|
|
68
71
|
),
|
|
69
72
|
):
|
|
70
73
|
"""
|
|
71
|
-
Copy shared libraries to the wheel directory.
|
|
74
|
+
[Deprecated] Copy shared libraries to the wheel directory. Works same as `repair`. Use `repair` instead.
|
|
72
75
|
"""
|
|
73
|
-
|
|
74
|
-
repaired_wheel = repair(
|
|
75
|
-
wheel_file, libdir, output_dir, modify_needed_section=False
|
|
76
|
-
)
|
|
77
|
-
dependencies = show(repaired_wheel)
|
|
78
|
-
pprint(dependencies)
|
|
79
|
-
except RuntimeError as e:
|
|
80
|
-
raise e
|
|
76
|
+
return _repair(wheel_file, libdir, output_dir)
|
|
81
77
|
|
|
82
78
|
|
|
83
79
|
@app.command("exports")
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/repair.py
RENAMED
|
@@ -80,7 +80,7 @@ def repair(
|
|
|
80
80
|
libdir: str | Path,
|
|
81
81
|
outdir: str | Path | None,
|
|
82
82
|
lib_sdir: str = ".libs",
|
|
83
|
-
modify_needed_section: bool = False,
|
|
83
|
+
modify_needed_section: bool = False, # Deprecated
|
|
84
84
|
) -> Path:
|
|
85
85
|
file = Path(wheel_file)
|
|
86
86
|
if not file.exists():
|
|
@@ -100,10 +100,7 @@ def repair(
|
|
|
100
100
|
tmpdir = Path(tmpdirname)
|
|
101
101
|
|
|
102
102
|
extract_dir = unpack(str(wheel_file), str(tmpdir))
|
|
103
|
-
|
|
104
|
-
repair_extracted(extract_dir, dep_map, lib_sdir)
|
|
105
|
-
else:
|
|
106
|
-
copylib(extract_dir, dep_map, lib_sdir)
|
|
103
|
+
copylib(extract_dir, dep_map, lib_sdir)
|
|
107
104
|
pack(str(extract_dir), str(outdir), None)
|
|
108
105
|
|
|
109
106
|
return outdir / file.name
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/wheel_utils.py
RENAMED
|
@@ -36,7 +36,7 @@ def is_emscripten_wheel(filename: str) -> bool:
|
|
|
36
36
|
_, _, _, tags = parse_wheel_filename(filename)
|
|
37
37
|
tag = list(tags)[0]
|
|
38
38
|
platform = tag.platform
|
|
39
|
-
return platform.startswith("emscripten")
|
|
39
|
+
return platform.startswith(("emscripten", "pyodide"))
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
def parse_wheel_extract_dir(wheel_file: str | Path) -> str:
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from auditwheel_emscripten.wheel_utils import is_emscripten_wheel
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@pytest.mark.parametrize(
|
|
7
|
+
"wheel_name, expected",
|
|
8
|
+
[
|
|
9
|
+
("foo-1.0-cp38-cp38-linux_x86_64.whl", False),
|
|
10
|
+
("foo-1.0-py3-none-any.whl", False),
|
|
11
|
+
("foo-1.0-cp312-cp312-pyodide_2024_0_wasm32.whl", True),
|
|
12
|
+
("foo-1.0-cp312-cp312-emscripten_3_1_52_wasm32.whl", True),
|
|
13
|
+
],
|
|
14
|
+
)
|
|
15
|
+
def test_is_emscripten_wheel(wheel_name, expected):
|
|
16
|
+
assert is_emscripten_wheel(wheel_name) == expected
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: deploy
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
|
|
6
|
-
permissions:
|
|
7
|
-
contents: read
|
|
8
|
-
|
|
9
|
-
concurrency:
|
|
10
|
-
group: main-${{ github.head_ref || github.run_id }}
|
|
11
|
-
cancel-in-progress: true
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
deploy:
|
|
15
|
-
runs-on: ubuntu-latest
|
|
16
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
|
17
|
-
environment: PyPi-deploy
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@v3
|
|
20
|
-
|
|
21
|
-
- uses: actions/setup-python@v3
|
|
22
|
-
|
|
23
|
-
- name: Install requirements and build wheel
|
|
24
|
-
shell: bash -l {0}
|
|
25
|
-
run: |
|
|
26
|
-
python -m pip install build twine
|
|
27
|
-
python -m build .
|
|
28
|
-
- name: Publish package
|
|
29
|
-
uses: pypa/gh-action-pypi-publish@release/v1
|
|
30
|
-
with:
|
|
31
|
-
user: __token__
|
|
32
|
-
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/__init__.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/cli/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/exports.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/function_type.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/imports.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/lib_utils.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/module.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/auditwheel_emscripten/wasm_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos.so.3.10.3
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.13 → auditwheel_emscripten-0.0.15}/test/test_data/libgeos_c.so.1.16.1
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|