Commit Graph

143 Commits

Author SHA1 Message Date
Dexter Chua cd198e2927
Use python:3.8.2-slim-buster Docker base image ()
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 ()
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 () 2021-01-03 12:25:14 +01:00
Dexter Chua 4ae245855d
Install uglifyjs and lessc via npm ()
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  is merged
2021-01-01 23:43:48 +08:00
Dexter Chua e205121806
Build docs in CI () 2020-12-31 13:18:13 +01:00
Dexter Chua b4c71a6dd2
CI Don't block tests on lint ()
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 ()
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 () 2020-12-25 22:05:54 +01:00
Dexter Chua bc8d17a374
CI Fix artifact upload () 2020-12-25 09:46:57 +01:00
Dexter Chua 00d4d7eb2c
Fix CircleCI config ()
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 () 2020-12-24 18:16:26 +01:00
Dexter Chua 8de2ed1202
Build C libraries via buildall.py ()
This addresses part of , 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 () 2020-12-21 11:20:11 +08:00
Roman Yurchak 641ce219b8
Use PYODIDE_BASE_URL for the deployment location () 2020-12-18 13:23:45 +01:00
Dexter Chua 0de8ddb0cf
MAINT Move all lint commands to Makefile () 2020-12-17 10:54:23 +01:00
Dexter Chua 0c91434bb6
Rerun failed tests sequentially () 2020-12-14 18:05:15 +01:00
Dexter Chua dd616b5265
Fix cache saving () 2020-12-12 12:31:21 +01:00
Roman Yurchak db9f12826f
Split build for core and packages in CI pipeline () 2020-12-11 16:47:47 +01:00
Dexter Chua 9e050c143c
Remove clang-format symlink in config.yml () 2020-12-08 09:01:58 +01:00
Dexter Chua 0defcb3825
BLD Don't compile host python () 2020-12-08 00:19:16 +01:00
Dexter Chua 331756a5cd
Run tests in parallel with pytest-xdist () 2020-12-07 09:19:31 +01:00
Dexter Chua 81df4e24a7
Simplify Docker image ()
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 () 2020-12-06 14:08:22 +01:00
Dexter Chua d67648a6b8
BLD Update package build script's default ldflags () 2020-12-03 14:27:40 +01:00
Roman Yurchak f7adad7eb3
Upgrade to emscripten 1.38.34 with fastcomp ()
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 () 2020-11-09 13:28:02 +01:00
Roman Yurchak ada586daa6
MAINT Update cibuilds image in CI () 2020-11-01 11:24:24 +01:00
Roman Yurchak 49dc822acb
MNT Use gzip compression for package artifacts () 2020-10-20 21:56:59 +02:00
Roman Yurchak a84ecd31f6
Fix lint CI () 2020-09-24 12:28:10 +02:00
Roman Yurchak a5f3a2ba07
MNT Put files in a subfolder in the release .tar.bz2 () 2020-08-18 10:59:56 +02:00
Roman Yurchak 5cc20673be
MNT Add mypy setup in CI and pre-commit () 2020-08-16 19:35:32 +02:00
chigozienri 9dd8c565f8
MNT Add type annotations to pyodide_build/buildpkg.py ()
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 () 2020-07-09 00:37:02 +02:00
Roman Yurchak bcc4f6b521
MNT Clean-up root folder ()
* 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 ()
* 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 ()
* 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 () 2020-06-06 14:18:21 +02:00
jcaesar 9c91707994
Dockerfile: add swig, pytest-rerunfailures ()
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 ()
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) () 2020-05-23 16:02:10 +02:00
Roman Yurchak 9f9a6c3965
CI Add deployment setup for pyodide-cdn2.iodide.io () 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 () 2020-03-25 12:31:12 +01:00
Adam Seering 7c0cbf61f4
Upgrade cpython to 3.7.3 () 2020-03-18 10:36:50 +01:00
Michael Droettboom 2f2ed8fc26
Upgrade to Python 3.7.2 ()
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-03-12 13:30:33 +01:00
Adam Seering f71b69bf7c
ENH Upgrade to Python 3.7.1 () 2020-03-11 11:32:30 +01:00
Adam Seering 6a02cabaad Update to use sdk-fastcomp-tag-<version> for emscripten ()
* Update to use sdk-fastcomp-tag-<version> for emscripten, as sdk-tag-<version> is no longer available upstream.
* Update code to use new path
* Replace Circle-CI CPU_CORES hack with environment variables (now supported upstream)

Co-authored-by: AndyLockhart <AndyLockhart@users.noreply.github.com>
2019-12-31 12:09:39 -05:00
Roman Yurchak 2cf8639973 MAINT Move package tests under packages/ dir ()
* Move package tests under the packages/ folder

* Fix tests
2019-06-19 14:26:08 -04:00
Michael Droettboom 1799e45525 Go back to tags only 2019-05-31 15:50:59 -04:00
Michael Droettboom d5c7794ea6 Use sudo to deploy 2019-05-31 15:50:35 -04:00