auditwheel-emscripten 0.0.14__tar.gz → 0.0.16__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.16/.github/workflows/deploy.yml +50 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/.pre-commit-config.yaml +7 -7
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/CHANGELOG.md +14 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/PKG-INFO +3 -3
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/wheel_utils.py +1 -1
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/pyproject.toml +1 -1
- auditwheel_emscripten-0.0.16/test/test_wheel_utils.py +16 -0
- auditwheel_emscripten-0.0.14/.github/workflows/deploy.yml +0 -32
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/.flake8 +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/.github/workflows/test.yml +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/.gitignore +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/LICENSE +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/README.md +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/__init__.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/cli/__init__.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/cli/main.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/emscripten_tools/__init__.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/emscripten_tools/diagnostics.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/emscripten_tools/utils.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/emscripten_tools/webassembly.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/exports.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/function_type.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/imports.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/lib_utils.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/module.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/py.typed +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/repair.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/show.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/wasm_utils.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/paths.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/Shapely-1.8.2-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/elf +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/galpy-1.8.0-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libcrypto.so +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos.so +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos.so.3.10.3 +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos_c.so +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos_c.so.1 +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos_c.so.1.16.1 +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos_c.wasm +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libssl.so +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/numpy-1.22.4-cp310-cp310-emscripten_3_1_14_wasm32.whl +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_exports.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_function_type.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_imports.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_repair.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_show.py +0 -0
- {auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/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,7 +16,7 @@ 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"]
|
|
@@ -29,29 +29,29 @@ repos:
|
|
|
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,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## Unreleased
|
|
9
9
|
|
|
10
|
+
## [0.0.16] - 2024-07-05
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fixed incorrect extra dependency for typer
|
|
15
|
+
([#32](https://github.com/ryanking13/auditwheel-emscripten/pull/32))
|
|
16
|
+
|
|
17
|
+
## [0.0.15] - 2024-06-17
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Support Pyodide>=0.26.0 wheels that has "pyodide" platform tag.
|
|
22
|
+
([#31](https://github.com/ryanking13/auditwheel-emscripten/pull/31))
|
|
23
|
+
|
|
10
24
|
## [0.0.14] - 2023-12-23
|
|
11
25
|
|
|
12
26
|
### Changed
|
|
@@ -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.16
|
|
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>
|
|
@@ -382,7 +382,7 @@ Requires-Python: >=3.10
|
|
|
382
382
|
Requires-Dist: leb128
|
|
383
383
|
Requires-Dist: packaging
|
|
384
384
|
Requires-Dist: pyodide-cli
|
|
385
|
-
Requires-Dist: typer
|
|
385
|
+
Requires-Dist: typer
|
|
386
386
|
Requires-Dist: wheel
|
|
387
387
|
Provides-Extra: test
|
|
388
388
|
Requires-Dist: pytest; extra == 'test'
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/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
|
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/__init__.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/cli/__init__.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/cli/main.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/exports.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/function_type.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/imports.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/lib_utils.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/module.py
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/py.typed
RENAMED
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/auditwheel_emscripten/repair.py
RENAMED
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/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
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/test/test_data/libgeos.so.3.10.3
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auditwheel_emscripten-0.0.14 → auditwheel_emscripten-0.0.16}/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
|
|
File without changes
|