Fix #2185 - Updated Polyscript and coincident (#2187)

This commit is contained in:
Andrea Giammarchi
2024-09-27 12:35:51 +02:00
committed by GitHub
parent f5d49ee52c
commit 957ab69c21
8 changed files with 22 additions and 33 deletions

View File

@@ -50,7 +50,7 @@ jobs:
${{ runner.os }}- ${{ runner.os }}-
- name: NPM Install - name: NPM Install
run: npm install && npx playwright install run: npm install && npx playwright install chromium
- name: Build - name: Build
run: npm run build run: npm run build

View File

@@ -52,7 +52,7 @@ jobs:
${{ runner.os }}- ${{ runner.os }}-
- name: npm install - name: npm install
run: npm install && npx playwright install run: npm install && npx playwright install chromium
- name: build - name: build
run: npm run build run: npm run build

View File

@@ -56,7 +56,7 @@ jobs:
${{ runner.os }}- ${{ runner.os }}-
- name: Install Dependencies - name: Install Dependencies
run: npm install && npx playwright install run: npm install && npx playwright install chromium
- name: Build Pyscript.core - name: Build Pyscript.core
run: npm run build run: npm run build

View File

@@ -57,7 +57,7 @@ jobs:
${{ runner.os }}- ${{ runner.os }}-
- name: NPM Install - name: NPM Install
run: npm install && npx playwright install run: npm install && npx playwright install chromium
- name: Build - name: Build
run: npm run build run: npm run build

View File

@@ -45,7 +45,6 @@ ifeq ($(VIRTUAL_ENV),)
false false
else else
python -m pip install -r requirements.txt python -m pip install -r requirements.txt
playwright install
endif endif
# Clean up generated assets. # Clean up generated assets.
@@ -56,7 +55,7 @@ clean:
# Build PyScript. # Build PyScript.
build: build:
cd pyscript.core && npx playwright install && npm run build cd pyscript.core && npx playwright install chromium && npm run build
# Run the precommit checks (run eslint). # Run the precommit checks (run eslint).
precommit-check: precommit-check:

View File

