dependabot[bot] and David Lechner
c13ed37b4b
build(deps): bump pyodide from 0.22.1 to 0.23.0 ( #1649 )
...
* build(deps): bump pyodide from 0.22.1 to 0.23.0
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.22.1...0.23.0 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix breaking changes in pyodide 0.23.0
https://github.com/pyodide/pyodide/pull/3723
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2023-03-31 18:15:41 +00:00
David Lechner
d9e8a794d0
package.json: patch jsdom to get SubmitEvent
...
Backport [1] to jsdom 20.
[1]: https://github.com/jsdom/jsdom/pull/3481
2023-03-07 14:31:12 -06:00
dependabot[bot] and David Lechner
3d4fe32303
build(deps): bump pyodide from 0.21.3 to 0.22.0 ( #1420 )
...
* build(deps): bump pyodide from 0.21.3 to 0.22.0
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.21.3 to 0.22.0.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.21.3...0.22.0 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* yarn: drop pyodide patch
Fixes were merged upstream.
* webpack: drop pyodide/distuils.tar
This file is no longer distributed in the pyodide package.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Lechner <david@pybricks.com >
2023-01-04 16:45:44 +00:00
David Lechner
f944948a44
yarn: update to v3.3.0
2022-11-18 19:28:00 -06:00
4a11e72fc4
build(deps): bump jest-mock-extended from 2.0.9 to 3.0.1 ( #1148 )
...
* build(deps): bump jest-mock-extended from 2.0.9 to 3.0.1
Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended ) from 2.0.9 to 3.0.1.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases )
- [Commits](https://github.com/marchaos/jest-mock-extended/commits/3.0.1 )
---
updated-dependencies:
- dependency-name: jest-mock-extended
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
* drop jest-mock-extended patch
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-20 18:50:55 +00:00
6c373c302c
build(deps): bump pyodide from 0.21.2 to 0.21.3 ( #1144 )
...
* build(deps): bump pyodide from 0.21.2 to 0.21.3
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.21.2 to 0.21.3.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.21.2...0.21.3 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [dependabot skip] Fix yarn.lock
* update patch for pyodide 0.21.3
* make use of new pyodide version export
* fix breaking change in loadPyodide indexURL
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com >
Co-authored-by: David Lechner <david@pybricks.com >
2022-09-17 18:05:44 +00:00
David Lechner
76462a0f4a
python-worker: enable offline use
...
This makes the required changes to use Pyodide and Python packages
offline and use a fixed version of the Python packages instead of
fetching the latest from PyPI.
There were a number of issues encountered with Pyodide webpack
compatibility that were fixed using `yarn patch`:
- https://github.com/pyodide/pyodide/pull/3080
- https://github.com/pyodide/pyodide/pull/3085
- https://github.com/pyodide/pyodide/issues/3086
- https://github.com/pyodide/pyodide/issues/3087
Issue: https://github.com/pybricks/pybricks-code/issues/932
2022-09-08 13:43:00 -05:00
David Lechner
25a0ce7633
Merge remote-tracking branch 'origin/master' into dlech
2022-07-20 17:25:32 -05:00
David Lechner
25e86c2f60
ble/sagas: flatten tests
...
This removes much of the nesting in tests to make the code easier to
read. Also we can now add more coverage for all of the skipped error
paths.
2022-07-14 20:44:24 -05:00
David Lechner
b729d90907
yarn: add patch for react-dev-utils
...
https://github.com/facebook/create-react-app/pull/11878
2022-05-14 14:18:49 -05:00
David Lechner
da7e983ad2
yarn: drop navigator.locks patch
...
The fix was merged upstream.
2022-04-05 18:52:59 -05:00
David Lechner
b9dbaaa5cb
fileStorage: implement file locks
...
This breaks down reading and writing into low-level and high level sagas.
Opening now takes a lock on the file so that it can only have one writer
or have multiple readers. The low-level read and write sagas use the
file descriptor to determine if the file is still open before actually
performing the action.
Since we are using the web locks api, these locks should work across
browser tabs/windows.
The high-level read/write sagas perform the low-level open, read/write,
close operations in a single call.
The high-level delete and rename sagas are also updated to take locks
on the files while performing the respective operations and will fail
if the file is already being used somewhere else.
2022-04-04 15:24:08 -05:00
David Lechner
062968ed9d
yarn: patch mq-polyfill
...
Works around https://github.com/bigslycat/mq-polyfill/issues/7
2022-03-14 16:30:29 -05:00
David Lechner
5816ca32eb
yarn: begin migration to 3.x
...
https://yarnpkg.com/getting-started/migration#step-by-step
2022-03-14 15:04:38 -05:00