Commit Graph

1441 Commits

Author SHA1 Message Date
konstin f946888804 Ignore pip-wheel-metadata 2019-02-01 17:49:49 +01:00
konstin 853fc7c7d1
Merge pull request #332 from PyO3/inventory
Allow 0..n pymethod blocks without specialization
2019-02-01 17:40:23 +01:00
konstin 328d61ca3b Fix test for python2 2019-02-01 17:15:33 +01:00
konstin c868cc3e4b Fix test 2019-02-01 16:31:18 +01:00
konstin 6f1123e6b1 Update to new inventory version 2019-02-01 16:23:34 +01:00
konstin 56f2257e90 rust 2018 fixes 2019-02-01 16:23:34 +01:00
konstin c71c116f29 Better trait bounds with PyMethodsProtocol 2019-02-01 16:23:34 +01:00
konstin ae8a37cd0a Allow 0..n pymethod blocks without specialization 2019-02-01 16:23:34 +01:00
konstin 829f35af5b Migrate to rust 2018 2019-02-01 16:23:34 +01:00
konstin e1154120d1 ffi2 to rust 2018 2019-02-01 16:23:34 +01:00
konstin 9c3ac7e526
Merge pull request #336 from PyO3/rust_2018
Migrate to rust 2018
2019-02-01 16:21:16 +01:00
konstin 0495ee52d3 ffi2 to rust 2018 2019-02-01 15:25:58 +01:00
konstin 936f0153e8 Migrate to rust 2018 2019-02-01 14:23:29 +01:00
konstin 423b5d1099
Merge pull request #327 from StarryInternet/fix-cross-compilation
Implement Basic Cross Compile Support
2019-02-01 13:50:39 +01:00
Matt Pelland d3bb75e4c0
move cross compiling doc to the guide 2019-01-30 18:08:04 -05:00
Matt Pelland 7232323248
rename all cross compile variables to PYO3_CROSS_* prefix 2019-01-30 18:08:04 -05:00
Matt Pelland 8721f410e1
don't bury IO errors in parse_header_defines 2019-01-30 18:08:04 -05:00
Matt Pelland 9f5776f98c
add doc for C #define regex 2019-01-30 18:08:04 -05:00
Matt Pelland bc770b9f37
add documentation on cross compiling 2019-01-30 18:08:04 -05:00
Matt Pelland 6e4c2b71e0
do not call python interpreter when cross compiling 2019-01-30 18:08:03 -05:00
Matt Pelland 80a6318b43
avoid signedness issues when cross compiling 2019-01-30 18:08:03 -05:00
konstin ee4fc3b21d
Merge pull request #333 from PyO3/pin_nightly_in_ci
Pin nightly in ci
2019-01-30 16:42:38 +01:00
konstin fbe71b27cb Pin nightly in ci 2019-01-30 16:31:37 +01:00
konstin 3bb44629ac
Merge pull request #330 from Alexander-N/import-exception
Add $crate:: prefix in import_exception!
2019-01-30 16:18:45 +01:00
konstin bb4848f2c2
Merge pull request #329 from Alexander-N/get-started
Update Get Started section in user guide
2019-01-30 16:18:24 +01:00
Yuji Kanagawa fd199e2683
Merge pull request #331 from lukehsiao/patch-1
docs(rust-cpython): fix minor typos
2019-01-29 12:05:25 +09:00
Luke Hsiao 6fd41a16ae
docs(rust-cpython): fix minor typos 2019-01-28 15:44:17 -08:00
Alexander Niederbühl df36292523 Add $crate:: prefix in import_exception!
Also change doctest to use Rust 2018 macro includes.
2019-01-28 18:25:02 +01:00
Yuji Kanagawa 20dbf542c7
Merge pull request #328 from Alexander-N/kwargs
Fix **kwargs
2019-01-28 12:53:27 +09:00
Alexander Niederbühl b132a0bfc5 Update Get Started section in user guide
Use content of README.md for an updated version of
guide/src/get_started.md
2019-01-27 17:28:08 +01:00
Alexander Niederbühl fbd012601e Fix kwargs
kwargs was broken by a check for the number of given arguments. Only
apply this check if no arbitary number of keyword arguments are allowed
by a "**" parameter of `#[args(...)`.

Closes #318
2019-01-25 00:47:28 +01:00
dependabot[bot] 27ef33703b Update spin requirement from 0.4.9 to 0.5.0 (#325)
Updates the requirements on [spin](https://github.com/mvdnes/spin-rs) to permit the latest version.
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 14:41:10 +01:00
konstin f9baa700d8
Merge pull request #324 from athre0z/add-crate-prefix
Add $crate:: prefix in create_exception!
2019-01-14 14:40:45 +01:00
Joel Höner 262b708de2
Add $crate:: prefix in create_exception! 2019-01-13 22:00:52 +01:00
konstin 8145841508
Merge pull request #322 from joar/fix-tests-for-examples
Pass -c instead of --workdir to "examples/*" tox invocation
2019-01-10 17:15:08 +01:00
konstin 8324e45790
Merge pull request #323 from Alexander-N/race-condition
Avoid race condition in gc tests
2019-01-10 17:13:19 +01:00
Joar Wandborg 42557beb50
Use -e instead of || exit 2019-01-10 08:06:58 +01:00
Alexander Niederbühl 053fa5b984 Avoid race condition in gc tests
To avoid a segfault when the object is collected, disable garbage
collection for the duration of `gc_integration2`.

Closes #198
2019-01-10 00:46:24 +01:00
Joar Wandborg 8e4d23e470
Pass posargs to pytest command, skip redundant install 2019-01-09 22:00:29 +01:00
Joar Wandborg 2bd5931a04
Pass -c to "examples/*" tox invocation
The `-c example-path/tox.init` parameter will read the tox.ini from the
provided location and also set `workdir` and `toxinidir` to the
directory of the passed tox.ini

Previously, when only --workdir was passed, tox read the root `tox.ini`,
with the effect that tox was never run on the projects in `examples/`.
2019-01-09 21:19:23 +01:00
konstin 1b4afd1102
Merge pull request #278 from PyO3/ci
Improve testing setup
2019-01-08 20:41:44 +01:00
konstin d0e0f3a343
Merge pull request #321 from Alexander-N/python-version
Don't require feature when PYTHON_SYS_EXECUTABLE is set
2019-01-08 20:32:35 +01:00
Alexander Niederbühl 56ad7d806c Remove format! 2019-01-08 20:20:42 +01:00
konstin 2dc8813cf8 Improve testing setup 2019-01-08 20:18:23 +01:00
konstin 5edd263371 rustfmt 2019-01-08 20:18:06 +01:00
konstin 146cb31c59
Merge pull request #317 from PyO3/issue_313
Fix #313
2019-01-08 19:39:25 +01:00
Alexander Niederbühl 9e2347b810 Don't require feature when PYTHON_SYS_EXECUTABLE is set
If neither the feature python2 or python3 is used, the version of
PYTHON_SYS_EXECUTABLE is used.

Issue #276
2019-01-07 22:46:01 +01:00
konstin 0deaee01ad Bump to 0.6.0-alpha.1 and update changelog from 0.5.3 2019-01-04 11:53:46 +01:00
konstin 27520cb683 Fix #313
Thanks to @sumeet for the patch
2018-12-28 20:41:03 +01:00
konstin 322594128c
Merge pull request #316 from kngwyu/arraylist-fix
Fix memory leak in ArrayList
2018-12-28 20:31:26 +01:00