Commit Graph

274 Commits

Author SHA1 Message Date
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
Adam Seering f71b69bf7c
ENH Upgrade to Python 3.7.1 (#619) 2020-03-11 11:32:30 +01:00
Adam Seering 6a02cabaad Update to use sdk-fastcomp-tag-<version> for emscripten (#589)
* 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 (#471)
* 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
Michael Droettboom 722b8f0f7c Deploy from master 2019-05-31 14:41:15 -04:00
Michael Droettboom 87da2ec033
Automated deployment to Netlify (#451) 2019-05-31 14:39:52 -04:00
Michael Droettboom 047b414f3d
Upgrade to emscripten 1.38.30 (#374) 2019-04-04 07:57:47 -04:00
Michael Droettboom 5c3bf202a2 Update build cache version 2019-01-17 08:27:12 -05:00
Michael Droettboom fe16f98a70 Fix #283: Handle function pointers in dylib with signatures not in main 2018-12-20 13:07:54 -05:00
Roman Yurchak 79ba41b484 Update the iodide/pyodide-env:0.3.1 image 2018-11-15 13:24:27 +01:00
Roman Yurchak 66fe5feb2c Better refactoring 2018-11-15 13:24:27 +01:00
Roman Yurchak d6bc94ef53 Refactor scipy tests 2018-11-15 13:24:27 +01:00
Roman Yurchak ccdadc6e93 Move CLAPACK_WA to the root folder 2018-11-15 13:22:36 +01:00
Roman Yurchak 3e1d6348a7 Statically link BLAS/LAPACK 2018-11-15 13:22:36 +01:00
Roman Yurchak 9482984268 More patches for ellip_harm_2.pyx that uses ctypes 2018-11-15 13:22:36 +01:00
Roman Yurchak 27319bc675 Fix build in Docker 2018-11-15 13:22:36 +01:00
Roman Yurchak ad94658e68 Force malloc 2018-11-15 13:22:36 +01:00
Roman Yurchak 40605620f8 Use scipy 0.17.1 2018-11-15 13:22:36 +01:00
Michael Droettboom b4830f8f66 Fix typo 2018-11-07 12:17:03 -05:00
Michael Droettboom 30e7cc1182 Fix release packaging 2018-11-07 09:44:13 -05:00
Michael Droettboom 276aff3eca Quote arguments to ghr command 2018-11-06 15:19:51 -05:00
Michael Droettboom f6ad68fdf2 Trying to fix deploy 2018-11-06 10:53:48 -05:00
Michael Droettboom 5cabeb8c97 Fix tagging for deploy 2018-11-06 09:59:54 -05:00
Michael Droettboom 6814e077da Ignore branch 2018-11-06 09:20:01 -05:00
Michael Droettboom 9bffabdb96 Try to get master CI to run again 2018-11-06 08:24:39 -05:00
Michael Droettboom b50c8d622f Fix workflow 2018-11-02 13:02:00 -04:00
Michael Droettboom 76415e4abd Don't require Chrome to pass for deploy 2018-11-02 11:49:58 -04:00
Michael Droettboom 4d93d79f9c Fix multiple executor types 2018-11-02 11:30:36 -04:00
Michael Droettboom 0e47366eeb USe github releases for deployment 2018-11-02 11:25:13 -04:00
Michael Droettboom 9312bd1ee6
Merge pull request #212 from rth/package-joblib
Package joblib
2018-10-26 09:11:32 -04:00
Roman Yurchak bad48f6b34 Use emsdk version from the scipy PR 2018-10-23 12:19:40 +02:00
Roman Yurchak bb53e36a78 Rename to dryrun, add docstring and doctest 2018-10-23 12:13:59 +02:00
Roman Yurchak 4abdff5187 Add test_pywasmcross.py 2018-10-16 15:41:01 +02:00
Michael Droettboom 4879b77e52
Merge pull request #223 from rth/pure-python-tests
TST Add ability to run pure python tests
2018-10-15 16:31:28 -04:00
Roman Yurchak 53de9fa548 Attaching the workspace before build is not necessary 2018-10-15 20:56:14 +02:00
Roman Yurchak 00db2a4be1 Ability to run pure python tests 2018-10-15 17:29:06 +02: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
Michael Droettboom da7b5803a6 Rename image pyodide -> pyodide-env 2018-10-09 12:38:51 -04: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
Roman Yurchak 0fa6f7b808 Only store benchmark.json in artefacts 2018-10-04 14:07:40 +02:00
Roman Yurchak 95379aa043
Merge pull request #202 from mdboom/fix-benchmarks
Fix benchmarks in light of recent changes
2018-10-03 12:02:02 +02:00
Michael Droettboom 370a4f06f3 Don't plot on Circle-CI 2018-10-02 17:56:27 -04:00
Michael Droettboom 210bc3c585 Fix patch 2018-10-02 13:23:26 -04:00
Michael Droettboom eee0fa2c8a Fix benchmark job 2018-10-02 12:06:08 -04:00
Michael Droettboom f985065347 Upgrade C libraries in benchmark job 2018-10-02 11:07:41 -04:00
Michael Droettboom 6f2656e979 Fix ordering of downloads 2018-10-02 09:29:16 -04:00
Michael Droettboom 6ca3f2be9a Fix benchmark job 2018-10-02 09:25:35 -04:00
Michael Droettboom 4fe1d47459 Fix running of benchmark in Circle-CI 2018-10-01 21:13:32 -04:00
Michael Droettboom a685f18f0e Fix benchmarks in light of recent changes 2018-10-01 18:54:31 -04:00
Michael Droettboom 94e935b4c8
Merge pull request #107 from rth/pyodide-package
Refactoring common functions under pyodide_build
2018-09-27 12:32:43 -04:00
Roman Yurchak b9ad36fdd7 Set "BINARYEN_TRAP_MODE='clamp'" 2018-09-27 11:38:26 +02:00
Michael Droettboom ec7912005a Fix LZ4 decoding bug
This was introduced in #170, but wasn't caught since emsdk didn't get rebuilt
2018-09-21 14:53:13 -04:00
Roman Yurchak 8973c28642 Install Crome/Firefox in corresponding test jobs 2018-09-21 12:23:43 +02:00
Roman Yurchak da6bbb3b20 Set PYTHONPATH in Makefile.envs to avoiding installing pyodide_build 2018-09-21 12:02:13 +02:00
Roman Yurchak 3ee42aa779 Use pyodide_build in tests 2018-09-20 19:37:32 +02:00
Michael Droettboom 62997a8683 Fix #172. Use Firefox latest rather than nightly 2018-09-19 11:41:18 -04:00
Roman Yurchak 386caadf05 Revert changes for .circleci/deploy.sh from #166 2018-09-16 20:02:54 +02:00
Roman Yurchak 59de8d4a6d Expose version information in javascript 2018-09-14 17:12:32 +02:00
Roman Yurchak d574047a4d Tag commits deployed on Circle CI and store artefacts in build 2018-09-14 14:47:54 +02:00
Michael Droettboom 98e3780996 Reinstate deployment 2018-09-10 09:09:55 -04:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Roman Yurchak ff45a550a6 Flake8 and store artefacts in CircleCI 2018-08-28 17:59:13 +03:00
Roman Yurchak 46c2aa9bf7 Fix clang-format linting 2018-08-28 15:30:11 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Roman Yurchak f15e13d3cd Use clang-format from emcc/clang 2018-08-27 20:20:23 +03:00
Roman Yurchak ff6f7e3616 Better CircleCI workspace usage 2018-08-24 18:20:36 +03:00
Roman Yurchak 96f26596b3 Better Circle CI workflow 2018-08-24 14:40:51 +03:00
Roman Yurchak 0b752777a2 Don't use pytest-rerunfailures 2018-08-22 12:43:07 +03:00
Michael Droettboom 1bdede95c9
Merge pull request #106 from mdboom/retry-chrome
Automatically retry failed tests
2018-08-06 21:07:12 -04:00
Michael Droettboom 989f9675e9
Merge pull request #105 from mdboom/save-cache-every-time
Save Circle-CI cache every time
2018-08-06 17:34:28 -04:00
Michael Droettboom 6c8c599dce Automatically retry failed tests 2018-08-06 14:29:19 -04:00
Michael Droettboom 6cc80fbf2a Add hyphen so nothing will match exactly 2018-08-06 14:00:00 -04:00
Michael Droettboom 93e851a88a Zero ccache results before build 2018-08-06 13:58:05 -04:00
Michael Droettboom 1c2e37fd02 Resave the cache every time 2018-08-06 13:57:27 -04:00
Michael Droettboom 3d84c3f9ca Update chromedriver 2018-08-06 13:14:31 -04:00
Michael Droettboom b14499332f Update geckodriver to 0.21.0 2018-08-03 15:10:52 -04:00
Michael Droettboom 73934a3f44 Use instafail so we can see what's going on 2018-07-25 07:27:15 -04:00
Michael Droettboom 4fe9f5cda4 Display ccache stats after build 2018-07-24 15:40:25 -04:00
Michael Droettboom d82396a09d Fix how ~/.ccache is specified 2018-07-24 12:59:07 -04:00
Michael Droettboom 4bd13f2689 Update key in both places 2018-07-24 12:59:07 -04:00
Michael Droettboom 409fe3b3f4 Use ccache 2018-07-24 12:58:31 -04:00
Michael Droettboom a4b6b60ed8 Increment cache again 2018-07-11 08:24:45 -04:00
Michael Droettboom b108b419ea Fix comment 2018-07-10 09:38:23 -04:00
Michael Droettboom b5e4b5e322 Don't use a fallback cache. Why was that a good idea? 2018-07-10 09:30:11 -04:00
Michael Droettboom 250c3e4d8b Update emsdk cache version 2018-07-10 09:23:15 -04:00
Michael Droettboom 4a9b26b19d Install chromedriver a different way 2018-07-09 15:12:19 -04:00
Michael Droettboom 66cb9445d5 Add testing with Chrome 2018-07-09 15:09:49 -04:00
Michael Droettboom b9eb448272
Merge pull request #56 from iodide-project/packaging
MVP of a proper packaging system
2018-06-23 07:54:46 -04:00
Michael Droettboom b7527b2351 Try installing PyYAML through PIP 2018-06-20 17:47:07 -04:00
Michael Droettboom a9d9172ab0 Install PyYAML 2018-06-20 17:29:09 -04:00
Michael Droettboom 5285facd8d Clear the cache 2018-06-20 13:26:50 -04:00
Michael Droettboom b933423fc6 Disable deployment for now 2018-06-20 08:10:30 -04:00
Michael Droettboom 0b4e3cf3d7 First pass at automatic deployment 2018-06-19 13:36:14 -04:00
Michael Droettboom 5e9393a8e3 Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
Michael Droettboom b8b9519575 More work trying to get linting working again 2018-06-15 12:30:22 -04:00
Michael Droettboom 7c0457cead Add linting 2018-06-14 14:19:08 -04:00
Michael Droettboom 6153e635e0 Add Circle-CI configuration 2018-06-04 16:17:03 -04:00