Commit Graph

64 Commits

Author SHA1 Message Date
Adam Reichold 0516e27ace Also bump CI matrix include jobs to latest stable CPython version. 2022-11-07 08:30:25 +01:00
Adam Reichold d7b05cbcf5
Run Rust tests using Valgrind and cargo-careful (#2706)
* Run asan with `-Zbuild-std`

* Run Rust tests using Valgrind and cargo-careful.

* Pin Valgrind task to 1.61.0 to avoid the DWARF5 issues until fixed upstream.

* Override output checking of compilation UI tests as using different Rust versions might break that.

Co-authored-by: messense <messense@icloud.com>
2022-10-28 21:04:11 +01:00
David Hewitt 88be8ac7e7 add internal release notes 2022-10-20 07:47:07 +01:00
David Hewitt 0e5e39e63d
remove need to build xtask from CI (#2634)
* xtask: move coverage implementation to nox

* move pytests from xtask to nox in ci

* use --package instead of --manifest-path for tests

* write github actions groups to sys.stderr
2022-09-22 11:12:59 +02:00
messense a00e9d553d
Update Python to 3.11.0b4 in emscripten test (#2507)
* Update Python to 3.11.0b4 in emscripten test

* Print traceback when import exception failed

* Try `ALLOW_MEMORY_GROWTH=1`
2022-07-15 20:39:58 +01:00
David Hewitt ab0bc95152 sanitizers: fix use-after-free in test 2022-06-26 07:16:23 +01:00
David Hewitt 9dfeaa38d4
guide: add contributing page (#2442)
Co-authored-by: messense <messense@icloud.com>
2022-06-08 13:30:11 +00:00
David Hewitt fad5d177f9 ci: unpin 3.11 2022-06-08 08:09:42 +01:00
Hood Chatham da5b9814cc
Set up CI for wasm32-emscripten target (#2436)
* ci: test on emscripten target

This adds CI to build libpython3.11 for wasm32-emscripten and
running tests against it. We need to patch instant to work
around the emscripten_get_now:
https://github.com/sebcrozet/instant/pull/47

We also have to patch emscripten to work aroung the "undefined
symbol gxx_personality_v0" error:
https://github.com/emscripten-core/emscripten/issues/17128

I set up a nox file to download and install emscripten,
download and build cpython, set appropriate environment variables
then run cargo test. The workflow just installs python, rust,
node, and nox and runs the nox session.

I xfailed all the test failures. There are problems with datetime.
iter_dict_nosegv and test_filenotfounderror should probably be
fixable. The tests that involve threads or asyncio probably can't
be fixed.

* Some cleanup

* Remove instant patch

* Add explanations for xfails
2022-06-08 05:59:18 +01:00
David Hewitt 01e2a553df noxfile: sort authors case-insensitively 2022-04-14 07:42:53 +01:00
Adam Reichold 851e43bc1a Add Nox session to retrieve sorted list of contributors. 2022-04-11 08:57:00 +02:00
messense 8febab1fe9
Update black to 22.3.0 2022-03-30 11:22:26 +08:00
David Hewitt 3ed0df1169 update black to 22.1.0 2022-02-14 07:42:06 +00:00
David Hewitt c2e49a2b4c ci: replace makefile with nox 2022-02-14 07:40:43 +00:00