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
David Hewitt
5b9d3097bd
Merge pull request #2520 from jonaspleyer/main
...
guide: python_from_rust: fix typo for call0
2022-07-25 19:05:53 +01:00
Jonas Pleyer
9d081e76a4
guide: python_from_rust: fix typo for call0
2022-07-25 12:36:51 -04:00
David Hewitt
63b1d2228e
Merge pull request #2485 from davidhewitt/rework-capsule
...
types: rework PyCapsule for soundness
2022-07-23 21:28:33 +01:00
David Hewitt
2aa44b5c16
types: rework PyCapsule for soundness
2022-07-23 20:54:31 +01:00
David Hewitt
e40b25237d
Merge pull request #2518 from mejrs/acquire_gil_tests
...
Use Python::with_gil in tests
2022-07-20 06:54:35 +01:00
mejrs
1983671782
Try fix hashbrown version on msrv
2022-07-19 20:17:23 +02:00
mejrs
984fdf57c7
Use Python:;with_gil in tests
2022-07-19 19:34:23 +02:00
David Hewitt
2b6d59f889
Merge pull request #2515 from davidhewitt/changelog-tidy
...
changelog: tidy up & corrections
2022-07-17 07:44:23 +01:00
David Hewitt
fa19f322d2
Merge pull request #2503 from davidhewitt/extract_argument_holder
...
pyfunction: use extract_argument with holder to avoid extractext
2022-07-17 07:14:53 +01:00
David Hewitt
a8650f43e0
changelog: tidy up & corrections
2022-07-17 07:11:29 +01:00
messense
a00e9d553d
Update Python to 3.11.0b4 in emscripten test ( #2507 )
...
* Update Python to 3.11.0b4 in emscripten test
* Print traceback when import exception failed
* Try `ALLOW_MEMORY_GROWTH=1`
2022-07-15 20:39:58 +01:00
David Hewitt
de317a5667
Merge pull request #2512 from PWhiddy/patch-1
...
update url to renamed branch
2022-07-15 19:28:10 +01:00
Peter Whidden
bab9e07c42
update url to renamed branch
2022-07-15 13:38:49 -04:00
messense
3c0520da83
Add FFI definitions for Py_EnterRecursiveCall
and Py_LeaveRecursiveCall
( #2511 )
...
* Add FFI definitions for `Py_EnterRecursiveCall` and
`Py_LeaveRecursiveCall`
* Update pyo3-ffi/src/ceval.rs
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2022-07-15 15:45:15 +08:00
David Hewitt
5ff494c855
Merge pull request #2283 from davidhewitt/0.15-deprecations
...
refactor: remove all 0.15 deprecations
2022-07-15 07:49:51 +01:00
David Hewitt
d5e99b635d
refactor: remove all 0.15 deprecations
2022-07-15 06:33:14 +01:00
David Hewitt
5a1be18266
Merge pull request #2508 from davidhewitt/fix-fmt
...
fix formatting in datetime tests
2022-07-14 09:42:42 +01:00
David Hewitt
209c942277
pyfunction: use extract_argument with holder to avoid extractext
2022-07-14 08:42:22 +01:00
David Hewitt
2623ed5ac6
fix formatting in datetime tests
2022-07-14 08:35:24 +01:00
David Hewitt
379f29ade2
Merge pull request #2506 from messense/windows-pypy-import-lib
...
Add support for generating PyPy Windows import library
2022-07-14 08:30:00 +01:00
messense
dfe223619a
Add support for generating PyPy Windows import library
2022-07-14 14:22:33 +08:00
David Hewitt
402018e628
Merge pull request #1588 from davidhewitt/timezone_offset
...
datetime: support timezone bindings
2022-07-13 23:11:56 +01:00
David Hewitt
7babd13830
datetime: support timezone bindings
2022-07-13 22:05:17 +01:00
Jérome Eertmans
308ffa25b0
Prevent str
from converting to Vec<&str>
and Vec<String>
( #2500 )
2022-07-13 21:44:44 +01:00
David Hewitt
adfc83681d
Merge pull request #2504 from davidhewitt/fix-beta-clippy
...
clippy: fix some warnings from beta toolchain
2022-07-13 08:39:16 +01:00