Commit graph

4248 commits

Author SHA1 Message Date
David Hewitt 1ea34639f3
Merge pull request #2096 from davidhewitt/pyproto-feature
Add a `pyproto` feature
2022-02-05 17:56:38 +00:00
David Hewitt ecfd2c2434 pyclass: simplify generated code for PyClassImpl 2022-02-05 16:58:01 +00:00
David Hewitt 558549e1c2 pyproto: split into new feature 2022-02-05 16:51:31 +00:00
David Hewitt 6db7dd76d3
Merge pull request #2065 from davidhewitt/protos-seq-mapping-fallbacks-2
pymethods: seq methods from mapping methods
2022-02-05 16:45:01 +00:00
David Hewitt 53c170078d pymethods: seq methods from mapping methods 2022-02-05 15:59:22 +00:00
David Hewitt 4305a9a45a
Merge pull request #2145 from davidhewitt/merge-pytests
pytests: merge benchmark and test crates
2022-02-05 12:27:56 +00:00
David Hewitt 5dd46e9fa9
Merge pull request #2146 from davidhewitt/pypy-ffi-cleanup
pypy: support fast long conversion
2022-02-05 11:24:44 +00:00
David Hewitt 8b47f4f120 pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
David Hewitt 71e5a12fa2 pypy: support fast long conversion 2022-02-05 10:14:14 +00:00
David Hewitt 02b7f99d28
Merge pull request #2144 from davidhewitt/cleanup-ffi-call
chore: cleanup old todo
2022-02-05 10:00:18 +00:00
David Hewitt 3a70406448 chore: cleanup old todo 2022-02-05 09:00:00 +00:00
David Hewitt abd7eafafb
Merge pull request #2134 from davidhewitt/optimize-extract-argument
opt: improve generated code for argument extraction
2022-02-05 00:33:45 +00:00
David Hewitt 1beb2bbb2d opt: optimize argument extraction 2022-02-04 20:53:49 +00:00
David Hewitt 6814740d20
Merge pull request #2142 from davidhewitt/fix-coverage
ci: fix windows job
2022-02-04 12:09:36 +00:00
David Hewitt 6f16f738f9 ci: fix windows job 2022-02-04 08:53:12 +00:00
David Hewitt 199cc989d4
Merge pull request #2126 from DSPOM2/main
move ffi module to separate crate
2022-01-31 23:27:36 +00:00
DSPOM 004fa2a68d
fix: remove excess argument for _PyCFunctionFast 2022-01-31 13:27:32 +01:00
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