Commit graph

3195 commits

Author SHA1 Message Date
Caio 9bc5089e4b Add support for arbitrary arrays 2021-04-26 08:22:14 +01:00
David Hewitt b3659692cd
Merge pull request #1574 from davidhewitt/build-script-refactor
build: refactor for simplicity
2021-04-26 08:04:17 +01:00
David Hewitt fe9ed5c1fd build: refactor for simplicity 2021-04-24 11:19:58 +01:00
David Hewitt 28ccef2c72
Merge pull request #1475 from indygreg/more-import-ffis
Define missing import APIs
2021-04-22 22:25:33 +01:00
Gregory Szorc 754c27f17d ffi: Define missing import APIs
Co-authored-by: Nicholas Sim <nsim+github@posteo.net>
2021-04-21 21:01:26 +01:00
David Hewitt eed1b1ad26
Merge pull request #1560 from davidhewitt/deprecate-pyproto-pymethods
pyproto: deprecate py_methods
2021-04-21 20:54:35 +01:00
David Hewitt 88d86a65aa
Merge pull request #1571 from davidhewitt/pin-3.10-version
ci: pin Python 3.10.0-alpha.7
2021-04-20 08:25:17 +01:00
David Hewitt 48823e22d6 pyproto: deprecate py_methods 2021-04-20 00:21:19 +01:00
David Hewitt 75c23eca5f ci: pin Python 3.10.0-alpha.7 2021-04-19 23:49:12 +01:00
David Hewitt d153bca2c7
Merge pull request #1557 from davidhewitt/cargo-clippy-rebuilds
build: avoid rebuilds when using clippy in a virtualenv
2021-04-19 22:29:26 +01:00
David Hewitt 4c01ce0127
Merge pull request #1569 from davidhewitt/allow-coverage-cache-fail
ci: allow coverage cache to fail
2021-04-19 22:28:57 +01:00
David Hewitt 2e7eb09ac1 ci: allow coverage cache to fail 2021-04-19 09:50:25 +01:00
David Hewitt 2b9085abdb build: avoid rebuilds when using clippy in a virtualenv 2021-04-19 09:45:01 +01:00
David Hewitt 6bfca272bf
Merge pull request #1563 from davidhewitt/safer-datetime-ffi
ffi: prevent segfault with datetime bindings
2021-04-18 11:28:10 +01:00
David Hewitt 82113d7e7c
Merge pull request #1565 from davidhewitt/pypy-3.7
pypy: support PyPy 7.3.4
2021-04-18 11:26:42 +01:00
David Hewitt d0f1600571 pypy: support PyPy 7.3.4 2021-04-18 09:20:05 +01:00
David Hewitt b9d076a45a
Merge pull request #1564 from davidhewitt/allow-cache-errors
ci: allow failure on cache errors
2021-04-18 08:12:56 +01:00
David Hewitt 6acbeecf8d ci: allow failure on cache errors 2021-04-18 07:08:16 +01:00
David Hewitt eaf75023ed ffi: prevent segfault with datetime bindings 2021-04-17 11:01:52 +01:00
Yuji Kanagawa 45b42aee1d
Merge pull request #1553 from davidhewitt/better-auto-initialize-message
auto-initialize: better error messages and embedding docs
2021-04-13 10:34:22 +09:00
David Hewitt 9cdec14454
Merge pull request #1559 from davidhewitt/tidy-clippy-allows
clippy: tidy up allow lints
2021-04-12 19:02:04 +01:00
David Hewitt b4636e680b
Merge pull request #1534 from davidhewitt/buffer-errors
buffer: tidy up exceptions
2021-04-12 09:11:55 +01:00
David Hewitt 355df5a37f auto-initialize: better error messages and embedding docs 2021-04-12 01:29:03 +01:00
David Hewitt aa0b5d8488 buffer: tidy up exceptions 2021-04-12 01:21:48 +01:00
David Hewitt ac0bd0c0f1 clippy: tidy up allow lints 2021-04-12 01:20:04 +01:00
David Hewitt a9942bd987
Merge pull request #1558 from PyO3/davidhewitt-patch-1
ci: fix macOS cache (try 2)
2021-04-12 00:40:24 +01:00
David Hewitt 261ba692a4 ci: fix macOS cache (try 2) 2021-04-11 23:23:57 +01:00
David Hewitt bbc956b1a8
Merge pull request #1555 from davidhewitt/macos-cache
ci: fix macOS cache
2021-04-11 21:27:27 +01:00
David Hewitt 2c23da74b7 ci: fix macOS cache 2021-04-11 18:39:20 +01:00
David Hewitt f4456ae37c
Merge pull request #1550 from ravenexp/arch-env-vars
Update `build.rs` env vars in Architecture.md
2021-04-11 17:31:57 +01:00
messense 7ac75366c2
Merge pull request #1552 from jameshilliard/cross-rerun
Rerun if PYO3_CROSS env variable changes.
2021-04-09 18:26:41 +08:00
James Hilliard e7b1ea48a8 Rerun if PYO3_CROSS env variable changes. 2021-04-09 02:28:20 -06:00
Sergey Kvachonok 68d187a00a Update build.rs env vars in Architecture.md 2021-04-08 09:57:49 +03:00
David Hewitt f5188bb884
Merge pull request #1546 from ravenexp/class-proto
Add SequenceProtocol and MappingProtocol descriptions to the guide
2021-04-07 23:20:39 +01:00
David Hewitt 990bbb5f70
Merge pull request #1537 from davidhewitt/maturin-examples-v2
examples: maturin and setuptools_rust examples
2021-04-07 08:05:18 +01:00
Sergey Kvachonok e8a277e1ff
Apply suggestions from code review
- Style

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-04-07 08:23:43 +03:00
Sergey Kvachonok 88849bd96b Add PyMappingProtocol description to the guide
References:

