David Hewitt
ca82681615
ci: minor cleanups following 1.63 MSRV ( #4239 )
...
* ci: minor cleanups following 1.63 MSRV
* correct `invalid_pymethods_duplicates` UI test
* fix `nightly` feature
2024-06-21 07:02:31 +00:00
David Hewitt
388d1760b5
ci: start testing on 3.13-dev ( #4184 )
...
* ci: start testing on 3.13-dev
* ffi fixes for 3.13 beta 1
* support 3.13
* move gevent to be binary-only
* adjust for div_ceil
* fixup pytests
2024-05-25 22:41:26 +00:00
Icxolu
7cbb85476c
fix `check-guide` ci workflow ( #4146 )
2024-05-03 10:17:14 +00:00
Alex Gaynor
9e1960ea34
Update MSRV to 1.63 ( #4129 )
...
* Bump MSRV to 1.63
* Drop parking_lot in favor of std::sync
* Make portable-atomic dep conditional
* Remove no longer required cfg
2024-04-28 16:11:28 +00:00
Alex Gaynor
60e3f44dcf
Ensure all arguments to _run are strings ( #4013 )
...
Otherwise you get errors like https://github.com/PyO3/pyo3/actions/runs/8480723060/job/23236947935?pr=4012
2024-03-29 14:16:45 +00:00
David Hewitt
9808f7111c
ci: add `update-ui-tests` nox session ( #3979 )
...
* ci: add `update-ui-tests` nox session
* defer error messages after the group closes
* fix syntax warnings
2024-03-22 22:43:08 +00:00
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