Commit graph

5341 commits

Author SHA1 Message Date
Adam Reichold 842ab99504
Merge pull request #3234 from PyO3/dependabot/cargo/bindgen-0.65.1
Update bindgen requirement from 0.63.0 to 0.65.1
2023-06-13 17:49:57 +00:00
dependabot[bot] 6818e737ef
Update bindgen requirement from 0.63.0 to 0.65.1
Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.63.0...v0.65.1)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 07:39:44 +00:00
David Hewitt 2909d5f2d7
Merge pull request #3228 from davidhewitt/fix-dependabot
rename examples package to fix dependabot
2023-06-13 06:29:07 +00:00
Adam Reichold 6a4f520c38
Merge pull request #3227 from davidhewitt/py37-allow-fail
ci: allow failure on 3.7 and pypy nightly
2023-06-13 05:01:22 +00:00
David Hewitt c01738d3fc rename examples package to fix dependabot 2023-06-12 21:18:12 +01:00
David Hewitt c434263241 ci: allow failure on 3.7 and pypy nightly 2023-06-12 20:30:03 +01:00
Adam Reichold a053489c8b
Merge pull request #2709 from davidhewitt/py3.12
ci: add Python 3.12-dev jobs
2023-06-12 08:59:35 +00: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 199261f436
Merge pull request #3197 from mhils/ipaddr
Add `IpAddr` <-> `ipaddress.IPv(4/6)Address` conversion
2023-06-12 04:00:43 +00:00
David Hewitt ef7c02ccdb
Merge pull request #3225 from davidhewitt/pool-can-be-dirty
ci: pool can be dirty from other threads
2023-06-12 03:17:21 +00:00
David Hewitt 671ed933e2 ci: allow failures in 3.12 builds for now 2023-06-11 21:57:17 +01:00
David Hewitt 621898b07d ci: add Python 3.12-dev jobs 2023-06-11 21:57:17 +01:00
David Hewitt 7fd59455b1 ci: pool can be dirty from other threads 2023-06-11 21:52:23 +01:00
David Hewitt 56a43bc078
Merge pull request #3224 from davidhewitt/msrv-log
ci: pin log for msrv
2023-06-11 20:05:25 +00:00
David Hewitt 5348ff2426 ci: pin log for msrv 2023-06-11 20:26:19 +01:00
Adam Reichold bb6d1711cb
Merge pull request #3220 from davidhewitt/remove-bors
ci: remove bors configuration
2023-06-09 07:03:31 +00:00
David Hewitt 05af0b2f42 fixup styles for internal doc banner 2023-06-08 22:04:48 +01:00
David Hewitt 46942b9a14 docs: remove workarounds for #[doc = concat!(...)] following msrv bump 2023-06-08 21:04:49 +01:00
David Hewitt 618d99966f ci: remove bors configuration 2023-06-08 20:56:40 +01:00
Adam Reichold d3bd82c6f2
Merge pull request #3219 from davidhewitt/pypy-310-ffi
ci: fail ffi-check on pypy failures
2023-06-08 12:26:11 +00:00
Maximilian Hils 980f05a88e Add IpAddr <-> ipaddress.IPv(4/6)Address conversion 2023-06-08 13:17:45 +02:00
David Hewitt 72d1805109 fix pypy 3.10 ffi definitions 2023-06-08 07:51:10 +01:00
David Hewitt 24ea1de27b ci: fail ffi-check on pypy failures 2023-06-08 07:18:08 +01:00
messense 93f7694e95
Merge pull request #3217 from davidhewitt/build-full
ci: enable full builds with a label
2023-06-08 05:16:31 +00:00
David Hewitt b9c42b9c93 ci: enable full builds with a label 2023-06-07 22:22:32 +01:00
David Hewitt e29b19757e
Merge pull request #3216 from davidhewitt/media-20230607
readme: add media June 2023
2023-06-07 20:43:38 +00:00
David Hewitt 14c4dc8855 readme: add media June 2023 2023-06-07 21:05:13 +01:00
Adam Reichold 1b92a6fec0
Merge pull request #3215 from PyO3/bump-edition
Bump Rust edition to 2021 and make current Clippy happy.
2023-06-07 19:41:02 +00:00
Adam Reichold 0d30bb7d3d Bump Rust edition to 2021 and make current Clippy happy. 2023-06-07 21:15:38 +02:00
David Hewitt c1a0b8836d
Merge pull request #3214 from davidhewitt/pypy-3-10-ci
ci: add pypy3.10-nightly
2023-06-07 08:06:46 +00:00
David Hewitt a1f0d91a67 ci: add pypy3.10-nightly 2023-06-07 08:40:47 +01:00
David Hewitt 7a5ea8cf69
Merge pull request #3212 from davidhewitt/merge-queue-fixup
fix usage for paths-filter in merge_group
2023-06-06 20:06:56 +00:00
David Hewitt 05b97dd964 fix usage for paths-filter in merge_group 2023-06-06 08:22:20 +01:00
David Hewitt 342e4ca678
Merge pull request #3206 from davidhewitt/gh-merge-queue
add github merge queue support
2023-06-06 06:32:05 +00: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
bors[bot] 4ca33645c8
Merge #3210
3210: Drop the xtask helper as it is superseded by Nox. r=davidhewitt a=adamreichold

