aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
AgeCommit message (Collapse)Author
2022-03-25Test on Python 3.10 final (#80)Elvis Pranskevichus
2021-08-07Use cibuildwheel to build wheels (#70)Elvis Pranskevichus
The cibuildwheel infra seems to be mature enough, so use it for the wheel-building step instead of the homegrown setup. This gives us 32-bit and ARM wheels for free. Fixes: #44 Fixes: #63
2021-08-06Drop Python 3.5 support declaration, add Python 3.10 (#71)Elvis Pranskevichus
2021-08-04Fix test_none_collisions on 32-bit systems (#69)Elvis Pranskevichus
There are two issues at play here: 1. Python version of `map_hash` unnecessarily performs hash truncation even if the hash is already 32-bit wide, which potentially converts it from signed int to unsigned long. 2. The `test_none_collisions` test generates a collision node with hash greater than 2^32. Both of these are problematic on 32-bit systems, where `sizeof(Py_hash_t)` is 4, and so anything that doesn't fit into `Py_hash_t` gets bit-mangled, breaking the `hash(x) != x` invariance that the test relies upon. Fixes: #53 Fixes: #50
2021-08-03tests: Test on Python 3.10Elvis Pranskevichus
2021-08-03Add in mypy testsMichael J. Sullivan
2021-08-03Refactor typingsBryan Forbes
* Improve typing of `__init__()` * Update typing of `Map`-producing functions to produce the correct type * Update typing of other methods to more closely align with `Mapping` * Add protocol classes for unexposed data structures * Export protocol classes for ease of use in typed code * Update stub file to pass in mypy strict mode
2021-02-09Fix flake8 errors and add it to CI (#45)Taneli Hukkinen
* Fix flake8 errors and add it to CI * Use extras for test dependencies Co-authored-by: Fantix King <fantix.king@gmail.com>
2021-02-09Remove deprecated setup.py testFantix King
2021-02-09Test Python 3.9 (#51)Taneli Hukkinen
2020-04-22Update the test workflowElvis Pranskevichus
2020-04-22Add Github release workflowv0.12Elvis Pranskevichus