diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 090fb71b..55518001 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -50,7 +50,7 @@ jobs: ${{ runner.os }}- - name: NPM Install - run: npm install && npx playwright install + run: npm install && npx playwright install chromium - name: Build run: npm run build diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 86bcd54e..cd0b01d3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -52,7 +52,7 @@ jobs: ${{ runner.os }}- - name: npm install - run: npm install && npx playwright install + run: npm install && npx playwright install chromium - name: build run: npm run build diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 15238ac8..b8fbf2c8 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -56,7 +56,7 @@ jobs: ${{ runner.os }}- - name: Install Dependencies - run: npm install && npx playwright install + run: npm install && npx playwright install chromium - name: Build Pyscript.core run: npm run build diff --git a/.github/workflows/publish-unstable.yml b/.github/workflows/publish-unstable.yml index e2a6f0cf..dc35badc 100644 --- a/.github/workflows/publish-unstable.yml +++ b/.github/workflows/publish-unstable.yml @@ -57,7 +57,7 @@ jobs: ${{ runner.os }}- - name: NPM Install - run: npm install && npx playwright install + run: npm install && npx playwright install chromium - name: Build run: npm run build diff --git a/Makefile b/Makefile index 3124d6ff..1c77d31f 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,6 @@ ifeq ($(VIRTUAL_ENV),) false else python -m pip install -r requirements.txt - playwright install endif # Clean up generated assets. @@ -56,7 +55,7 @@ clean: # Build PyScript. 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). precommit-check: diff --git a/pyscript.core/package-lock.json b/pyscript.core/package-lock.json index 049ddecb..cae9cff4 100644 --- a/pyscript.core/package-lock.json +++ b/pyscript.core/package-lock.json @@ -1,18 +1,18 @@ { "name": "@pyscript/core", - "version": "0.5.12", + "version": "0.5.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pyscript/core", - "version": "0.5.12", + "version": "0.5.14", "license": "APACHE-2.0", "dependencies": { "@ungap/with-resolvers": "^0.1.0", "@webreflection/idb-map": "^0.3.1", "basic-devtools": "^0.1.6", - "polyscript": "^0.15.8", + "polyscript": "^0.15.10", "sabayon": "^0.5.2", "sticky-module": "^0.1.1", "to-json-callback": "^0.1.1", @@ -23,7 +23,7 @@ "@codemirror/lang-python": "^6.1.6", "@codemirror/language": "^6.10.3", "@codemirror/state": "^6.4.1", - "@codemirror/view": "^6.33.0", + "@codemirror/view": "^6.34.0", "@playwright/test": "1.45.3", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.3.0", @@ -140,9 +140,9 @@ "license": "MIT" }, "node_modules/@codemirror/view": { - "version": "6.33.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.33.0.tgz", - "integrity": "sha512-AroaR3BvnjRW8fiZBalAaK+ZzB5usGgI014YKElYZvQdNH5ZIidHlO+cyf/2rWzyBFRkvG6VhiXeAEbC53P2YQ==", + "version": "6.34.0", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.34.0.tgz", + "integrity": "sha512-2vKJ79tOcVfgPYVJM2XjcL1BH5Bsl7/tgn9ilBj3XWeCS5kTRy/NE4FHEj4aMylOl/D3IPNsmZH0WPlB+DyIdA==", "dev": true, "license": "MIT", "dependencies": { @@ -1284,9 +1284,9 @@ } }, "node_modules/coincident": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/coincident/-/coincident-2.1.4.tgz", - "integrity": "sha512-Lpf9vpobydp290uscWrLK0HU7NSbYvkefn6CNzUSia3Uyc/WPuU2gRe2ejH1yYrYAsH9TrT2u0adojP/vlpAhQ==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/coincident/-/coincident-2.1.5.tgz", + "integrity": "sha512-BknJ6Mh9sHpuDAvfLBFeyGuAYwxga+uq0sySESVhKfsqjuWgAcCDs9jupNSwTrNu1oPxpPEc1TR9JyUXbADAog==", "license": "MIT", "dependencies": { "gc-hook": "^0.4.1", @@ -2679,9 +2679,9 @@ } }, "node_modules/polyscript": { - "version": "0.15.8", - "resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.15.8.tgz", - "integrity": "sha512-iBHcFPI2tXM7bw1gNpKZxQ+FIDzhoh/kBbwZtDnikpL6vLk45Tokj4RxaYR83UM6F7OhqoGi+60fer4LG34dCw==", + "version": "0.15.10", + "resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.15.10.tgz", + "integrity": "sha512-VkxWIOKKiooG9RMuyKsOcTllWXftC9plIcnYcY2+z7YGvGdR1/HHg806OwHzpmBQdWU+23d9nuQ2c9d5ffeZBA==", "license": "APACHE-2.0", "dependencies": { "@ungap/structured-clone": "^1.2.0", @@ -2690,7 +2690,7 @@ "@webreflection/idb-map": "^0.3.1", "basic-devtools": "^0.1.6", "codedent": "^0.1.2", - "coincident": "^2.1.4", + "coincident": "^2.1.5", "gc-hook": "^0.4.1", "html-escaper": "^3.0.3", "proxy-target": "^3.0.2", diff --git a/pyscript.core/package.json b/pyscript.core/package.json index 72c30525..8e7ee01c 100644 --- a/pyscript.core/package.json +++ b/pyscript.core/package.json @@ -1,6 +1,6 @@ { "name": "@pyscript/core", - "version": "0.5.12", + "version": "0.5.14", "type": "module", "description": "PyScript", "module": "./index.js", @@ -58,7 +58,7 @@ "@ungap/with-resolvers": "^0.1.0", "@webreflection/idb-map": "^0.3.1", "basic-devtools": "^0.1.6", - "polyscript": "^0.15.8", + "polyscript": "^0.15.10", "sabayon": "^0.5.2", "sticky-module": "^0.1.1", "to-json-callback": "^0.1.1", @@ -69,7 +69,7 @@ "@codemirror/lang-python": "^6.1.6", "@codemirror/language": "^6.10.3", "@codemirror/state": "^6.4.1", - "@codemirror/view": "^6.33.0", + "@codemirror/view": "^6.34.0", "@playwright/test": "1.45.3", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^15.3.0", diff --git a/requirements.txt b/requirements.txt index 390ddd3b..32cc7ff6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,15 +1,5 @@ black==24.4.2 isort==5.13.2 -pytest==8.2.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 setuptools==72.1.0