David Hewitt
f249abb035
refactor: bump to edition 2024 ( #6466 )
...
* `cargo fix --edition`
* `cargo fmt`
* bump editions in Cargo.toml files
* fix edition 2024 build
* revert `expr_2021` macro matchers
* revert some needless `if let` -> `match` churn
* fix sequential example
2026-09-29 06:49:16 +00:00
person93
a030369f82
ci: add job for no_std ( #6300 )
...
* add CI job for `no_std`
* don't fail-fast in `no_std` job
* install rust toolchain with rust-src
* forward no_std features to tests and examples
2026-08-16 14:00:51 +00:00
Alex Gaynor and Claude Fable 5
745b07458d
drop support for Python 3.8 ( #6128 )
...
Follows the same approach as the Python 3.7 drop (#5912 ):
- bump minimum supported CPython version to 3.9
- remove the abi3-py38 feature; abi3-py39 is now the lowest
- remove Py_3_9 cfg gates (now always true) and code that only
existed for 3.8, including the backports.zoneinfo fallback and
the pre-3.9 buffer protocol / dict / weakref workarounds
- update CI matrices, noxfile, packaging metadata, and docs
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-06-17 09:19:58 +00:00
David Hewitt
07ccfde0a0
drop support for Python 3.7 ( #5912 )
...
* drop support for Python 3.7
* newsfragment
* fixup tests
* add clarifying comment to test
2026-03-25 18:05:37 +00:00
58ba6dcd5b
docs: replace extension-module feature in docs ( #5588 )
...
* replace `extension-module` feature in docs
* fix guide fmt
* fix copy in bullets
* make toml syntax for referring to pyo3 more consistent
* note packaging tools set env var automatically
* fix invalid toml
* Update pyo3-ffi/README.md
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com >
* Update guide/src/building-and-distribution.md
Co-authored-by: Matthijs Kok <matthijs.kok2@gmail.com >
* fixup plugin example README
---------
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com >
Co-authored-by: Matthijs Kok <matthijs.kok2@gmail.com >
2025-11-30 10:17:00 +00:00
Matthew Neeley and Icxolu
68ec6de0c9
Use single-arg form of #[pymodule] function in docs and tests ( #3899 )
...
* Use single-arg form for `#[pymodule]` functions in docs and tests
* Update guide/src/function.md
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com >
* Add test of two-argument module function
* Fix new test
---------
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com >
2024-02-28 22:36:50 +00:00
David Hewitt
7a2c63da76
Merge pull request #3536 from davidhewitt/maturin-build-args
...
examples: remove requirements-dev.txt files
2023-10-29 13:27:15 +00:00
David Hewitt
3042ab1621
ci: switch from black to ruff
2023-10-26 21:04:49 +01:00
David Hewitt
391687dab6
examples: remove requirements-dev.txt files
2023-10-26 08:24:30 +01:00
David Hewitt
5fd5dcba44
bump maturin version in example files
2023-06-14 08:45:32 +01:00
Adam Reichold
5738edfdd4
Bump MSRV to 1.56
2023-06-04 23:02:30 +01:00
Alex Pyattaev
2228f584a1
added a plugin example that shows how to integrate a Python plugin into a Rust app while having option to test API without the main app
2023-01-27 08:34:09 +00:00