Commit Graph

38 Commits

Author SHA1 Message Date
Christian Clauss b2201c19b1
Upgrade to Python v3.11.3 (#3741) 2023-04-12 17:38:05 +02:00
Christian Clauss 154fbed9fa
Upgrade to Python v3.11.2 (#3614) 2023-03-01 23:57:17 +01:00
Hood Chatham 2ab4b0ab6a
Install autoconf 2.71 in the docker image (#3515)
Upstream libffi requires autoconf 2.71, so we should use it too.
2023-01-26 19:30:13 -08:00
Hood Chatham 5e26d9f1ae
Build libpyodide.a (#3335)
This is work towards unvendoring the Pyodide foreign function interface. 

Prior to this point, we included a large amount of critical functionality with `--pre-js`.
So we could create an archive called `libpyodide.a` with the object files but to use it
you would have to pass `--pre-js _pyodide.out.js` at link time. This embeds all of this
stuff in an object file called `pyodide_pre.o` which goes in our archive so you get all
the needed js runtime by linking it. 

Of course someone trying to use this still has to get the Python code onto the import
path, either using `--preload-file`, using Python to unpack it as a zip archive as we now
do, with zipimporter, or otherwise. They also will have to link `libpython.a` (is CPython
going to start distributing an Emscripten libpython?) and probably various other things.

We have to use a hack to inject the JavaScript code into the object files. The normal
`EM_JS` macro cannot handle arbitrary JavaScript code -- for example it fails with many
regex. Instead we manually generate write a C source file that does what we need using
`xxd`. The generated C code is similar to what `EM_JS` generates, but it uses an array
initializer rather than a string initializer for the characters avoiding the C preprocessor /
compiler's strange opinions about strings.
2023-01-26 17:22:05 -08:00
Hood Chatham 3b2952fc92
Python3.11 (#3252) 2023-01-23 19:45:59 -08:00
Gyeongjae Choi fbc4762fcb
Add rust toolchain to the dockerfile (#3443) 2023-01-10 10:57:07 +09:00
Gyeongjae Choi e2a0162367
Fix chrome and chromedriver version mismatch in Docker image (#3219) 2022-11-02 13:35:31 +09:00
Hood Chatham 71115e2382
Add wabt to docker image (#3218) 2022-11-02 10:12:25 +09:00
Gyeongjae Choi 5935e5c7f9
Add sqlite3 binary to the docker image (#2807) 2022-06-30 13:22:03 +09: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
Hood Chatham 406ed9424e
Dockerfile update for Python 3.10 (#2281) 2022-03-17 10:22:24 -07:00
Gyeongjae Choi 54f6ba4d9a
Update Dockerfile to install latest browser versions (#2152)
* Update dockerfile and requirements.txt

* Temporarily use custom docker image

* Add build args for auto deployment

* Add missing build args

* Fix comment

* Temporarily disable the crashing test

* Change ARGS to ENV

* Use direct url instead of apt for chrome

* Support chrome versioning

* Update docker image

* Fix build args to env variables

* Revert to build args

* Unify version argument format

* Bring back the original CI image
2022-02-09 21:23:05 +09:00
Gyeongjae Choi 35921b7a15
Replace uglifyjs with terser (#1895) 2021-10-23 11:37:05 +02:00
Hood Chatham f0bd568a31
Set up pytest node tests (#1717) 2021-07-20 10:48:27 +02: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
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 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
Hood Chatham ea4527e2e0
Use packaging instead of distlib in micropip (#1469) 2021-04-14 20:15:31 +02:00
Roman Yurchak f063719e98
MAINT Use Chrome 89 in tests (#1462) 2021-04-13 23:12:39 +02: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
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 6b30e5c6dd
DOCK Don't install tempita (#967) 2020-12-31 11:41:41 +01:00
Roman Yurchak db9f12826f
Split build for core and packages in CI pipeline (#828) 2020-12-11 16:47:47 +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
Roman Yurchak f7adad7eb3
Upgrade to emscripten 1.38.34 with fastcomp (#480)
Co-authored-by: Dexter Chua <dec41@srcf.net>
2020-11-30 18:54:35 +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
jcaesar 9c91707994
Dockerfile: add swig, pytest-rerunfailures (#659)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-06 00:30:43 +02:00
Roman Yurchak 78bf51daac CLAPACK setup 2018-10-31 15:12:43 +01:00
Roman Yurchak c10d0b138a Address review comments and use the new iodide/pyodide-env:0.3.0 image 2018-10-15 15:28:11 +02:00
Roman Yurchak cf55eb3294 Optimize the pyodide-env docker image 2018-10-15 14:54:13 +02:00
Roman Yurchak fe7e181b83 Install libncurses6 2018-10-11 10:31:40 +02:00
Michael Droettboom 7ae58324bc Address comments in the PR 2018-10-09 10:22:25 -04:00
Michael Droettboom 4562841b61 Provide a Docker image for building 2018-10-08 15:33:33 -04:00