@@ -1,18 +1,18 @@
{ {
"name": "@pyscript/core", "name": "@pyscript/core",
"version": "0.5.12", "version": "0.5.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pyscript/core", "name": "@pyscript/core",
"version": "0.5.12", "version": "0.5.14",
"license": "APACHE-2.0", "license": "APACHE-2.0",
"dependencies": { "dependencies": {
"@ungap/with-resolvers": "^0.1.0", "@ungap/with-resolvers": "^0.1.0",
"@webreflection/idb-map": "^0.3.1", "@webreflection/idb-map": "^0.3.1",
"basic-devtools": "^0.1.6", "basic-devtools": "^0.1.6",
"polyscript": "^0.15.8", "polyscript": "^0.15.10",
"sabayon": "^0.5.2", "sabayon": "^0.5.2",
"sticky-module": "^0.1.1", "sticky-module": "^0.1.1",
"to-json-callback": "^0.1.1", "to-json-callback": "^0.1.1",
@@ -23,7 +23,7 @@
"@codemirror/lang-python": "^6.1.6", "@codemirror/lang-python": "^6.1.6",
"@codemirror/language": "^6.10.3", "@codemirror/language": "^6.10.3",
"@codemirror/state": "^6.4.1", "@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.33.0", "@codemirror/view": "^6.34.0",
"@playwright/test": "1.45.3", "@playwright/test": "1.45.3",
"@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-node-resolve": "^15.3.0",
@@ -140,9 +140,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@codemirror/view": { "node_modules/@codemirror/view": {
"version": "6.33.0", "version": "6.34.0",
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.33.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.34.0.tgz",
"integrity": "sha512-AroaR3BvnjRW8fiZBalAaK+ZzB5usGgI014YKElYZvQdNH5ZIidHlO+cyf/2rWzyBFRkvG6VhiXeAEbC53P2YQ==", "integrity": "sha512-2vKJ79tOcVfgPYVJM2XjcL1BH5Bsl7/tgn9ilBj3XWeCS5kTRy/NE4FHEj4aMylOl/D3IPNsmZH0WPlB+DyIdA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -1284,9 +1284,9 @@
} }
}, },
"node_modules/coincident": { "node_modules/coincident": {
"version": "2.1.4", "version": "2.1.5",
"resolved": "https://registry.npmjs.org/coincident/-/coincident-2.1.4.tgz", "resolved": "https://registry.npmjs.org/coincident/-/coincident-2.1.5.tgz",
"integrity": "sha512-Lpf9vpobydp290uscWrLK0HU7NSbYvkefn6CNzUSia3Uyc/WPuU2gRe2ejH1yYrYAsH9TrT2u0adojP/vlpAhQ==", "integrity": "sha512-BknJ6Mh9sHpuDAvfLBFeyGuAYwxga+uq0sySESVhKfsqjuWgAcCDs9jupNSwTrNu1oPxpPEc1TR9JyUXbADAog==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"gc-hook": "^0.4.1", "gc-hook": "^0.4.1",
@@ -2679,9 +2679,9 @@
} }
}, },
"node_modules/polyscript": { "node_modules/polyscript": {
"version": "0.15.8", "version": "0.15.10",
"resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.15.8.tgz", "resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.15.10.tgz",
"integrity": "sha512-iBHcFPI2tXM7bw1gNpKZxQ+FIDzhoh/kBbwZtDnikpL6vLk45Tokj4RxaYR83UM6F7OhqoGi+60fer4LG34dCw==", "integrity": "sha512-VkxWIOKKiooG9RMuyKsOcTllWXftC9plIcnYcY2+z7YGvGdR1/HHg806OwHzpmBQdWU+23d9nuQ2c9d5ffeZBA==",
"license": "APACHE-2.0", "license": "APACHE-2.0",
"dependencies": { "dependencies": {
"@ungap/structured-clone": "^1.2.0", "@ungap/structured-clone": "^1.2.0",
@@ -2690,7 +2690,7 @@
"@webreflection/idb-map": "^0.3.1", "@webreflection/idb-map": "^0.3.1",
"basic-devtools": "^0.1.6", "basic-devtools": "^0.1.6",
"codedent": "^0.1.2", "codedent": "^0.1.2",
"coincident": "^2.1.4", "coincident": "^2.1.5",
"gc-hook": "^0.4.1", "gc-hook": "^0.4.1",
"html-escaper": "^3.0.3", "html-escaper": "^3.0.3",
"proxy-target": "^3.0.2", "proxy-target": "^3.0.2",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@pyscript/core", "name": "@pyscript/core",
"version": "0.5.12", "version": "0.5.14",
"type": "module", "type": "module",
"description": "PyScript", "description": "PyScript",
"module": "./index.js", "module": "./index.js",
@@ -58,7 +58,7 @@
"@ungap/with-resolvers": "^0.1.0", "@ungap/with-resolvers": "^0.1.0",
"@webreflection/idb-map": "^0.3.1", "@webreflection/idb-map": "^0.3.1",
"basic-devtools": "^0.1.6", "basic-devtools": "^0.1.6",
"polyscript": "^0.15.8", "polyscript": "^0.15.10",
"sabayon": "^0.5.2", "sabayon": "^0.5.2",
"sticky-module": "^0.1.1", "sticky-module": "^0.1.1",
"to-json-callback": "^0.1.1", "to-json-callback": "^0.1.1",
@@ -69,7 +69,7 @@
"@codemirror/lang-python": "^6.1.6", "@codemirror/lang-python": "^6.1.6",
"@codemirror/language": "^6.10.3", "@codemirror/language": "^6.10.3",
"@codemirror/state": "^6.4.1", "@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.33.0", "@codemirror/view": "^6.34.0",
"@playwright/test": "1.45.3", "@playwright/test": "1.45.3",
"@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-node-resolve": "^15.3.0",

View File

@@ -1,15 +1,5 @@
black==24.4.2 black==24.4.2
isort==5.13.2 isort==5.13.2
pytest==8.2.1
pre-commit==3.7.1 pre-commit==3.7.1
playwright==1.44.0
pytest-playwright==0.5.0
pytest-xdist==3.6.1
pexpect==4.9.0
pyodide_py==0.24.1
micropip==0.5.0
toml==0.10.2
numpy==1.26.4
pillow==10.3.0
python-minifier==2.9.0 python-minifier==2.9.0
setuptools==72.1.0 setuptools==72.1.0