Commit Graph

3786 Commits

Author SHA1 Message Date
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
Yuji Kanagawa 6c577962bb
Merge pull request #1540 from davidhewitt/guide-auto-versions
guide: automatically set pyo3 version in links and cargo toml
2021-04-03 18:18:25 +09:00
David Hewitt 303f23389b readme/contributing: sponsorship notes and minor tweaks 2021-04-03 09:39:50 +01:00
David Hewitt 31eeb86e98 guide: automatically set pyo3 version in links and cargo toml 2021-04-03 07:05:10 +01:00
David Hewitt b7b9f55a93
Merge pull request #1538 from davidhewitt/pypy-3.7
pypy: support PyPy 3.7
2021-04-03 07:03:43 +01:00
David Hewitt 5bf0bb80f6
Merge pull request #1539 from davidhewitt/macos-link-args
macos: automatically provide required linker arguments
2021-04-03 07:02:33 +01:00
David Hewitt b213f06df4 macos: automatically provide required linker arguments 2021-04-02 14:18:28 +01:00
David Hewitt 410f61934a pypy: support PyPy 3.7 2021-04-02 12:11:14 +01:00
messense 4713b468af
Merge pull request #1533 from davidhewitt/pypy-exceptions
pypy: support EnvironmentError, IOError, WindowsError
2021-03-31 15:40:18 +08:00
David Hewitt e035b2abcf pypy: support EnvironmentError, OSError, WindowsError 2021-03-31 08:03:45 +01:00