David Hewitt
7bdc504252
Merge pull request #2567 from davidhewitt/pyclass-sequence
...
pyclass: add `sequence` option to implement `sq_length`
2022-08-21 07:31:58 +01:00
David Hewitt
d2b4c3a324
Merge pull request #2569 from davidhewitt/fix-gh-pages-deploy
...
gh-pages: don't publish whole target directory
2022-08-20 09:19:58 +01:00
David Hewitt
fd8026c7bb
pyclass: add `sequence` option to implement `sq_length`
2022-08-20 07:14:26 +01:00
messense
5def1a0057
Merge pull request #2568 from davidhewitt/netlify-tweaks
...
netlify: add banner back to internal docs
2022-08-20 10:49:50 +08:00
David Hewitt
1c02533641
gh-pages: don't publish whole target directory
2022-08-19 15:54:19 +01:00
David Hewitt
e0b75768e4
netlify: add banner back to internal docs
2022-08-19 15:35:53 +01:00
David Hewitt
c698067da4
Merge pull request #2562 from PyO3/netlify-test
...
guide: deployment to netlify
2022-08-19 13:46:42 +01:00
David Hewitt
b70318fd1b
guide: deployment to netlify
2022-08-19 12:46:56 +01:00
David Hewitt
5d44c5225c
rebase of #2553 - created a builder for creating types, allowing for more flexibility ( #2565 )
...
* Rewrote `create_type_object_impl` to use a builder, allowing for more flexibility.
* Fixed clippy warning about complex type
* Removed `with_` prefix from `PyTypeBuilder`
* Fixed misnamed function call
Co-authored-by: Aidan Grant <mraidangrant@gmail.com>
2022-08-19 11:33:04 +01:00
David Hewitt
2dade088b7
Merge pull request #2564 from davidhewitt/ffi-py3.11
...
ffi: swap field order in PyCodeObject for 3.11
2022-08-19 10:02:07 +01:00
David Hewitt
88ad288345
ffi: swap field order in PyCodeObject for 3.11
2022-08-19 09:28:57 +01:00
messense
c4cf5fe6cf
Merge pull request #2563 from davidhewitt/ci-tidys
...
misc package updates
2022-08-18 17:25:35 +08:00
David Hewitt
5ca3001957
examples: update maturin to 0.13
2022-08-18 08:17:53 +01:00
David Hewitt
2ccc034d2f
msrv: unpin anyhow, pin bumpalo
2022-08-18 07:48:09 +01:00
Bruno Kolenbrander
f718d34e70
Merge pull request #2559 from Cryptex-github/main
...
Add ril-py to examples
2022-08-16 23:37:35 +02:00
Cryptex
6d8ac28bcf
Add ril-py to examples
2022-08-16 13:01:11 -07:00
David Hewitt
e34742e154
Merge pull request #2557 from davidhewitt/ffi-py3.11
...
ffi: more fixes for Python 3.11 rc1
2022-08-16 18:50:35 +01:00
David Hewitt
218ef6cd83
ffi: more fixes for Python 3.11 rc1
2022-08-16 18:17:50 +01:00
David Hewitt
e38676d825
Merge pull request #2554 from mejrs/acquire_gil2
...
Deprecate acquire_gil
2022-08-15 06:20:36 +01:00
mejrs
fc6121eafe
Deprecate acquire_gil
2022-08-15 03:34:47 +02:00
David Hewitt
dc4c581979
Merge pull request #2552 from davidhewitt/ffi-py3.11
...
ffi: fixes to 3.11 bindings
2022-08-14 17:17:25 +01:00
David Hewitt
8907cabaf9
Merge pull request #2544 from davidhewitt/panic-drop-abort
...
safety: abort if dropping panic payloads panic
2022-08-14 14:24:12 +01:00
David Hewitt
1e73ef67f2
ffi: fixes to 3.11 bindings
2022-08-14 14:23:24 +01:00
David Hewitt
a3f093d7f0
safety: abort on uncaught panics
2022-08-14 13:47:46 +01:00
David Hewitt
15d816d3f2
Merge pull request #2550 from davidhewitt/beta-clippy
...
clippy: fixes flagged by beta toolchain
2022-08-14 08:22:08 +01:00
David Hewitt
de8fa18946
clippy: fixes flagged by beta toolchain
2022-08-14 07:44:11 +01:00
David Hewitt
b389a6ba4d
Merge pull request #2542 from davidhewitt/pypy-pyfunction-type
...
pypy: disable PyFunction
2022-08-13 18:18:27 +01:00
David Hewitt
c58ff7758c
pypy: disable PyFunction
2022-08-13 17:51:10 +01:00
messense
020e583f7b
Merge pull request #2548 from messense/clippy-1.63
...
Fix new clippy warnings in Rust 1.63.0
2022-08-12 15:05:07 +08:00
David Hewitt
987858f5fa
ci: ui tests for 1.63
2022-08-12 07:26:29 +01:00
messense
db177a07ad
Fix new clippy warnings in Rust 1.63.0
2022-08-12 11:50:23 +08:00
David Hewitt
6eb47c2fce
Merge pull request #2543 from davidhewitt/ci-anyhow
...
ci: pin anyhow for MSRV
2022-08-11 08:45:47 +01:00
David Hewitt
9ab5de1441
ci: pin anyhow for MSRV
2022-08-11 07:58:41 +01:00
David Hewitt
e31e27be55
Merge pull request #2541 from aganders3/patch-1
...
Update CHANGELOG.md
2022-08-10 22:08:43 +01:00
Ashley Anderson
b346df56a2
Update CHANGELOG.md
...
I'm not sure how I messed this up merging the changelog in #2477 . Sorry!
I guess chalk it up as more evidence that #2337 would be a welcome improvement.
2022-08-10 16:14:22 -04:00
Ashley Anderson
5d88e1d1c4
Update PyTryFrom for PyMapping and PySequence to more accurately check types ( #2477 )
...
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-08-10 21:03:18 +01:00
David Hewitt
8181160528
Merge pull request #2523 from davidhewitt/init-once
...
pymodule: only allow initializing once per process
2022-08-10 07:36:48 +01:00
David Hewitt
78ba70d2b4
pymodule: only allow initializing once per process
2022-08-09 19:52:25 +01:00
David Hewitt
10a87ac67b
Merge pull request #2539 from davidhewitt/msrv-serde
...
ci: downgrade serde to 1.0.142 for MSRV
2022-08-09 19:52:02 +01:00
David Hewitt
af1faea79f
ci: downgrade serde to 1.0.142 for MSRV
2022-08-09 19:14:15 +01:00
messense
8bc86c39eb
Merge pull request #2538 from davidhewitt/emscripten-link-args
...
pyo3-build-config: add link args for wasm32-unknown-emscripten
2022-08-07 10:57:56 +08:00
dswij
480fe7ef05
Expose `PyDict_GetItemWithError` on `PyDict` object ( #2536 )
...
* Expose `PyDict_GetItemWithError` on `PyDict` object
* Expose only on non-pypy
* use `unwrap_err` on `GetItemWithError` test
* Add changes info to changelog
* Ignore import for pypy ignored test
2022-08-07 00:19:02 +08:00
David Hewitt
49246bec45
pyo3-build-config: add link args for wasm32-unknown-emscripten
2022-08-06 08:05:45 +01:00
Nathan Henrie
1b7a850fad
Minor typo: missing space ( #2533 )
...
* Add missing space
* It's -> its
2022-08-04 22:45:05 +00:00
David Hewitt
c80f63610c
Merge pull request #2534 from n8henrie/issue_1800
...
Guide: additional link args and troubleshooting for MacOS
2022-08-04 23:20:43 +01:00
Nathan Henrie
1ebceb4f86
Additional link args and troubleshooting for MacOS
...
Fixes https://github.com/PyO3/pyo3/issues/1800
Documents issues linking with the system python (`/usr/bin/python3`) as
well as reemphasizes the need for `--no-default-features` with `cargo
test` on MacOS
2022-08-02 16:52:53 -06:00
Sam Vente
6503128442
add first version of getting started page to the guide ( #2499 )
...
* add first version of getting started page to the guide
* add more info on maturin
2022-08-01 10:30:53 +08:00
messense
97330a59d2
Merge pull request #2524 from acshi/main
...
Documentation of another workaround for enabling the extension-module feature
2022-07-30 11:32:21 +08:00
messense
624565cd81
Pin emscripten test python version to 3.11b4 ( #2526 )
...
* Fix emscripten test and pin python version
* Try emscripten 3.1.17
* Try 3.11b4
2022-07-30 00:04:47 +08:00
Acshi Haggenmiller
6831b4875b
Add documentation for more workarounds for enabling the extension-module feature
...
Closes https://github.com/PyO3/pyo3/issues/2521
2022-07-29 00:03:51 -07:00