[1]: https://docs.python.org/3/reference/datamodel.html#emulating-container-types
[2]: https://docs.python.org/3/c-api/mapping.html
[3]: https://docs.python.org/3/c-api/typeobj.html#c.PyMappingMethods
2021-04-05 14:19:18 +03:00
Sergey Kvachonok b1aae93645 Add PySequenceProtocol description to the guide
References:

[1]: https://docs.python.org/3/reference/datamodel.html#emulating-container-types
[2]: https://docs.python.org/3/c-api/sequence.html
[3]: https://docs.python.org/3/c-api/typeobj.html#c.PySequenceMethods
2021-04-05 14:18:48 +03:00
Sergey Kvachonok 4b675cc364 Insert missing impl keywords
Updates the class customization guide.
2021-04-05 12:02:46 +03:00
Sergey Kvachonok 0c0214690f Remove issue #844 mention from the guide
Supposedly resolved by https://github.com/PyO3/pyo3/pull/1107

Fix a typo in the subsection header.
2021-04-05 08:35:02 +03:00
Yuji Kanagawa 7eb3aa3fd2
Merge pull request #1545 from davidhewitt/instrument-coverage
coverage: use source-based coverage
2021-04-04 20:40:50 +09:00
Yuji Kanagawa 1aeaa130d2
Merge pull request #1544 from davidhewitt/ci-cache
actions: cache rust builds
2021-04-04 20:37:13 +09:00
David Hewitt dafbec7e54 coverage: remove panic_unwind hack 2021-04-04 10:05:25 +01:00
David Hewitt 6702bd062c actions: cache rust builds 2021-04-04 09:44:41 +01:00
David Hewitt e66231ae5d coverage: use source-based coverage 2021-04-04 09:41:10 +01:00
David Hewitt 499f38caed
Merge pull request #1542 from davidhewitt/contributing-sponsorship
readme/contributing: sponsorship notes and minor tweaks
2021-04-03 12:59:19 +01:00
David Hewitt 0ae7b69295
examples: add links to packaging tools
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2021-04-03 12:50:42 +01:00
David Hewitt 370652eba8 examples: maturin and setuptools_rust examples 2021-04-03 11:59:41 +01:00
David Hewitt 1751a7fb19
Merge pull request #1543 from davidhewitt/guide-fixups
guide: fixups to build
2021-04-03 11:44:11 +01:00
David Hewitt f953059880 guide: fixups to build 2021-04-03 10:50:57 +01:00