Commit Graph

150 Commits

Author SHA1 Message Date
Roman Yurchak 444e11f416
DOC update to sphinx book theme (#1250) 2021-02-15 08:59:38 +01:00
Roman Yurchak 0755f191b7
Deploy even with a failure of "tests packages" CI on chrome (#1216) 2021-02-08 13:51:28 +01:00
Hood Chatham 19ebad28dc
DOC Use sphinx-js for pyodide_js documentation (#1197) 2021-02-06 21:17:57 +01:00
casatir 1fa4b07809
Use rlcompleter instead of Jedi for completion in console (#1160) 2021-01-21 22:27:35 +01:00
casatir 829e2d4d1e
Completion support in InteractiveConsole (#1155) 2021-01-20 08:10:59 +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 0eaa29b3f3
Clean up workspace after core-python build (#1045)
Persisting fewer artifacts between jobs should give a slightly faster
build. This also guarantees that all we need to build packages are emsdk
and cpython/installs, which is useful for third party packages building.
2021-01-05 09:47:28 +01:00
Dexter Chua f6f5da1145
Create script to set emscripten env vars (#1013) 2021-01-03 12:25:14 +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 e205121806
Build docs in CI (#983) 2020-12-31 13:18:13 +01:00
Dexter Chua b4c71a6dd2
CI Don't block tests on lint (#963)
Lints can be fixed easily, and this exposes "real" problems sooner.
2020-12-31 11:09:58 +01:00
Dexter Chua 8b090b4f5c
Restore PYODIDE_BASE_URL (#953)
A more permanent solution ought to be found, but CircleCI does not seem
to make it easy. This would make dev builds work for now.
2020-12-26 08:01:03 +01:00
Roman Yurchak 0d10cfaded
Release 0.16.1 (#950) 2020-12-25 22:05:54 +01:00
Dexter Chua bc8d17a374
CI Fix artifact upload (#948) 2020-12-25 09:46:57 +01:00
Dexter Chua 00d4d7eb2c
Fix CircleCI config (#946)
This incorporates two changes.

1. Since chrome tests are now much less flaky, we require chrome tests
   to pass before deploying.

2. Mark all jobs (except benchmark) as filters/tags/only: /.*/ so that
   they run on releases. This was previously causing the 1.16.0 release
   to not contain package builds.
2020-12-25 09:45:54 +01:00
Roman Yurchak 47878173c1
Release v0.16.0 (#940) 2020-12-24 18:16:26 +01:00
Dexter Chua 8de2ed1202
Build C libraries via buildall.py (#927)
This addresses part of #713, by listing and building C libraries as
dependencies. This means we automatically build CLAPACK when needed, and
`lxml`'s C dependencies are not built if lxml is not. In particular,
building "core" should now be faster.

The building itself is still performed by Makefile.
2020-12-23 14:24:32 +01:00
Dexter Chua 77b2a99697
Test emsdk patches (#905) 2020-12-21 11:20:11 +08:00
Roman Yurchak 641ce219b8
Use PYODIDE_BASE_URL for the deployment location (#855) 2020-12-18 13:23:45 +01:00
Dexter Chua 0de8ddb0cf
MAINT Move all lint commands to Makefile (#879) 2020-12-17 10:54:23 +01:00
Dexter Chua 0c91434bb6
Rerun failed tests sequentially (#859) 2020-12-14 18:05:15 +01:00
Dexter Chua dd616b5265
Fix cache saving (#850) 2020-12-12 12:31:21 +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 9e050c143c
Remove clang-format symlink in config.yml (#837) 2020-12-08 09:01:58 +01:00
Dexter Chua 0defcb3825
BLD Don't compile host python (#830) 2020-12-08 00:19:16 +01:00
Dexter Chua 331756a5cd
Run tests in parallel with pytest-xdist (#833) 2020-12-07 09:19:31 +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 411a058d7b
TST Replace test CGI server with pytest-httpserver (#823) 2020-12-06 14:08:22 +01:00
Dexter Chua d67648a6b8
BLD Update package build script's default ldflags (#817) 2020-12-03 14:27:40 +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 8c22c98a43
MAINT Reorganize src/ and tests/ folders (#786) 2020-11-09 13:28:02 +01:00
Roman Yurchak ada586daa6
MAINT Update cibuilds image in CI (#784) 2020-11-01 11:24:24 +01:00
Roman Yurchak 49dc822acb
MNT Use gzip compression for package artifacts (#770) 2020-10-20 21:56:59 +02:00
Roman Yurchak a84ecd31f6
Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
Roman Yurchak a5f3a2ba07
MNT Put files in a subfolder in the release .tar.bz2 (#743) 2020-08-18 10:59:56 +02:00
Roman Yurchak 5cc20673be
MNT Add mypy setup in CI and pre-commit (#746) 2020-08-16 19:35:32 +02:00
chigozienri 9dd8c565f8
MNT Add type annotations to pyodide_build/buildpkg.py (#735)
Co-authored-by: Michael Greminger <michael.greminger@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-16 13:20:08 +02: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 bcc4f6b521
MNT Clean-up root folder (#714)
* Move six

* Move jedi and parso

* Move lz4

* Move CLAPACK

* Move zlib and libxslt

* Move libiconv and libxml

* Remobe netlify/state.json and move remove_modules to cpython

* Move bumpversion.cfg to setup.cfg

* Reset cache

* Fix test_common.py
2020-07-08 16:58:10 +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 9afc7a1617
STY Apply black for code style (#702)
* Apply black

* A few fixes

* Relax flake8 checks

* Exclude tools/file_packager.py from black
2020-06-28 20:24:40 +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 4ee8dedeed
Update to emscripten 1.38.31 (#674)
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2020-05-28 18:13:51 +02:00
Roman Yurchak 6cf891380d
Compress .data files in CDN (v2) (#673) 2020-05-23 16:02:10 +02:00
Roman Yurchak 9f9a6c3965
CI Add deployment setup for pyodide-cdn2.iodide.io (#666) 2020-05-19 18:15:21 +02:00
Roman Yurchak ab6d0d9703 Add build-test-minimal CI job 2020-05-09 01:52:25 +02:00
Adam Seering 3ec7849cfe
ENH Upgrade cpython to 3.7.4 (#625) 2020-03-25 12:31:12 +01:00
Adam Seering 7c0cbf61f4
Upgrade cpython to 3.7.3 (#624) 2020-03-18 10:36:50 +01:00
Michael Droettboom 2f2ed8fc26
Upgrade to Python 3.7.2 (#321)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-03-12 13:30:33 +01:00