David Hewitt
0f92f28ffd
Merge pull request #1958 from davidhewitt/pymethods-protos-arguments-cleanup
...
macros: clean up protocol argument extraction a bit
2021-10-31 15:58:24 +00:00
David Hewitt
6a3e1e7339
macros: clean up protocol argument extraction a bit
2021-10-31 11:30:34 +00:00
David Hewitt
bfe708683b
Merge pull request #1954 from PyO3/feature-fix
...
add two missing feature restrictions for nightly
2021-10-30 11:20:52 +01:00
David Hewitt
50df2c7b95
Merge pull request #1955 from PyO3/cargo-toml-deps
...
Cargo.toml: sort dependencies by type
2021-10-30 11:19:26 +01:00
David Hewitt
615876d612
Merge pull request #1956 from PyO3/complex-doc-fix
...
complex: fix a rustdoc warning and fix crate name
2021-10-30 11:15:43 +01:00
Georg Brandl
2c00866596
complex: fix a rustdoc warning and fix crate name
2021-10-30 11:31:21 +02:00
Georg Brandl
4bbfee831f
Cargo.toml: sort dependencies by type
...
In particular, distinguish optional crates between those
that are necessary for some named feature (e.g. macros),
and those that can be activated as their own feature
(e.g. anyhow).
2021-10-30 10:07:22 +02:00
Georg Brandl
5764355c2d
add two missing feature restrictions for nightly
...
Found with `cargo hack --feature-powerset test`.
2021-10-30 09:40:55 +02:00
David Hewitt
833f365aad
Merge pull request #1953 from davidhewitt/contributing-docs
...
contributing: add command for docs build
2021-10-28 04:16:23 +01:00
David Hewitt
eda3f6c027
Merge pull request #1952 from davidhewitt/add-rust-toolchain
...
rust-toolchain: add file to require rust-src
2021-10-28 04:15:59 +01:00
David Hewitt
d59ef542b2
contributing: add command for docs build
2021-10-27 23:21:08 +01:00
David Hewitt
2d98011e0c
rust-toolchain: add file to require rust-src
2021-10-27 23:15:46 +01:00
David Hewitt
a5bc0a6b64
Merge pull request #1948 from davidhewitt/pypy-3.8
...
pypy: support 3.8
2021-10-27 23:15:02 +01:00
David Hewitt
6b1afa4040
pypy: support 3.8
2021-10-27 22:17:45 +01:00
David Hewitt
13fc4f1ea9
Merge pull request #1950 from indygreg/pymem-use
...
ffi: expose pymem APIs
2021-10-25 07:45:42 +01:00
Gregory Szorc
604d55cf71
ffi: expose pymem APIs
...
These symbols were inadvertently dropped in commit
0a50b42352
. I found this when
testing the 0.15 release branch for PyOxidizer.
2021-10-24 14:17:58 -07:00
David Hewitt
f5d1d4f6e7
Merge pull request #1945 from davidhewitt/pymethods-proto-docs
...
guide: magic methods in pymethods
2021-10-24 21:25:35 +01:00
David Hewitt
3ab32ff01f
guide: magic methods in pymethods
2021-10-24 15:59:22 +01:00
David Hewitt
fc6b4d1021
Merge pull request #1947 from davidhewitt/msrv-python-3.10
...
ci: test MSRV and coverage with Python 3.10
2021-10-24 15:55:23 +01:00
David Hewitt
d15e5ea254
ci: test Python 3.10 in coverage jobs
2021-10-24 11:25:10 +01:00
David Hewitt
4a6149ca40
ci: test MSRV with Python 3.10
2021-10-24 11:21:23 +01:00
David Hewitt
b709781d83
Merge pull request #1946 from davidhewitt/test-descr-delete
...
pymethods: test __delete__
2021-10-24 10:24:55 +01:00
David Hewitt
0236879e8e
pymethods: test __delete__
2021-10-24 09:40:32 +01:00
David Hewitt
fd89c180e4
Merge pull request #1943 from davidhewitt/makefile-tweaks
...
makefile: fix test_py job, add list_all_additive_features
2021-10-24 09:09:29 +01:00
David Hewitt
83148c46aa
Merge pull request #1944 from davidhewitt/ci-codecov-action-2
...
ci: bump coverage job package versions
2021-10-24 09:09:04 +01:00
David Hewitt
4ff9ec7828
ci: bump coverage job package versions
2021-10-24 08:15:20 +01:00
David Hewitt
031d7bd094
makefile: fix test_py job, add list_all_additive_features
2021-10-24 08:03:55 +01:00
David Hewitt
ae186efa8a
Merge pull request #1942 from indygreg/restore-findextensionobject
...
ffi: restore _PyImport_FindExtensionObject on Python 3.10
2021-10-24 07:42:58 +01:00
Gregory Szorc
a5f804e817
ffi: restore _PyImport_FindExtensionObject on Python 3.10
...
This symbol was initially removed from 3.10. But it was restored
late in the 3.10 development cycle in time for 3.10.0. See
https://bugs.python.org/issue45307 . It is slated for removal in
3.11.
2021-10-23 15:24:52 -07:00
David Hewitt
dc0e29af1c
Merge pull request #1929 from davidhewitt/call-proto
...
pymethods: support __call__ proto
2021-10-23 22:55:30 +01:00
David Hewitt
8421479a2a
Merge pull request #1939 from sobolevn/patch-1
...
Fixes typo in docs
2021-10-23 08:20:54 +01:00
David Hewitt
0e0e6f8bf5
pymethods: support protocols with multiple-pymethods
feature
2021-10-23 00:07:35 +01:00
David Hewitt
4b2345fe80
pymethods: support __call__ proto
2021-10-23 00:06:46 +01:00
Nikita Sobolev
5ae9178781
Fixes typo in docs
2021-10-23 00:03:41 +01:00
David Hewitt
f5f000e5a4
Merge pull request #1940 from messense/fix-clippy
...
Fix clippy warnings and update ui tests output
2021-10-22 23:57:34 +01:00
David Hewitt
54ddd5aad7
tests: move ui tests updated for rust 1.56 to new section
2021-10-22 23:16:39 +01:00
David Hewitt
7b7cab1027
Merge pull request #1928 from mejrs/remove_doc_cfg
...
Remove doc_cfg attributes
2021-10-22 23:05:38 +01:00
messense
d6401966f9
Update UI tests output
2021-10-22 16:40:57 +08:00
messense
bfa1d3fa35
Fix clippy needless-doctest-main
warnings
2021-10-22 11:23:44 +08:00
David Hewitt
fd9b0cab1b
Merge pull request #1938 from mejrs/issues
...
Update issue templates
2021-10-21 18:17:37 +01:00
mejrs
702597afda
Update issue templates
2021-10-21 04:35:29 +02:00
mejrs
dd0bf8118d
Fix some cfg's and banners
2021-10-21 04:32:36 +02:00
David Hewitt
ace68b3044
Merge pull request #1936 from davidhewitt/stable-python-3.10
...
ci: use stable Python 3.10
2021-10-20 09:13:50 +01:00
David Hewitt
eacc70310a
ci: use stable Python 3.10
2021-10-20 07:55:48 +01:00
David Hewitt
465e8372ed
Merge pull request #1937 from davidhewitt/loosen-trybuild-dep
...
deps: loosen trybuild requirement to allow versions newer than 1.0.49
2021-10-20 07:46:23 +01:00
David Hewitt
9bbc49875d
deps: loosen trybuild requirement to allow versions newer than 1.0.49
2021-10-19 23:25:04 +01:00
Azat Ibrakov
7349513f5b
Add fallback for __mod__
magic method ( #1934 )
...
* Add fallback for `__mod__` magic method
* Add 'CHANGELOG' entry
* Complete tests
2021-10-19 23:14:26 +01:00
Ashley Anderson
bf26daec2d
Positional-only args ( #1925 )
...
* Add support for positional-only args
* Update changelog. Add a few more tests. Run rust-fmt.
* Fix test.
* Fix tests again.
* Update CHANGELOG.md to link PR instead of issue
* Update guide to mention positional-only params
* Add unreachable!() per code review
* Update and expand tests for pos args.
* Fix tests, lint, add UI tests.
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-10-19 23:13:27 +01:00
mejrs
bfb33da168
Merge branch 'remove_doc_cfg' of https://github.com/mejrs/pyo3 into remove_doc_cfg
2021-10-17 15:47:18 +02:00
mejrs
20c3c068f8
Remove doc_cfg attributes
2021-10-17 15:47:09 +02:00