Commit graph

5773 commits

Author SHA1 Message Date
Bruno Kolenbrander 5b5eb1983c
Merge pull request #3498 from mejrs/b
Pin byteorder on msrv
2023-10-08 02:47:23 +00:00
mejrs d6e22a9972 Only run invalid_result_conversion on linux 2023-10-08 04:23:05 +02:00
mejrs 6ca573b9d0 Update clippy 2023-10-06 23:31:06 +02:00
mejrs 8eb0ca8939 Pin byteorder on msrv 2023-10-06 21:49:00 +02:00
messense 2d3dc65428
Merge pull request #3497 from davidhewitt/ci-3.12-debug
bump test-debug to 3.12
2023-10-05 03:14:05 +00:00
David Hewitt cbd7370b20
Merge pull request #3490 from davidhewitt/ffi-marshal-limited
disable `marshal.rs` on `Py_LIMITED_API`
2023-10-04 19:05:01 +00:00
David Hewitt 6c6c607ad3 bump test-debug to 3.12 2023-10-04 19:58:27 +01:00
David Hewitt a4b79dc1e5
Merge pull request #3494 from mejrs/slots
Update PyModuleDef_Slot types
2023-10-04 06:10:25 +00:00
mejrs aa011f4a9d Update PyModuleDef_Slot types 2023-10-03 23:25:45 +02:00
David Hewitt 90cc69ba73
Merge pull request #3488 from davidhewitt/python-3.12
support python 3.12
2023-10-03 19:53:20 +00:00
David Hewitt 5b7885b7ee
Merge pull request #3491 from davidhewitt/pymethods-macro-error
emit compile errors on macros inside `#[pymethods]`
2023-10-02 21:45:07 +00:00
David Hewitt a1d333a563 emit compile errors on macros inside #[pymethods]
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
2023-10-02 22:15:29 +01:00
David Hewitt c80a61ee30 disable marshal.rs on Py_LIMITED_API 2023-10-02 21:36:17 +01:00
David Hewitt 86fc62c5e7 support python 3.12 2023-10-02 20:57:41 +01:00
David Hewitt 2daddb4734 unify 3.12 and pre-3.12 exception handling pathways 2023-09-30 23:27:27 +01:00
David Hewitt f335f42197
Merge pull request #3446 from davidhewitt/relax-import-check
relax multiple-import check to only prevent subinterpreters
2023-09-29 16:35:31 +00:00
David Hewitt b9e9859082
Merge pull request #3478 from mejrs/auto
Don't let auto trait syntax bleed through on stable Rust
2023-09-29 16:35:05 +00:00
mejrs 0c8ab98760 move it into the inline module. 2023-09-29 17:22:27 +02:00
David Hewitt 1a349c2eb7 adjust cfgs for windows 3.9 2023-09-29 14:23:18 +01:00
David Hewitt 50cb41dd0b
Merge pull request #3458 from davidhewitt/truncate-leap-seconds
truncate leap seconds on `chrono` to `datetime` conversions
2023-09-29 11:47:27 +00:00
Adam Reichold 07de74d870
Merge pull request #3481 from SigureMo/typo/dead-link-eval
docs: fix some dead links
2023-09-29 05:49:24 +00:00
SigureMo 25b2acb0eb
fix some dead links 2023-09-29 13:24:00 +08:00
David Hewitt 4b5ff05721
Merge pull request #3471 from davidhewitt/normalized-exceptions-2
always normalize exceptions before raising
2023-09-28 20:27:18 +00:00
mejrs d0d4b9d3fb Dont let auto trait syntax bleed through on stable 2023-09-28 12:26:09 +02:00
David Hewitt a2108c2c74
Merge pull request #3476 from davidhewitt/dead-attrs-cleanup
remove branches for dead `call` and `init` attrs
2023-09-27 08:21:05 +00:00
David Hewitt 6c0386ec7e remove branches for dead call and init attrs 2023-09-27 08:52:56 +01:00
David Hewitt 0459532f69 truncate leap seconds on chrono to datetime conversions 2023-09-24 20:28:43 +01:00
David Hewitt 673c45aac3
Merge pull request #3470 from davidhewitt/tests-capture-warnings
add `assert_warnings` test helper
2023-09-24 13:09:01 +00:00
David Hewitt 1e8833e15e always normalize exceptions before raising 2023-09-24 13:38:23 +01:00
David Hewitt 7d486bb72a tests/common.rs -> src/tests/common.rs 2023-09-24 13:34:53 +01:00
David Hewitt 42f9cd4476
Merge pull request #3469 from davidhewitt/chrono-tidy-up
refactor chrono implementation to be more DRY
2023-09-24 09:32:43 +00:00
David Hewitt f691a68b46
Merge pull request #3472 from davidhewitt/normalized-exceptions-3
unify 3.12 / non-3.12 error handling branches
2023-09-23 21:45:25 +00:00
David Hewitt d089c92680 unify 3.12 / non-3.12 error handling branches 2023-09-23 22:18:59 +01:00
David Hewitt 97ee5967e0 increase test coverage of chrono feature 2023-09-23 13:51:38 +01:00
David Hewitt 20378a607b
Merge pull request #3466 from davidhewitt/docs-only-prs
docs: skip changelog check for docs-only PRs
2023-09-23 12:26:37 +00:00
David Hewitt c8f82be32c add assert_warnings test helper 2023-09-23 13:14:18 +01:00
David Hewitt ccc22a905d allow invalid_from_utf8 lint in tests 2023-09-23 12:54:53 +01:00
David Hewitt 2d61a73b02 refactor chrono implementation to be more DRY 2023-09-23 12:46:45 +01:00
David Hewitt f17e703167 return existing module on Python 3.9 and up 2023-09-23 11:13:39 +01:00
David Hewitt 1338020511 relax multiple-import check to only prevent subinterpreters 2023-09-23 11:13:39 +01:00
David Hewitt aeb7a958dc
Merge pull request #3461 from davidhewitt/some-wraps
better `Some`-wrapping for default arguments
2023-09-21 21:12:43 +00:00
David Hewitt 743f1d856d
Merge pull request #3459 from davidhewitt/fix-codecov-ignores
fix codecov ignore paths for test folders
2023-09-21 21:12:36 +00:00
David Hewitt 668918f5d3 skip changelog check for docs-only PRs 2023-09-21 21:43:48 +01:00
David Hewitt c2e7ad7e56
Merge pull request #3465 from jeffs/main
Fix a typo in a documentation page title
2023-09-21 20:38:50 +00:00
David Hewitt 5798caf1f8 better Some-wrapping for default arguments 2023-09-21 21:14:44 +01:00
David Hewitt 2ab678107f fix codecov ignore paths for test folders 2023-09-21 21:14:07 +01:00
Jeff Schwab 535a255bae Fix a typo in a documentation page title 2023-09-21 21:11:27 +01:00
David Hewitt d7cf4270f3
Merge pull request #3462 from davidhewitt/dh/chrono-panics
ci: adjust tests to avoid chrono panics
2023-09-21 08:02:49 +00:00
David Hewitt 1ec3c5a4fd ci: adjust tests to avoid chrono panics 2023-09-21 08:34:45 +01:00
David Hewitt 8f4a26a66e
Merge pull request #3450 from davidhewitt/pyo3-runtime
add pyo3-runtime stub package
2023-09-12 19:53:48 +00:00