Commit graph

4281 commits

Author SHA1 Message Date
DSPOM 6a9a9ba38a
move ffi module to separate crate 2022-01-31 13:27:16 +01:00
mejrs 463543ad58 Annotate Rust blocks with "rust" 2022-01-29 01:03:57 +01:00
Bruno Kolenbrander bb0ae4942f
Merge pull request #2130 from kevinheavey/patch-1
add pyheck to examples
2022-01-28 20:19:15 +01:00
Kevin Heavey 42ab0f47ad
add pyheck to examples 2022-01-28 10:33:18 +00:00
David Hewitt 840a2ad2bd
Merge pull request #2124 from mejrs/esi
Fix soundness issues w/r `ExactSizeIterator`
2022-01-27 20:17:17 +00:00
David Hewitt 18c0946137
Merge pull request #2127 from PyO3/davidhewitt-patch-1
ci: unpin nightly for coverage
2022-01-26 22:44:32 +00:00
David Hewitt 0ce9db93f4
ci: unpin nightly for coverage 2022-01-26 08:22:10 +00:00
mejrs 86feca0bfd Fix clippy error 2022-01-25 13:22:04 +01:00
mejrs d4e3faa8ac Use owned pointer types instead 2022-01-25 13:10:07 +01:00
David Hewitt 6b95118c23
Merge pull request #2125 from PyO3/davidhewitt-patch-1
ci: simplify coverage job steps
2022-01-25 06:36:29 +00:00
mejrs b56cc3d171 Updated changelog 2022-01-25 00:09:11 +01:00
David Hewitt bc2ea552b2
ci: simplify job steps 2022-01-24 22:58:36 +00:00
mejrs 0debb622d6 Clarify purpose of FaultyIter 2022-01-24 23:30:20 +01:00
mejrs edca8e9148 Fix PyPy cfg 2022-01-24 22:55:53 +01:00
mejrs 6ec1c0f596 Fix imports 2022-01-24 22:05:14 +01:00
mejrs d53a985f79 Fix soundness issues w/r ExactSizeIterator 2022-01-24 21:14:54 +01:00
Jakub Kołodziejczak d1542a8a79
docs(guide): example of loading python file from path at runtime in a way that it sees its dependencies (#2109)
* docs(guide): example of loading python file from path at runtime in a way that it sees its dependencies

* docs: editorial fixes

suggested by @mejrs

Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>

Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
2022-01-24 11:03:47 +01:00
David Hewitt 86f5389526
Merge pull request #2120 from davidhewitt/faster-ci
ci: build all examples in debug
2022-01-23 09:42:40 +00:00
David Hewitt 000a903676 ci: build all examples in debug 2022-01-23 08:41:39 +00:00
David Hewitt a3862de682
Merge pull request #2105 from davidhewitt/pytests-coverage
ci: add coverage for pytests
2022-01-22 22:07:42 +00:00
David Hewitt 0991aa9f37 ci: add coverage for pytests 2022-01-22 20:06:57 +00:00
David Hewitt 0c929e89b5
Merge pull request #2117 from davidhewitt/python-3.11
ci: add Python 3.11 dev builds
2022-01-21 00:59:58 +00:00
David Hewitt 5444848cdc
Merge pull request #2119 from mejrs/lints
Remove useless allow(lint)'s
2022-01-21 00:41:39 +00:00
mejrs e569e5074a Remove useless allow(lint)'s 2022-01-21 01:08:36 +01:00
David Hewitt bc0cfd6fc6 ci: add Python 3.11 dev builds 2022-01-20 23:35:07 +00:00
David Hewitt a0cf823d68
Merge pull request #2115 from aganders3/pyany-contains
Add 'contains' method to PyAny
2022-01-20 23:07:40 +00:00
Ashley Anderson 64c09d870c Update changelog. 2022-01-19 21:22:08 -05:00
Ashley Anderson 1fd3c6177a Add 'contains' method to PyAny impl. 2022-01-19 21:19:01 -05:00
David Hewitt 91648b2315
Merge pull request #2111 from aganders3/ci-pin-coverage
ci: pin rust nightly for coverage step
2022-01-19 22:09:59 +00:00
Ashley Anderson d58f143e5b Pin rust nightly to older version to work around bug in coverage. 2022-01-19 04:04:59 -05:00
Jakub Kołodziejczak 020488efee
docs: example how to include multiple Python files into the binary and at runtime (#2095) 2022-01-17 10:57:39 +01:00
David Hewitt a86bedb3d9
Merge pull request #2106 from messense/nox
Switch from tox to nox
2022-01-17 08:47:31 +00:00
David Hewitt ea6a44a58f add maturin to requirements-dev files 2022-01-17 08:19:54 +00:00
messense 081c8082cb Use --no-build-isolation 2022-01-17 10:02:03 +08:00
David Hewitt fa34de3024
Merge pull request #2101 from davidhewitt/always-track-caller
cleanup: always enable #[track_caller]
2022-01-16 19:52:58 +00:00
David Hewitt 1d50a7cca8 cleanup: always enable #[track_caller] 2022-01-16 19:16:36 +00:00
messense ce80b7e0f3 Switch from tox to nox 2022-01-17 00:24:33 +08:00
David Hewitt 2449df5732
Merge pull request #2100 from mejrs/fix-1.58_v2
chore: Fix 1.58 release
2022-01-14 07:46:22 +00:00
mejrs 46c458181d Fix more formatting 2022-01-13 23:13:47 +01:00
mejrs f7d7da9b7a Try fix the ci some more 2022-01-13 23:11:33 +01:00
mejrs de175119c1 Formatting 2022-01-13 22:48:36 +01:00
mejrs a8a10ac33d gate the changed errors 2022-01-13 22:43:51 +01:00
mejrs 2006ee0d21 Fix ci 2022-01-13 22:25:23 +01:00
Bruno Kolenbrander b7263ddf51
Merge branch 'PyO3:main' into main 2022-01-13 21:24:52 +01:00
David Hewitt edf03c12a7
Merge pull request #2093 from davidhewitt/positional-option
pyfunction: allow required positional after option
2022-01-11 22:06:09 +00:00
David Hewitt dc8032a5ff pyfunction: allow required positional after option 2022-01-11 00:44:41 +00:00
David Hewitt 43077dada3
Merge pull request #2091 from davidhewitt/use-pyfunction
pyfunction: allow wrap_pyfunction to work on imports (even cross-crate)
2022-01-09 19:53:03 +00:00
David Hewitt de8174684f pyfunction: allow wrap_pyfunction to work on imports (even cross-crate) 2022-01-07 08:43:05 +00:00
David Hewitt 2cee7feaaf
Merge pull request #2083 from aviramha/magic_methods
verify py method args count
2022-01-07 00:13:05 +00:00
Aviram Hassan cbfb5acc43
fix guide 2022-01-06 10:02:53 +02:00