David Hewitt
c2e8ba3c14
move benches to subdirectory
2023-07-30 07:36:47 +01:00
David Hewitt
12e9db8a9e
add 3.12 and PyPy 3.10 to clippy jobs
2023-07-21 10:34:13 +01:00
David Hewitt
1d56cfef47
Merge pull request #3278 from davidhewitt/ffi-check-ci
...
decouple pyo3-ffi-check from MSRV
2023-06-28 08:10:54 +00:00
David Hewitt
a0aa9ce92e
use _run_cargo helper in noxfile
2023-06-28 08:25:28 +01:00
David Hewitt
48c16a6878
move pyo3-ffi-check into its own workspace
2023-06-27 22:54:10 +01:00
Adam Reichold
b5a1ca058d
Extended range of supported versions of `indexmap` optional dependency to include version 2.
2023-06-26 23:23:12 +02:00
Adam Reichold
b110466c57
Merge pull request #3221 from davidhewitt/msrv-tidy-ups
...
docs: remove unneeded cfg, fixup internal banner
2023-06-12 06:33:48 +00:00
David Hewitt
5348ff2426
ci: pin log for msrv
2023-06-11 20:26:19 +01:00
David Hewitt
05af0b2f42
fixup styles for internal doc banner
2023-06-08 22:04:48 +01:00
bors[bot]
894b62fba7
Merge #3211
...
3211: Enable v2 resolver on the workspace to enable dropping PYO3_CI workaround r=davidhewitt a=adamreichold
Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
2023-06-05 18:47:00 +00:00
Adam Reichold
f6e1f26676
Enable v2 resolver on the workspace to enable dropping PYO3_CI workaround.
2023-06-05 18:54:35 +02:00
Adam Reichold
1fad3916db
Add docs session to Nox's default session to more closely mirror the CI.
2023-06-05 18:36:50 +02:00
Adam Reichold
f1b6cb9256
Add Nox session to build docs providing a replace for doc xtask subcommand.
2023-06-05 17:35:32 +02:00
Adam Reichold
1378dd58b6
Remove sleeps between publishing as cargo will do that itself by now.
2023-06-05 17:14:12 +02:00
Adam Reichold
edf50eec17
Bump proptest which is possible after the MSRV bump.
2023-06-05 15:10:00 +02:00
David Hewitt
1bbd556718
run cargo check instead of clippy for MSRV in CI
2023-06-04 23:15:59 +01:00
David Hewitt
c928a7a384
pin chrono for msrv build
2023-05-30 15:12:48 +01:00
Adam Reichold
d29b8a487f
Pin web-sys, js-sys and wasm-bindgen to avoid syn 2.0 as it is incompatible with our MSRV.
2023-05-09 22:04:23 +02:00
Adam Reichold
ed997ed178
venv_backend syntax for set_minimal_package_versions nox session.
2023-05-01 17:53:43 +02:00
Doug Goldstein
8e0bde14c9
implement Decimal to rust_decimal conversions
...
Implement conversion between rust_decimal::Decimal and decimal.Decimal
from Python's stdlib. The C API does not appear to be exposed on the
Python side so we need to call into it via Python.
2023-04-22 19:55:21 +02:00
Adam Reichold
67d4c7eb82
Pin regex to keep our MSRV support.
2023-04-21 16:08:42 +02:00
David Hewitt
d8f7e6b41b
ci: use codecov coverage format
2023-04-18 21:44:14 +01:00
Adam Reichold
452c971023
Do not test multiple-pymethods feature on WASI where it is not supported by the inventory crate.
2023-04-14 18:41:45 +02:00
messense
368664c731
CI: Pin `inventory` to `0.3.4` in MSRV job
2023-03-28 13:09:58 +08:00
David Hewitt
91afc7dc89
ci: pin syn to 1.0 for MSRV
2023-03-18 20:50:24 +00:00
David Hewitt
54f8322125
set csv minimal package version for 1.48 CI
2023-02-14 19:32:37 +00:00
Adam Reichold
edaba66c44
Pin trybuild to an MSRV-compatible version
2023-01-28 18:29:58 +01:00
messense
40a51985b3
Set minimal package versions by parsing Cargo.lock
2023-01-12 14:00:53 +08:00
messense
15b1ff6c9a
Relax hashbrown version constraint to allow 0.13.x
2023-01-11 23:13:24 +08:00
David Hewitt
87b6a9bd92
ci: run pyo3-ffi-check using nox
2022-12-26 08:50:33 +00:00
David Hewitt
710c895d01
ci: run checks for all platforms on PR
2022-12-25 20:02:21 +00:00
David Hewitt
bd2dc0835b
move set-minimal-package-versions to nox
2022-12-25 19:04:56 +00:00
David Hewitt
9e04398a5e
check changelog using nox
2022-12-17 07:23:22 +00:00
Georg Brandl
a7a53d6c0d
Add a nox task to rustfmt code in the guide.
...
Also apply it. Two caveats:
1) needs nightly rustfmt to be available
2) not all reformat diffs have been applied; using best judgment for readability.
2022-11-22 09:19:40 +01:00
Adam Reichold
85628ddee6
Also run ASAN tests using release mode as many issue only surface with optimizations on.
2022-11-07 08:30:26 +01:00
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