pycapnp/test
Tobias Ahrens bb15822850
Fixes for capnp 1.0 (#1)
* add capnp_api.h to gitignore

* Change type of read_min_bytes from size to int

Not sure why this was not causing issues before or if that
is the right fix ... but it seems to be fine :)

* Adapt python_requires to >=3.8

This was overlooked when 3.7 was deprecated. The ci no longer
works with python 3.7 and cibuildwheel uses python_requires ...

* Replace deprecated find_module with find_spec (importlib)

find_module was deprecated with python 3.4 and python 3.12
removed it (https://docs.python.org/3.12/whatsnew/3.12.html#importlib).

The new command is find_spec and only required a few adaptions
2023-10-11 11:28:24 -07:00
..
addressbook with spaces.capnp Add ability to import modules with dashes or spaces 2014-06-12 16:37:06 -07:00
addressbook-with-dashes.capnp Add ability to import modules with dashes or spaces 2014-06-12 16:37:06 -07:00
addressbook.capnp Add init method to lists 2015-05-04 11:00:25 -07:00
all-types.binary Make sure to encode to utf-8, not the default encoding 2016-03-04 13:50:43 -08:00
all-types.packed Make sure to encode to utf-8, not the default encoding 2016-03-04 13:50:43 -08:00
all-types.txt Fixed or waved all pytest failures and errors 2019-09-27 01:12:54 -07:00
all_types.capnp Add Union on top level union messages 2021-05-31 16:33:10 +08:00
annotations.capnp Add native types under capnp.types for use with ListSchema 2014-11-20 10:24:10 -08:00
bar.capnp Add forgotten test files 2013-08-29 21:12:39 -07:00
foo.capnp Schema loading from the wire 2023-06-12 14:10:13 +02:00
test_capability.capnp Handle AnyPointers better as arguments to RPC functions 2015-06-08 14:59:21 -07:00
test_capability.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_capability_context.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_context_manager.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_examples.py Fix and improve a bunch of tests 2023-06-08 02:29:54 +02:00
test_large_read.capnp Test large reads 2016-06-17 13:50:26 -07:00
test_large_read.py Applying black formatting 2021-10-01 11:12:21 -07:00
test_load.py Fixes for capnp 1.0 (#1) 2023-10-11 11:28:24 -07:00
test_memory_handling.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_object.py Applying black formatting 2021-10-01 11:12:21 -07:00
test_regression.py Fix black formatting 2023-03-12 11:33:41 -07:00
test_response.capnp Fix response objects not referencing parents correctly 2016-06-17 13:50:42 -07:00
test_response.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_rpc.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_rpc_calculator.py Experiment: Wrap all capnp code in a context-manager to avoid segfaults (#317) 2023-10-03 09:04:51 -07:00
test_schema.py Applying black formatting 2021-10-01 11:12:21 -07:00
test_serialization.py Fix and improve a bunch of tests 2023-06-08 02:29:54 +02:00
test_struct.py Fixed black issues 2022-04-06 13:32:52 +10:00