Commit Graph

5418 Commits

Author SHA1 Message Date
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
C. Titus Brown 78e4130762
Update getting_started.md 2022-10-15 20:55:49 -07:00
C. Titus Brown b265ee7907
Point new users at specific source file for Rust code.
This was a minor confusion for me so I thought I'd suggest the change - it was the first place I looked, but I did have to think about it :)
2022-10-15 20:49:24 -07:00
David Hewitt 125af9b7de
Merge pull request #2676 from PyO3/exact-iter
Add more implementations of ExactSizeIterator when iterating built-in Python data structures.
2022-10-13 21:28:04 +01:00
David Hewitt 61fd70c476
Merge pull request #2675 from PyO3/relax-extract-array
Also relax the PySequence check when extracting fixed-sized arrays.
2022-10-13 20:57:43 +01:00
Adam Reichold f456ed7586 Also relax the PySequence check when extracting fixed-sized arrays. 2022-10-13 09:43:45 +02:00
David Hewitt 43261c7b8c
Merge pull request #2681 from PyO3/unpin-itertools
Unpin itertools after it was published without a spurious resolver specification.
2022-10-13 07:49:51 +01:00
Adam Reichold 9847530cc8 Fix code blocks containing HTML-related characters missing backticks. 2022-10-13 07:33:11 +02:00
Adam Reichold 75d06d07a4 Unpin itertools after it was published without a spurious resolver specification. 2022-10-13 07:09:39 +02:00
David Hewitt 49b1b22e68
Merge pull request #2658 from PyO3/add-citation
add CITATION.cff
2022-10-12 08:15:29 +01:00
Adam Reichold cd361dc5cc Add more implementations of ExactSizeIterator when iterating built-in Python data structures. 2022-10-11 18:21:02 +02:00
Bruno Kolenbrander c9b26f57cd
Merge pull request #2657 from mejrs/decorator_fix
Update decorator to use Cell counter
2022-10-10 19:55:36 +02:00
dependabot[bot] f68781e67f
Merge pull request #2670 from PyO3/dependabot/github_actions/codecov/codecov-action-3 2022-10-10 06:09:35 +00:00
messense 44732fc4c9
Merge pull request #2672 from messense/dependabot-github-actions-labels
Add `CI-skip-changelog` label automatically for dependabot github actions updates
2022-10-10 14:08:44 +08:00
dependabot[bot] 1b28176e3d
Merge pull request #2671 from PyO3/dependabot/github_actions/actions/cache-3 2022-10-10 05:04:47 +00:00
dependabot[bot] 55cfc32215
Merge pull request #2669 from PyO3/dependabot/github_actions/actions/setup-python-4 2022-10-10 04:33:47 +00:00
messense 3599d7f28a
Add `CI-skip-changelog` label automatically for dependabot github actions updates 2022-10-10 11:31:04 +08:00
dependabot[bot] 6e6bf3816b
build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 02:23:19 +00:00