Commit Graph

2679 Commits

Author SHA1 Message Date
Alex Gaynor e615ce8c05 Start documenting abi3 support 2020-09-23 18:42:49 -04:00
Alex Gaynor d8c8c1760e Link python3.lib instead of python3x.lib on Windows in abi3 mode 2020-09-23 08:32:30 -04:00
Yuji Kanagawa 63ea36fb90
Merge pull request #1204 from PyO3/dependabot/cargo/paste-1.0.1
Update paste requirement from 0.1.6 to 1.0.1
2020-09-23 17:15:08 +09:00
dependabot[bot] 61c388ef6c
Update paste requirement from 0.1.6 to 1.0.1
Updates the requirements on [paste](https://github.com/dtolnay/paste) to permit the latest version.
- [Release notes](https://github.com/dtolnay/paste/releases)
- [Commits](https://github.com/dtolnay/paste/compare/0.1.6...1.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-21 06:09:24 +00:00
Yuji Kanagawa e33e58fc72
Merge pull request #1201 from alex/abi3-text-signature
Hack __text_signature__ back to working with abi3
2020-09-20 16:46:04 +09:00
kngwyu 1985578bb7 Don't compile extends=PyDict test in class.md with abi3 2020-09-20 16:20:08 +09:00
kngwyu 869a5e2f20 Fix an abi3 ui test for the latest Rustc 2020-09-20 15:33:55 +09:00
Yuji Kanagawa 4862f569ea
Merge pull request #1202 from alex/patch-1
Run abi3 tests in CI
2020-09-20 01:14:16 +09:00
Alex Gaynor 9d8559158b Hack __text_signature__ back to working with abi3 2020-09-19 11:43:57 -04:00
kngwyu 7644d67ad8 Inhibit subclassing native types with ABI3 set 2020-09-20 00:42:55 +09:00
Alex Gaynor 2a85c17f11
Run abi3 tests in CI 2020-09-19 11:27:06 -04:00
kngwyu c07e1aa40a Use abi3 feature, instead of unstable-api 2020-09-20 00:06:14 +09:00
David Hewitt 0ec10a2449
Merge pull request #1174 from sebpuetz/raw-pycfun-docs
Add documentation for raw_pycfuntion
2020-09-19 08:22:27 +01:00
Yuji Kanagawa c87a59c19d
Merge pull request #1189 from alex/abi3-tests-compile
Get all the tests building and passing!
2020-09-18 13:34:47 +09:00
Sebastian Pütz 0a346dfa7c Add documentation for raw_pycfuntion 2020-09-17 09:47:53 +02:00
David Hewitt 00440a79a1
Merge pull request #1199 from PyO3/davidhewitt-patch-6
Tidy up guide release
2020-09-17 05:12:03 +01:00
David Hewitt fcf1d0ca9a
Tidy up guide release 2020-09-16 22:25:43 +01:00
David Hewitt 15587f1b58
Merge pull request #1191 from PyO3/release-0.12.1
Release 0.12.1
2020-09-16 22:17:23 +01:00
David Hewitt c05815520c Release 0.12.1 2020-09-16 21:45:36 +01:00
David Hewitt 037ec83d6e
Merge pull request #1198 from PyO3/davidhewitt-patch-5
Fix doc update on release
2020-09-16 21:39:37 +01:00
David Hewitt ba360bc3cf
Fix doc update on release
Sorry for the noise, there were some errors in #1197 which github did not show until after I merged 😞
2020-09-16 21:11:31 +01:00
David Hewitt 88358dee08
Merge pull request #1197 from davidhewitt/update-doc-redirect
Fix doc redirect on release
2020-09-16 21:07:26 +01:00
David Hewitt 2213ab37b0 Fix doc redirect on release 2020-09-16 20:43:44 +01:00
Yuji Kanagawa c1b3e06a98
Merge pull request #1196 from alex/patch-1
fixed markdown syntax
2020-09-16 23:26:49 +09:00
David Hewitt 309ab16b20
Merge pull request #1194 from syrusakbary/patch-1
Update Wasmer Python extension link
2020-09-16 14:32:09 +01:00
Alex Gaynor 5fe1a44277
fixed markdown syntax 2020-09-16 08:47:58 -04:00
Alex Gaynor ba1056006a Get all the tests building, everythign except doctests passes! 2020-09-16 08:42:22 -04:00
Yuji Kanagawa a2dc4c17ac
Merge pull request #1188 from alex/abi3-warnings
Make check warning clean in limited API mode
2020-09-16 21:41:46 +09:00
Syrus Akbary e0775c363b
Update Wasmer Python extension link 2020-09-16 11:57:46 +03:00
David Hewitt f36fb4a08b
Merge pull request #1192 from PyO3/davidhewitt-patch-5
Fix link in changelog
2020-09-16 07:27:36 +01:00
David Hewitt 07f9ae2498
Fix link in changelog
Looks like this just got out of date at some point.
2020-09-15 22:33:30 +01:00
Alex Gaynor 870914da90 Make check warning clean in limited API mode 2020-09-15 07:50:24 -04:00
Yuji Kanagawa 2ec1c3b0b9
Merge pull request #1187 from alex/abi3-to-str
Make unicode handling abi3 friendly
2020-09-15 20:02:17 +09:00
Yuji Kanagawa 517af8c330
Merge pull request #1183 from alex/abi3-tp-finalizer
Remove finalizer code that was never reachable
2020-09-15 19:50:57 +09:00
Alex Gaynor 1b2d26794a Make unicode handling abi3 friendly 2020-09-14 22:11:00 -04:00
Alex Gaynor d0c2ebf0e1 Remove finalizer code that was never reachable and switch field access
to PyType_GetSlot
2020-09-14 12:21:28 -04:00
Matthew Treinish a0960f8918
Fix compilation on platforms that don't use i8 for c_char (#1182)
* Fix compilation on platforms that don't use i8 for c_char

This commit changes the cast of an c_char to be a c_char type instead of
i8. On x86 platforms i8 == c_char, but it can also be u8 on other
platforms. [1][2] This should fix compilation on those platforms by just
using the c_char type so that we're casting as the right type regardless
of which platform PyO3 is being built for.

Fixes #1181

[1] https://doc.rust-lang.org/std/os/raw/type.c_char.html
[2] https://github.com/rust-lang/rust/blob/master/library/std/src/os/raw/mod.rs#L55-L99

* Add changelog entry
2020-09-14 11:27:38 +01:00
Yuji Kanagawa afc2d10f2c
Merge pull request #1172 from alex/abi3-merge-master
merge master into abi3, resolving conflicts
2020-09-13 15:09:13 +09:00
Yuji Kanagawa 448f0bb738
Merge pull request #1179 from alex/patch-1
Don't consider it cross-compilation when building for 32-bit Windows on 64-bit windows
2020-09-13 15:08:35 +09:00
Alex Gaynor 10f8c24931
Update CHANGELOG.md 2020-09-12 19:41:02 -04:00
Alex Gaynor 8c011620fe
Merge branch 'master' into patch-1 2020-09-12 19:39:54 -04:00
David Hewitt 00a87008dc
Merge pull request #1178 from davidhewitt/fix-changelog-date
Fix date in changelog
2020-09-13 00:35:18 +01:00
Alex Gaynor d530e462f9
Update CHANGELOG.md 2020-09-12 19:19:33 -04:00
Alex Gaynor 62ad53f9fc
Don't consider it cross-compilation when building for 32-bit Windows on 64-bit windows 2020-09-12 19:10:02 -04:00
David Hewitt b7f45c4fbf
Merge pull request #1173 from PyO3/release-0.12
Release 0.12
2020-09-13 00:00:58 +01:00
Alex Gaynor 3cb0b112d2
Update src/err/mod.rs
Co-authored-by: Yuji Kanagawa <yuji.kngw.80s.revive@gmail.com>
2020-09-12 09:47:42 -04:00
David Hewitt 5ad89de170 Fix date in changelog 2020-09-12 14:45:20 +01:00
David Hewitt 32be8d9a3c Release 0.12 2020-09-12 14:13:45 +01:00
David Hewitt e3408e802a
Merge pull request #1175 from thatcr/thatcr-fix-anaconda-python
Fix cargo test with Anaconda python, and divergent gcc versions.
2020-09-11 22:00:46 +01:00
Rob Thatcher 118646dd4a update changelog 2020-09-11 17:31:41 +01:00