Skip to content

Commit

Permalink
Update version and deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Oct 4, 2023
1 parent 7050e9f commit 5a94b98
Show file tree
Hide file tree
Showing 51 changed files with 722 additions and 71 deletions.
27 changes: 4 additions & 23 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,10 @@ are at `test/PySrc/tests`, Javascript tests are at `html/src`, and Java tests
are at `pycharm/src/test`. See the `.github/workflows` folder for details on how
each set of tests gets run.

You can also run the fuzzing test like this:

$ . .tox/py311/bin/activate
(py311) $ pip install --extra-index-url https://gitlab.com/api/v4/projects/19904939/packages/pypi/simple pythonfuzz
Looking in indexes: https://pypi.org/simple, https://gitlab.com/api/v4/projects/19904939/packages/pypi/simple
[...]
Successfully installed pythonfuzz-1.0.10
(py311) $ cd test/PySrc/tests/
(py311) $ PYTHONPATH=../../../plugin/PySrc/ python fuzz.py --runs 5000 --max-input-size 100
#0 READ units: 1
#1 NEW cov: 0 corp: 1 exec/s: 39 rss: 45.2890625 MB
#2 NEW cov: 2742 corp: 2 exec/s: 195 rss: 45.58203125 MB
#27 NEW cov: 2770 corp: 3 exec/s: 224 rss: 45.9609375 MB
[...]
#4908 NEW cov: 4114 corp: 187 exec/s: 69 rss: 127.57421875 MB
#4948 NEW cov: 4117 corp: 188 exec/s: 32 rss: 128.6015625 MB
#4970 NEW cov: 4118 corp: 189 exec/s: 67 rss: 128.6015625 MB
did 5000 runs, stopping now.
(py311) $

It generates random Python source code, runs it through space tracer, then
strips off the live coding display and compares the stripped report with the
source code. Any differences trigger a failure.
See `test/PySrc/tests/live_coding_fuzzer.py` for details on how to run the
fuzzing test. It generates random Python source code, runs it through space
tracer, then strips off the live coding display and compares the stripped report
with the source code. Any differences trigger a failure.

## Adding Support For a New Editor

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/head-scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
window.liveCodingExtraFiles = "{{ page.files }}";
</script>
{% endif %}
<script defer="defer" src="{{ 'demo/static/js/main.548c9178.js' | relative_url }}"></script><link href="{{ 'demo/static/css/main.2915c2e0.css' | relative_url }}" rel="stylesheet">
<script defer="defer" src="{{ 'demo/static/js/main.e8040e10.js' | relative_url }}"></script><link href="{{ 'demo/static/css/main.2915c2e0.css' | relative_url }}" rel="stylesheet">
{% endif %}
10 changes: 5 additions & 5 deletions docs/demo/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "./static/css/main.2915c2e0.css",
"main.js": "./static/js/main.548c9178.js",
"static/js/496.67b1cb9c.chunk.js": "./static/js/496.67b1cb9c.chunk.js",
"main.js": "./static/js/main.e8040e10.js",
"static/js/496.97f6a965.chunk.js": "./static/js/496.97f6a965.chunk.js",
"index.html": "./index.html",
"main.2915c2e0.css.map": "./static/css/main.2915c2e0.css.map",
"main.548c9178.js.map": "./static/js/main.548c9178.js.map",
"496.67b1cb9c.chunk.js.map": "./static/js/496.67b1cb9c.chunk.js.map"
"main.e8040e10.js.map": "./static/js/main.e8040e10.js.map",
"496.97f6a965.chunk.js.map": "./static/js/496.97f6a965.chunk.js.map"
},
"entrypoints": [
"static/css/main.2915c2e0.css",
"static/js/main.548c9178.js"
"static/js/main.e8040e10.js"
]
}
Binary file not shown.
Binary file not shown.
Binary file modified docs/demo/pyodide/cycler-0.11.0-py3-none-any.whl
Binary file not shown.
Binary file modified docs/demo/pyodide/distutils-1.0.0.zip
Binary file not shown.
Binary file removed docs/demo/pyodide/fonttools-4.38.0-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
27 changes: 10 additions & 17 deletions docs/demo/pyodide/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pyodide",
"version": "0.22.1",
"version": "0.24.1",
"description": "The Pyodide JavaScript package",
"keywords": [
"python",
Expand All @@ -16,30 +16,23 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/assert": "^1.5.6",
"@types/emscripten": "^1.39.5",
"@types/expect": "^24.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.25",
"@types/node-fetch": "^2.6.1",
"@types/ws": "^8.5.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"dts-bundle-generator": "^6.7.0",
"error-stack-parser": "^2.1.4",
"esbuild": "^0.17.12",
"express": "^4.17.3",
"mocha": "^9.0.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"puppeteer": "^13.6.0",
"rollup": "^2.48.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^2.0.5",
"terser": "^5.7.0",
"ts-mocha": "^9.0.2",
"tsd": "^0.24.1",
"typedoc": "^0.22.15",
Expand All @@ -49,27 +42,27 @@
"exports": {
".": {
"require": "./pyodide.js",
"import": "./pyodide.mjs"
"import": "./pyodide.mjs",
"types": "./pyodide.d.ts"
},
"./pyodide.asm.wasm": "./pyodide.asm.wasm",
"./pyodide.asm.js": "./pyodide.asm.js",
"./pyodide.asm.data": "./pyodide.asm.data",
"./pyodide_py.tar": "./pyodide_py.tar",
"./python_stdlib.zip": "./python_stdlib.zip",
"./pyodide.mjs": "./pyodide.mjs",
"./pyodide.js": "./pyodide.js",
"./package.json": "./package.json",
"./repodata.json": "./repodata.json"
"./pyodide-lock.json": "./pyodide-lock.json"
},
"files": [
"pyodide.asm.js",
"pyodide.asm.wasm",
"pyodide.asm.data",
"pyodide_py.tar",
"python_stdlib.zip",
"pyodide.mjs",
"pyodide.js.map",
"pyodide.mjs.map",
"pyodide.d.ts",
"repodata.json",
"ffi.d.ts",
"pyodide-lock.json",
"console.html"
],
"browser": {
Expand All @@ -87,6 +80,7 @@
"test:unit": "cross-env TEST_NODE=1 ts-mocha -p tsconfig.test.json test/unit/**/*.test.ts",
"test:node": "cross-env TEST_NODE=1 mocha test/integration/**/*.test.js",
"test:browser": "mocha test/integration/**/*.test.js",
"tsc": "tsc --noEmit",
"coverage": "cross-env TEST_NODE=1 npm-run-all coverage:*",
"coverage:build": "nyc npm run test:node"
},
Expand Down Expand Up @@ -133,7 +127,6 @@
},
"dependencies": {
"base-64": "^1.0.0",
"node-fetch": "^2.6.1",
"ws": "^8.5.0"
},
"types": "./pyodide.d.ts"
Expand Down
Binary file removed docs/demo/pyodide/packaging-21.3-py3-none-any.whl
Binary file not shown.
Binary file added docs/demo/pyodide/packaging-23.1-py3-none-any.whl
Binary file not shown.
Loading

0 comments on commit 5a94b98

Please sign in to comment.