David Hewitt
75af678f43
docs: use kebab-case instead of snake_case for guide URLs ( #3942 )
...
* guide: use kebab-case instead of snake_case
* fixup doctest names
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com>
* review: Icxolu
* fix relative url
* also remap latest pyo3
* fixup python_from_rust
---------
Co-authored-by: Icxolu <10486322+Icxolu@users.noreply.github.com>
2024-03-09 20:10:58 +00:00
David Hewitt
14d1d2a9ee
docs: use lychee
to check link URLs ( #3941 )
...
* guide: install `mdbook-linkcheck`
* use `shutil` to copy license files
* move from `mdbook-linkcheck` to `lychee`
* clean guide & doc build products before build
* fix more broken links
* review: mejrs
2024-03-08 14:10:47 +00:00
David Hewitt
770d9b7f01
add FromPyObjectBound
trait for extracting &str
without GIL Refs ( #3928 )
...
* add `FromPyObjectBound` adjustment for `&str` without GIL Refs
* review: alex, Icxolu feedback
* add newsfragment
* add newsfragment for `FromPyObject` trait change
* make some examples compatible with abi3 < 3.10
* seal `FromPyObjectBound`
* fixup chrono_tz conversion
2024-03-08 07:43:48 +00:00
David Hewitt
b08ee4b7e1
remove gil-refs
feature from full
feature ( #3930 )
2024-03-04 22:23:35 +00:00
Alexander Hill
0f92b670b2
docs: Add lcov / codecov options for nox coverage and update docs ( #3825 )
...
* docs: Clarify use of llmv-cov plugin
* Mention first-run
* Update Contributing.md
* Add options
* fix
2024-02-23 06:49:44 +00:00
David Hewitt
c4f66657c5
fix either
feature conditional compilation, again ( #3834 )
...
* fix `either` feature conditional compilation, again
* test feature powerset in CI
* install `rust-src` for feature powerset tests
* review: adamreichold feedback
* Fix one more case of redundant imports.
* just check feature powerset for now
---------
Co-authored-by: Adam Reichold <adam.reichold@t-online.de>
2024-02-22 08:05:37 +00:00
David Hewitt
f5eafe23f2
add maximum Python version check ( #3821 )
...
* add maximum Python version check
* restore dependency of `pyo3-macros-backend` on `pyo3-build-config`
* fix clippy-all noxfile job
2024-02-13 21:52:53 +00:00
Adam Reichold
97e0998ac2
Fix the Crossbeam ecosystem to point releases before it required Rust 1.61.
2023-12-14 11:35:20 +01:00
David Hewitt
2a5dedcbb5
ci: refactor pytests dev dependencies
2023-12-05 00:54:32 +03:00
Joseph Perez
226a2a3f7a
fix: replace removed fmt
session by rustfmt
and ruff
2023-11-22 21:00:51 +01:00
David Hewitt
3042ab1621
ci: switch from black to ruff
2023-10-26 21:04:49 +01:00
David Hewitt
b281a6cc08
ci: use older hashbrown and indexmap for MSRV
2023-10-24 21:50:10 +01:00
David Hewitt
bf2c5a896b
add codspeed benchmarks
2023-10-19 21:36:05 +01:00
David Hewitt
6801c508a8
keep emscripten back on 3.11 for now
2023-10-13 08:25:36 +02:00
David Hewitt
b2df27f0a1
bump "latest" CI jobs to 3.12
2023-10-13 00:57:39 +02:00
mejrs
8eb0ca8939
Pin byteorder on msrv
2023-10-06 21:49:00 +02:00
David Hewitt
668918f5d3
skip changelog check for docs-only PRs
2023-09-21 21:43:48 +01: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
e28403e772
call PyObject_GC_Untrack before deallocating
2023-09-09 22:29:58 +01:00
David Hewitt
6f6075a473
add --no-fail-fast to cargo test in CI
2023-09-09 12:26:00 +01:00
David Hewitt
9e089a5538
fix chrono deprecation warnings
2023-09-02 20:55:53 +01:00
David Hewitt
c83951754e
fix escaping of llvm-cov output
2023-08-25 12:13:20 +01:00
David Hewitt
c2e8ba3c14
move benches to subdirectory
2023-07-30 07:36:47 +01:00
David Hewitt
12e9db8a9e
add 3.12 and PyPy 3.10 to clippy jobs
2023-07-21 10:34:13 +01:00
David Hewitt
1d56cfef47
Merge pull request #3278 from davidhewitt/ffi-check-ci
...
decouple pyo3-ffi-check from MSRV
2023-06-28 08:10:54 +00:00
David Hewitt
a0aa9ce92e
use _run_cargo helper in noxfile
2023-06-28 08:25:28 +01:00
David Hewitt
48c16a6878
move pyo3-ffi-check into its own workspace
2023-06-27 22:54:10 +01:00
Adam Reichold
b5a1ca058d
Extended range of supported versions of indexmap
optional dependency to include version 2.
2023-06-26 23:23:12 +02: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
5348ff2426
ci: pin log for msrv
2023-06-11 20:26:19 +01:00
David Hewitt
05af0b2f42
fixup styles for internal doc banner
2023-06-08 22:04:48 +01: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
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
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
Adam Reichold
edf50eec17
Bump proptest which is possible after the MSRV bump.
2023-06-05 15:10:00 +02:00
David Hewitt
1bbd556718
run cargo check instead of clippy for MSRV in CI
2023-06-04 23:15:59 +01:00
David Hewitt
c928a7a384
pin chrono for msrv build
2023-05-30 15:12:48 +01:00
Adam Reichold
d29b8a487f
Pin web-sys, js-sys and wasm-bindgen to avoid syn 2.0 as it is incompatible with our MSRV.
2023-05-09 22:04:23 +02:00
Adam Reichold
ed997ed178
venv_backend syntax for set_minimal_package_versions nox session.
2023-05-01 17:53:43 +02:00
Doug Goldstein
8e0bde14c9
implement Decimal to rust_decimal conversions
...
Implement conversion between rust_decimal::Decimal and decimal.Decimal
from Python's stdlib. The C API does not appear to be exposed on the
Python side so we need to call into it via Python.
2023-04-22 19:55:21 +02:00
Adam Reichold
67d4c7eb82
Pin regex to keep our MSRV support.
2023-04-21 16:08:42 +02:00
David Hewitt
d8f7e6b41b
ci: use codecov coverage format
2023-04-18 21:44:14 +01:00
Adam Reichold
452c971023
Do not test multiple-pymethods feature on WASI where it is not supported by the inventory crate.
2023-04-14 18:41:45 +02:00
messense
368664c731
CI: Pin inventory
to 0.3.4
in MSRV job
2023-03-28 13:09:58 +08:00
David Hewitt
91afc7dc89
ci: pin syn to 1.0 for MSRV
2023-03-18 20:50:24 +00:00
David Hewitt
54f8322125
set csv minimal package version for 1.48 CI
2023-02-14 19:32:37 +00:00
Adam Reichold
edaba66c44
Pin trybuild to an MSRV-compatible version
2023-01-28 18:29:58 +01:00
messense
40a51985b3
Set minimal package versions by parsing Cargo.lock
2023-01-12 14:00:53 +08:00