Commit graph

50 commits

Author SHA1 Message Date
David Hewitt 33b8aba3bb examples: simplify tox instructions 2020-11-10 12:50:41 +00:00
David Hewitt 38af32e33e Release 0.12.3 2020-10-12 16:18:25 +01:00
David Hewitt 7fe989693c Move fmt and clippy to actions 2020-08-09 12:15:54 +01:00
kngwyu 83e5d274cf Remove tox -e py from Makefile 2020-06-28 23:53:46 +09:00
kngwyu 404f3981e5 Improve docs and Remove all-stable feature 2020-06-21 16:10:19 +09:00
kngwyu ac922e5756 Exclude benches from 'make lint' clippy run 2020-06-18 20:32:31 +09:00
kngwyu 64408142f5 Use all-stable feature in CI instead of --all-features 2020-06-18 18:43:46 +09:00
Alexander Niederbühl 468bb765bb Add checking of examples with clippy 2020-06-05 13:51:51 +02:00
Alexander Niederbühl 7eb9afbac2 Clean up Makefile 2020-06-05 13:51:15 +02:00
Georg Brandl 701fb7f2b5 "make test": fail if one of the example toxes fails 2020-03-13 13:29:30 +01:00
Alexander Niederbühl 6e216ffd63 Remove ignoring of new_ret_no_self in clippy target
After the changes in the `#[pyclass]` system in #683, `new` can return
self and there is no reason anymore to ignore this lint.
2020-01-12 01:46:33 +01:00
konstin 73947d84b4
Format examples with black (#590) 2019-09-06 01:16:09 +02:00
Samuele Maci 1cdd6020cc Add dedicated makefile target for lint, clippy, fmt execution 2019-08-17 14:10:35 +02:00
konstin c38b1bc7a0 Actually run 3.8 on travis 2019-02-10 19:56:49 +01:00
konstin 62d9b40274 Add Contributing.md 2019-02-10 19:42:24 +01:00
konstin c868cc3e4b Fix test 2019-02-01 16:31:18 +01:00
konstin 2dc8813cf8 Improve testing setup 2019-01-08 20:18:23 +01:00
konstin c77049541a Fix CI
black requires 3.6+ to be installed
2018-11-11 18:13:33 +01:00
konstin da0d6eeb5d Small tooling fixes 2018-11-02 22:32:18 +01:00
konstin 38651a1827 Add tox config for pyo3 itself 2018-10-09 18:49:54 +02:00
konstin e6569ae61e Remove ::pyo3::argparse::get_kwargs for from_borrowed_ptr_or_opt 2018-09-03 20:50:02 +02:00
konstin 2627fa8a08 0.3.2 2018-07-22 21:36:18 +02:00
konstin c9db4f0da2 Some cleanup and housekeeping 2018-05-30 15:03:31 +02:00
Nikolay Kim d02a950eb6 test word-count-cls 2017-11-18 07:09:39 -10:00
messense 43a5d6f1b4 Test and benchmark word-count example (#60)
* Test and benchmark word-count example

* Optimize rust word_count
2017-07-26 12:37:36 +08:00
Nikolay Kim 3bed79fe0b add clippy and doc to travis 2017-06-15 09:11:19 -07:00
Nikolay Kim 2fdbcd356a fix py2 travis build 2017-06-11 22:34:45 -07:00
Nikolay Kim a517b994ca nightly is on always 2017-06-11 22:28:54 -07:00
messense 861bee7a0f
Enable all tests on CI 2017-05-31 12:00:22 +08:00
Nikolay Kim c9aefd7e5f drop py_class 2017-05-16 23:43:39 -07:00
Nikolay Kim f4feade487 add PyAsyncProtocol 2017-05-14 18:55:04 -07:00
Nikolay Kim a24c2f04f6 do not run check symbols 2017-05-14 13:14:02 -07:00
Nikolay Kim 03a3817878 update readme and travis 2017-05-12 23:01:54 -07:00
Nikolay Kim bf4e36d9d9 update travis config 2017-05-12 22:51:14 -07:00
Nikolay Kim 8a295793a0 include py3 ffi info into crate 2017-05-12 22:05:00 -07:00
Matteo Bertini 1cf4f275e1 py27/build.rs: generated from py3/build.rs
Add Makefile `cog `task and `cog` annotation to keep the build.rs files in sync.
2017-01-27 11:22:02 +01:00
Daniel Grunwald e2d7781433 Add "extension-module" feature to suppress linking pythonX.Y.so.
The symbols are instead kept unresolved, so that they can be used with
any compatible python interpreter, even if the target system uses a
statically linked python and lacks pythonX.Y.so altogether.
2016-12-17 21:17:11 +01:00
Daniel Grunwald d21143fa39 py_class!: add __bool__ slot 2016-05-06 22:05:12 +02:00
Daniel Grunwald fb5e4a1521 Generate repetive portions of py_class_impl! macro 2016-04-17 15:53:48 +02:00
Daniel Grunwald d705620502 Add support for Rust stable.
All functions that depend on PyObject having the same memory layout
as *mut ffi::PyObject should now be hidden behind #[cfg(feature="nightly")].
2016-03-06 01:08:40 +01:00
Daniel Grunwald 7c90651157 Make use of nightly const_fn + shared features optional. 2016-03-06 00:03:17 +01:00
Daniel Grunwald c1682b68ac Add some tests for py_fn!() 2015-11-07 16:52:20 +01:00
Daniel Grunwald d33a4b68fc Add test script that all symbols imported by python-sys are exported from the python .so 2015-09-20 22:21:18 +02:00
Daniel Grunwald cb938e1906 Start with non-limited python 3 API:
* pymem.h
* object.h
* code.h
* compile.h
* tupleobject.h

The PEP-384 limited API is available when using the "pep-384" cargo feature.
2015-09-19 15:37:29 +02:00
Daniel Grunwald 43552a075d Enable python 3 CI 2015-06-28 21:46:24 +02:00
Daniel Grunwald 8c8779e3fb py_module_initializer! for python 3 2015-05-24 20:06:08 +02:00
Daniel Grunwald db8edd7f4e Fix build 2015-05-17 21:35:04 +02:00
Daniel Grunwald 888967ab5d Update link to documentation. 2015-04-19 07:50:50 +02:00
Daniel Grunwald d8a1fcd869 update for rust nightly 2015-01-11 04:21:05 +01:00
Daniel Grunwald 7ccf5c88f1 Initial commit 2015-01-05 17:05:53 +01:00