Commit graph

4777 commits

Author SHA1 Message Date
Jonathan Coates 73242f0ee3
Add release notes 2022-09-19 14:21:28 +01:00
David Hewitt c1cb922c37
Merge pull request #2627 from PyO3/davidhewitt-patch-2
readme: correct wording
2022-09-19 15:17:31 +02:00
David Hewitt 760cf7a160
readme: correct wording 2022-09-19 14:34:44 +02:00
Bruno Kolenbrander e3b0b68224
Merge pull request #2621 from prehner/add_feos
Add FeOs to examples
2022-09-18 18:07:15 +02:00
Philipp Rehner 1dbbaafa65 Add FeOs to examples 2022-09-18 08:45:49 +02:00
Jonathan Coates 26a9603519 Some improvements to __richcmp__ on enums
- Implement __ne__ as well as __eq__.
 - Return NotImplemented when types cannot be converted, rather than
   throwing.
 - Compare the integer ids inside the __eq__/__ne__ implementation.
   Previously a match block was generated.
2022-09-16 15:30:56 +01:00
messense bdc1468baf
Merge pull request #2625 from AdilZouitine/main
Add river on the examples
2022-09-16 20:51:41 +08:00
Adil Zouitine 6cb22e4f75
Add river on the examples 2022-09-16 09:30:47 +02:00
David Hewitt 3f4a87cd5f
Merge pull request #2617 from PyO3/xtask-drop-workspace
Selecting the whole workspace conflicts with package selection in llvm_cov_command.
2022-09-14 21:49:03 +01:00
Adam Reichold 370319e80d Fix itertools version to keep MSRV builds working. 2022-09-13 20:06:46 +02:00
Adam Reichold 2e73a19c43 Selecting the whole workspace conflicts with package selection in llvm_cov_command. 2022-09-13 19:58:00 +02:00
David Hewitt 045df99061
Merge pull request #2616 from davidhewitt/changelog-unreleased
CHANGELOG: add link for unreleased changes
2022-09-13 18:20:04 +01:00
David Hewitt 0cc393716f CHANGELOG: add link for unreleased changes 2022-09-13 07:50:30 +01:00
David Hewitt 7b3ad2b718
Merge pull request #2607 from davidhewitt/towncrier
use towncrier to generate CHANGELOG
2022-09-11 09:00:49 +01:00
David Hewitt 269a671283
Merge pull request #2614 from ryanrussell/docs-codeblock-colors
docs: codeblock labels to `rust,ignore` format
2022-09-11 08:46:38 +01:00
Ryan Russell 04a7b5f14d docs: codeblock labels to rust,ignore format
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-09-10 11:21:04 -05:00
David Hewitt bb99c98ec1 use towncrier to generate CHANGELOG 2022-09-08 07:58:53 +01:00
David Hewitt 8797a6f799
Merge pull request #2609 from davidhewitt/netlify-main-docs
netlify: fix main doc redirect
2022-09-07 08:53:14 +01:00
David Hewitt 58596ac631
Merge pull request #2588 from davidhewitt/require-docs
docs: require docs on all public APIs
2022-09-07 08:23:59 +01:00
David Hewitt 5c070ae473 netlify: fix main doc redirect 2022-09-07 07:46:24 +01:00
David Hewitt ab8f940e46 docs: require docs on all public APIs 2022-09-07 07:42:23 +01:00
David Hewitt 7827393f26
Merge pull request #2608 from messense/netlify-preview-main
netlify: redirect to `main/` for deploy previews
2022-09-07 07:42:03 +01:00
messense 1698c84c00
netlify: redirect to main/ for deploy previews 2022-09-07 10:11:09 +08:00
David Hewitt ec58ad2f6f
Merge pull request #2490 from CLOVIS-AI/type-info
Runtime type information for objects crossing the Rust–Python boundary
2022-09-06 22:26:39 +01:00
Ivan “CLOVIS” Canet 453e3559d3
Python types: use Cow instead of bare references 2022-09-06 21:30:39 +02:00
Ivan “CLOVIS” Canet 0e6ae6489f
Declare the Python type of Rust collections 2022-09-06 21:30:38 +02:00
Ivan “CLOVIS” Canet 2ffc4bb6f6
Declare the Python type of Rust primitives 2022-09-06 21:30:38 +02:00
Ivan “CLOVIS” Canet d7c1a2906a
IntoPy and FromPyObject allow the retrieval of the type information 2022-09-06 21:30:36 +02:00
Ivan “CLOVIS” Canet 8898bc9900
Represent Python types
The TypeInfo structure represents Python types used in hints. Its Display implementation converts it to the exact syntax for it to appear in a type hint.
2022-09-06 21:30:16 +02:00
Ivan “CLOVIS” Canet 13e8efaeae
Added the missing 'Unreleased' section in the changelog 2022-09-06 21:30:09 +02:00
David Hewitt 3af18ea6f9
Merge pull request #2587 from davidhewitt/no-more-pyproto
pyproto: remove deprecated feature
2022-09-06 18:58:17 +01:00
David Hewitt 5718adeec7 pyproto: remove deprecated feature 2022-09-06 08:38:44 +01:00
David Hewitt 68f1729a7b
Merge pull request #2600 from PyO3/release-0.17.1
release: 0.17.1
2022-08-28 09:34:08 +01:00
David Hewitt caaf7bbda7 release: 0.17.1 2022-08-28 08:27:56 +01:00
messense 511303a102
Merge pull request #2599 from davidhewitt/no-main-gh-pages
gh-pages: stop building guide for main
2022-08-28 12:04:27 +08:00
David Hewitt 3e15bb963b gh-pages: stop building guide for main 2022-08-27 21:15:12 +01:00
David Hewitt 9e9e9131ad
Merge pull request #2595 from davidhewitt/kwargs-clippy
pyfunction: fix clippy lint on **kwargs argument
2022-08-26 23:06:25 +01:00
David Hewitt 058af11c4d pyfunction: fix clippy lint on **kwargs argument 2022-08-26 20:27:44 +01:00
David Hewitt 73c85327d0
Merge pull request #2592 from davidhewitt/issue-2280
pyfunction: fix from_py_with on Option<T> argument
2022-08-26 20:24:59 +01:00
David Hewitt 9d543b3f4b pyfunction: fix from_py_with on Option<T> argument 2022-08-25 18:57:17 +01:00
David Hewitt f927cdbba8
Merge pull request #2558 from mejrs/cargo
Call the right cargo binary
2022-08-25 18:25:02 +01:00
Eric Jolibois 611ecc15fa
fix: export new dict views types (#2590)
* fix: export new dict views types

* fix exposed PyDictItems

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>

* add changelog entry

Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-08-25 09:03:57 +01:00
David Hewitt c28e919f0f
Merge pull request #2589 from davidhewitt/netlify-redirects
netlify: fix redirects
2022-08-24 10:54:35 +01:00
David Hewitt e511b268b1 netlify: fix redirects 2022-08-24 10:25:58 +01:00
David Hewitt bf084c0692
Merge pull request #2575 from PyO3/release-0.17.0
release: 0.17.0
2022-08-23 22:47:52 +01:00
David Hewitt 04c1ac87f1 release: 0.17.0 2022-08-23 21:21:19 +01:00
David Hewitt bc03d6a98d
Merge pull request #2580 from davidhewitt/docs-bonanza
docs: pile of tweaks and additions
2022-08-23 21:19:13 +01:00
David Hewitt f7537909a1 guide: note existence of PyFunction::new_closure 2022-08-23 20:49:14 +01:00
David Hewitt 86a11164e0 guide: note __hash__ can have any integer type up to 64 bits 2022-08-23 20:49:14 +01:00
David Hewitt c5ecf47890 docs: note __richcmp__ disables default __hash__ 2022-08-23 20:49:14 +01:00