While the xtask code base is better engineered than our slightly messy Nox manifest, all functionality is available via Nox including some that is not available via xtask. Finally, only the Nox sessions are used in the CI by now so that xtask does not see regular automated usage.

Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
2023-06-05 17:26:21 +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 b816d4d561 Drop the xtask helper as it is superseded by Nox.
While the xtask code base is better engineered than our slightly messy Nox
manifest, all functionality is available via Nox including some that is not
available via xtask. Finally, only the Nox sessions are used in the CI by now so
that xtask does not see regular automated usage.
2023-06-05 17:41:41 +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
bors[bot] e1f028f3e5
Merge #3209
3209: Remove the conditional compilation flags which are made redundant  by the MSRV bump r=davidhewitt a=adamreichold



Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
2023-06-05 14:09:05 +00:00
Adam Reichold edf50eec17 Bump proptest which is possible after the MSRV bump. 2023-06-05 15:10:00 +02:00
Adam Reichold 5d4ce5799a Drop usage of rustversion from xtask. 2023-06-05 15:10:00 +02:00
Adam Reichold eb292711a7 Drop test indirection required only until Rust 1.54. 2023-06-05 12:43:15 +02:00
Adam Reichold 6f987263c1 Remove cfg addr_of made unnecessary by MSRV bump. 2023-06-05 11:12:06 +02:00
Adam Reichold eb04f54683 Remove cfg min_const_generics made unnecessary by MSRV bump. 2023-06-05 09:42:40 +02:00
Adam Reichold f7bd6ce224 Remove cfg option_insert made unnecessary by MSRV bump. 2023-06-05 09:37:13 +02:00
Adam Reichold b49e401319 Remove unmatched cfg and unused rustup component. 2023-06-05 09:36:13 +02:00
bors[bot] dbf7b233aa
Merge #3203
3203: support ordering magic methods for `#[pyclass]` r=adamreichold a=davidhewitt

Closes #2089 

This adds `__lt__`, `__le__`, `__eq__`, `__ne__`, `__gt__`, and `__ge__` as per the Python implementations of what we call `__richcmp__`.

There's a UI test confirming that the user cannot implement split forms and `__richcmp__` simultaneously.

There's also a benchmark comparing implementing these split methods against using `__richcmp__`. I couldn't see a meaningful performance difference, so I'm tempted to deprecate `__richcmp__`, given that's not a magic method which exists in Python. Potentially we can provide options such as the opt-in `#[pyclass(eq, ord)]` to avoid boilerplate for people who don't want to implement six different methods.



Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2023-06-05 07:13:23 +00:00