Commit Graph

58 Commits

Author SHA1 Message Date
Gyeongjae Choi d802fb3fdc
Remove pre-built docker image support (#3342) 2022-12-13 12:04:15 +09:00
Joe Marshall 4a1913d3ad
build packages from pypi direct (#3196)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
Co-authored-by: Gyeongjae Choi <def6488@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2022-11-17 10:05:14 +09:00
Gyeongjae Choi 5e2688b37b
Bump docker image tag (#3221) 2022-11-02 16:25:27 +09:00
Gyeongjae Choi 5e412795ed
0.21.0 (#2935) 2022-08-09 15:36:10 +02:00
Gyeongjae Choi 5935e5c7f9
Add sqlite3 binary to the docker image (#2807) 2022-06-30 13:22:03 +09:00
Jo Bovy e30df9fa9a
Fix groupadd/useradd in `run_docker` so $HOME is set correctly (#2675)
"$HOME is now just set to /. According to useradd's documentation, the flag for setting
the home directory is just --home, not --home-dir. With that, echo $HOME gives the
right result in the container."

https://github.com/pyodide/pyodide/issues/2674#issuecomment-1150182865
2022-06-08 12:24:17 -07:00
Hood Chatham d818f410c4
Use tblib to pickle errors in `run_in_pyodide` (#2619) 2022-05-27 12:28:46 -07:00
Henry Schreiner 1093b86e5b
refactor: use cmake 3.22 from pip (#2489)
* refactor: use cmake 3.22 from pip

* Fix dockerfile

* Update image tags

* Fix image

* Switch to pyodide docker image

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2022-05-04 14:22:50 -06:00
Gyeongjae Choi 6a84067819
Update docker image (#2388) 2022-04-11 11:05:32 +09:00
Hood Chatham 7a9273dd6c v0.20.0 2022-04-09 13:44:32 -07:00
Gyeongjae Choi 043dcf1763
Wait until docker container initialization in run_docker script (#2302) 2022-03-22 22:43:32 -07:00
Hood Chatham 165ad56fa2
Add user to sudoers in run_docker (#2296) 2022-03-21 10:01:58 +09:00
Hood Chatham 0e1e2ac01c
Python 3.10 (#2225) 2022-03-17 15:48:56 -07:00
Gyeongjae Choi 114c24d018
Fix word splitting on run_docker script (#2260) 2022-03-08 09:29:10 -08:00
Henry Schreiner 4f8b0a0344
chore: more pre-commit checking (#2257) 2022-03-07 21:51:20 -08:00
Gyeongjae Choi 525d1111b0
CI Improve docker tagging rules (#2168) 2022-02-14 18:34:13 +01:00
Gyeongjae Choi 950c1dcbd2
CI Update to newer docker image (#2160) 2022-02-10 09:36:18 +01:00
Hood Chatham 276d396fff
Version 0.19.0 (#2099) 2022-01-10 15:17:53 -08:00
Gyeongjae Choi 4f2a9906c4
Fix run_docker to not ignore PYODIDE_SYSTEM_PORT (#1807) 2021-08-28 09:03:24 +02:00
Hood Chatham 250c48038b
Release 0.18.0 (#1775) 2021-08-03 21:34:14 +02:00
Hood Chatham 2fde295e21
Don't bind a port in run_docker by default (#1750) 2021-07-27 00:47:11 +02:00
Hood Chatham f0bd568a31
Set up pytest node tests (#1717) 2021-07-20 10:48:27 +02:00
Devin Neal c0bec41b78
Use the PORT_CONFIGURATION_LINE in run_docker (#1723) 2021-07-18 17:49:35 -07:00
Ondřej Staněk 601e474e7d
Fix run_docker to work on Mac (#1695) [skip ci] 2021-07-09 10:41:28 -07:00
Hood Chatham 7bf1b55001
Add a --root option to run_docker to run container as root (#1686) 2021-07-05 09:42:38 -07:00
Hood Chatham 653891b045
ENH Add Ctypes support (#1656) 2021-06-26 10:34:31 +02:00
Hood Chatham b4f4bcffdc
Update to Python 3.9.5 (#1637)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-19 15:49:25 -07:00
Ondřej Staněk f9a68998e5
run_docker: option to run non-interactively (#1641)
Allows to execute `run_docker` in environments such as Github Actions.
Specifying the `--non-interactive` flag resolves the error "the input device
is not a TTY".

Co-authored-by: Ondrej Stanek <ondrej@ostan.cz>
2021-06-17 00:04:47 +02:00
Hood Chatham ab1b6c8d24
MAINT Use prettier to format javascript (#1554)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-05-01 10:17:32 -07:00
Roman Yurchak c49dd7ad5f
Version 0.17.0 (#1515) 2021-04-21 21:51:28 +02:00
Roman Yurchak 5a2f7d027f
MAINT Update to selenium 4.0.0.b3 (#1422) 2021-04-19 13:39:22 +02:00
Roman Yurchak e8ca3e2552
MAINT Update to Firefox 87 in tests (#1209) 2021-04-19 09:06:22 +02:00
Roman Yurchak f063719e98
MAINT Use Chrome 89 in tests (#1462) 2021-04-13 23:12:39 +02:00
Hood Chatham 6fb385bc8c
BLD run_docker as the host user not as root (#1429) 2021-04-04 12:19:54 -07:00
Ondřej Staněk 2c98abfd73
run_docker: Allow to run arbitrary command in docker (#1424)
Useful for unattended builds.
2021-04-03 15:20:42 -07:00
Ondřej Staněk 52045b7802
BLD Optionally disable docker port binding (#1423)
Useful for building pyodide within a docker in a multi-user environment.
2021-04-03 11:38:28 -07:00
Roman Yurchak 7df15d175e
MAINT Set shm size to 2GB in run_docker (#1401) 2021-03-31 21:53:15 +02:00
Roman Yurchak afb522ed59
Release 0.17.0a2 (#1356) 2021-03-21 19:03:09 +01:00
Hood Chatham 9baffb6b7f
Use hypothesis to test string conversions between js and python (#1339)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-03-17 10:03:42 +01:00
Dexter Chua cd198e2927
Use python:3.8.2-slim-buster Docker base image (#1095)
This doesn't come with any build dependencies by default, so this
clarifies what really is needed (and as you can see from the diff, not
much).
2021-01-10 21:14:50 +08:00
Roman Yurchak b2a2f413d8
MAINT Update pre-built docker version to 0.16.1 (#1068) 2021-01-07 20:30:42 +01:00
Dexter Chua 4ae245855d
Install uglifyjs and lessc via npm (#1002)
The installation is very fast, and this avoids having two copies of node
around. In particular, this avoids the need to monkey-patch uglify-js to
use the system node.

This can be further streamlined when #792 is merged
2021-01-01 23:43:48 +08:00
Dexter Chua 03447f9fff
Use newer docker image in run_docker (#848) 2020-12-12 11:31:53 +01:00
Dexter Chua 81df4e24a7
Simplify Docker image (#815)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-12-06 21:17:17 +01:00
abolger 137e69eb3a
Adding new flag for prebuilt docker version (#804)
Co-authored-by: Adrienne Bolger <adrienne@blochealth.com>
2020-11-21 16:57:54 +01:00
Michael Panchenko ca7f4e2e44
Docker image with prebuilt pyodide (#787) 2020-11-08 21:05:38 +01:00
Roman Yurchak 018f4a23c9
MNT Update to firefox 70.0 / geckodriver 0.26 in CI (#622) 2020-07-09 00:37:02 +02:00
Roman Yurchak fc5495ffdb
Update to Python 3.8.2 (#712)
* Updating to CPython 3.8

* More fixes

* Skip python headers check in tools/dependency-check.sh

* Fix checksum

* Fix packages

* Fix syntax error

* Fix benchmark path

* Update CPython tests

* More test fixes

* Fix PyStone

* More Cpython test fixes

* Update docs

* Fix issue in conftest

* Add documentation

* Upload updated Docker image
2020-07-07 16:21:33 +02:00
Roman Yurchak ee3e5e44c3
Update docker image to Debian buster (#660) 2020-06-06 14:18:21 +02:00
Marc Abramowitz 30b69116e0 Allow configuring run_docker ports using env vars
This allows changing various `run_docker` settings using env vars. The
primary one that I wanted was the ability to easily set the system port
used so that I could run two pyodide containers.

Before when running a second instance of `./run_docker`:

```
$ ./run_docker
docker: Error response from daemon: driver failed programming external connectivity on endpoint quirky_banach (45f5dd12606ac5d732a311ef3f3c378e359bbbd406a1c65915a300ec413eaf25): Bind for 0.0.0.0:8000 failed: port is already allocated.
```

With this PR:

```
$ PYODIDE_SYSTEM_PORT=8001 ./run_docker
root@29308e720856:/src#
```

I also broke the `docker run` command on to multiple lines (which I find
more readable; hopefully others agree) and added an `exec` to the
command, so the shell process on the host doesn't have to hang around
waiting for the container to exit.
2019-03-21 07:49:50 -07:00