Adam Reichold
30454f135b
Merge pull request #2740 from PyO3/make-clippy-happy-again
...
Make Clippy happy again
2022-11-16 19:58:43 +01:00
Adam Reichold
4ffe0963b8
Make Clippy happy again by avoid deprecated constructors from chrono.
2022-11-15 22:06:02 +01:00
Adam Reichold
694ef1ea39
Make Clippy happy again by removing supposedly unnecessary casts.
2022-11-15 21:50:29 +01:00
Chih Wang
d060a19303
Add support for std::num::NonZero integer types ( #2730 )
2022-11-13 10:54:55 +00:00
messense
0ef3fcbf4b
Merge pull request #2727 from messense/pyo3-rebuild
...
`pyo3-build-config`: rebuild when `PYO3_ENVIRONMENT_SIGNATURE` value changed
2022-11-10 18:06:57 +08:00
messense
dee791de90
`pyo3-build-config`: rebuild when `PYO3_ENVIRONMENT_SIGNATURE` value changed
2022-11-09 20:28:18 +08:00
David Hewitt
4b7e0ee5b4
Merge pull request #2685 from alex/type-error
...
Use a TypeError, rather than a ValueError, when refusing to treat a str as a Vec
2022-11-09 07:36:40 +00:00
Itamar Turner-Trauring
6746ff8216
Python 3.7 support for PyCodeObject. ( #2726 )
...
* Python 3.7 support for PyCodeObject.
Co-authored-by: Itamar Turner-Trauring <itamar@pythonspeed.com>
2022-11-08 21:06:05 +00:00
Alex Gaynor
f7a487b809
Use a TypeError, rather than a ValueError, when refusing to treat a str as a Vec
...
This is far more consistent with how these exceptions are usually used
2022-11-07 07:48:13 -05:00
messense
7c25153363
Merge pull request #2712 from PyO3/bump-include-jobs
...
Also bump CI matrix include jobs to latest stable CPython version.
2022-11-07 17:29:46 +08:00
Adam Reichold
ec42f3e0fe
Drop PYPRERELEASE variable from Emscripten Makefile as we use a proper release now.
2022-11-07 08:31:47 +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
Bruno Kolenbrander
6766d9f93b
Merge pull request #2686 from dalcde/closure-name-doc
...
Support passing name and doc to new_closure.
2022-11-06 17:35:20 +01:00
messense
cfcc617667
Merge pull request #2720 from messense/rust-toolchain
...
CI: switch from `actions-rs/toolchain` to `dtolnay/rust-toolchain`
2022-11-06 10:05:41 +08:00
messense
c6c0b45501
Update `actions/checkout` to v3
2022-11-05 18:41:09 +08:00
messense
2f11cc8644
maturin-action moved to PyO3 org
2022-11-04 16:15:11 +08:00
messense
7bc5a96277
Update `Swatinem/rust-cache` to v2
2022-11-04 16:15:10 +08:00
messense
e6f84be167
CI: switch from `actions-rs/toolchain` to `dtolnay/rust-toolchain`
2022-11-04 16:15:06 +08:00
messense
2ea8fbfbce
Merge pull request #2721 from messense/clippy-1.65
...
Update ui tests for Rust 1.65.0
2022-11-04 16:14:36 +08:00
messense
0e770a8458
Update ui tests for Rust 1.65.0
2022-11-04 06:35:30 +00:00
messense
a0e8348ffc
Merge pull request #2719 from davidhewitt/0.17.3-changelog
...
push 0.17.3 changelog & package versions to main
2022-11-02 10:06:15 +08:00
David Hewitt
548e90fcec
release: 0.17.3
2022-11-01 20:47:46 +00:00
messense
9d05a3a96b
Merge pull request #2717 from datapythonista/patch-1
...
Fix module name in getting started
2022-11-01 21:48:57 +08:00
Marc Garcia
47490a7a31
Fix module name in getting started
2022-11-01 14:08:28 +07:00
messense
24dabc5c08
Merge pull request #2715 from messense/fix-pymodule-filename-on-pypy
...
Disable `PyModule::filename` on PyPy
2022-11-01 10:01:11 +08:00
messense
736e97556d
Disable `PyModule::filename` on PyPy
2022-10-31 15:45:50 +08:00
Dexter Chua
9201a7dd48
Support passing name and doc to PyCFunction::new_closure. Fixes #2665
2022-10-29 12:26:09 +08: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
messense
8d35ec75a1
Merge pull request #2708 from davidhewitt/py3.11
...
packaging: support Python 3.11
2022-10-27 18:05:58 +08:00
David Hewitt
0bd261c7d1
packaging: support Python 3.11
2022-10-27 07:44:50 +01:00
David Hewitt
8e8b484169
add `#[pyo3(signature = (...))]` attribute ( #2702 )
2022-10-25 07:23:21 +01:00
David Hewitt
747d791f1f
introduce trampolines for methods ( #2705 )
2022-10-25 07:22:36 +01:00
David Hewitt
35dc63e589
Merge pull request #2646 from davidhewitt/release-guide
...
add internal release notes
2022-10-20 08:46:17 +01:00
David Hewitt
1c3c5f2c5f
Merge pull request #2661 from davidhewitt/std-conversions
...
refactor: move std conversions into common module
2022-10-20 07:58:02 +01:00
David Hewitt
88be8ac7e7
add internal release notes
2022-10-20 07:47:07 +01:00
David Hewitt
39a68cf7ac
Merge pull request #2687 from saethlin/main
...
Avoid calling slice::from_raw_parts with a null pointer
2022-10-20 07:34:39 +01:00
David Hewitt
fb34ed1694
add more coverage
2022-10-20 07:29:42 +01:00
David Hewitt
c76916a084
refactor: move std conversions into common module
2022-10-19 21:36:39 +01:00
Ben Kimock
7ff5ab770a
Avoid calling slice::from_raw_parts with a null pointer
2022-10-18 17:09:27 -04:00
David Hewitt
446c0e82f0
Merge pull request #2692 from mejrs/all
...
Implement get/set all on pyclass
2022-10-18 21:39:44 +01:00
mejrs
3b687b7012
newsfragment
2022-10-18 21:40:59 +02:00
mejrs
08c8b845aa
Create better error spans/messages
2022-10-18 21:14:22 +02:00
Georg Brandl
676227d2a1
Make `is_instance()` and `is_subclass()` take `&PyAny` ( #2695 )
2022-10-18 19:22:23 +02:00
David Hewitt
bec726c463
Merge pull request #2691 from ctb/patch-1
...
Suggestions to update "getting started" docs so things work out of the box.
2022-10-17 20:31:51 +01:00
mejrs
d254134154
Implement get/set all on pyclass
2022-10-17 02:37:43 +02:00
C. Titus Brown
ca1c9c1dba
update per review
2022-10-16 11:04:15 -07:00
C. Titus Brown
8e6bf1875f
Apply suggestions from code review
...
Co-authored-by: Georg Brandl <georg@python.org>
2022-10-16 11:01:15 -07:00
C. Titus Brown
54ecbdaaf0
Merge branch 'PyO3:main' into patch-1
2022-10-16 10:45:20 -07:00
Bruno Kolenbrander
4a04603c2c
Don't use intocallback in method macros ( #2664 )
...
* Don't use intocallback in method macros
Co-authored-by: mejrs <>
2022-10-16 10:35:58 +01:00