Commit graph

5960 commits

Author SHA1 Message Date
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
David Hewitt 10d9eeb7e8 add pyo3-runtime stub package 2023-09-12 21:18:32 +02:00
David Hewitt fdf8c7ae68
Merge pull request #3448 from PyO3/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-12 06:09:27 +00:00
dependabot[bot] f470fd2d82
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 20:30:05 +00:00
David Hewitt bcb01049cc
Merge pull request #3404 from davidhewitt/fix-dealloc
call PyObject_GC_Untrack before deallocating
2023-09-11 05:18:34 +00:00
David Hewitt 5ab8b9649b
Merge pull request #3444 from davidhewitt/ffi-monitors
Fix name of `_Py_LocalMonitors` in latest 3.12 RCs
2023-09-10 21:00:28 +00:00
David Hewitt 0ab00c7442
Merge pull request #3330 from davidhewitt/get-item-with-error
move PyDict::get_item_with_error to PyDict::get_item
2023-09-10 20:40:20 +00:00
David Hewitt 932c5c7061 workaround BaseException issue on Python versions before 3.11 2023-09-10 22:16:17 +02:00
David Hewitt fc6e22a554 Fix name of _Py_LocalMonitors in latest 3.12 RCs 2023-09-10 22:14:29 +02:00
David Hewitt 0b87297fee split out release and cpython version in test-debug 2023-09-09 22:29:58 +01:00
David Hewitt e28403e772 call PyObject_GC_Untrack before deallocating 2023-09-09 22:29:58 +01:00
David Hewitt 95fe0a708c test debug build in CI 2023-09-09 22:29:58 +01:00
David Hewitt c7f834ad87 add migration guide entry for PyDict::get_item 2023-09-09 13:05:51 +01:00
David Hewitt a425c69dce
Merge pull request #3434 from davidhewitt/test-no-fail-fast
add --no-fail-fast to cargo test in CI
2023-09-09 12:01:08 +00:00