Prepare for v2.0.0b1 release

- Update CHANGELOG.md
- Update to bundled capnproto-1.0.1
  * Compiles with capnproto-0.8.0 and higher
- *Breaking Change* Remove allow_cancellation (see
  https://capnproto.org/news/2023-07-28-capnproto-1.0.html)
  * This is tricky to handle for older versions of capnproto. Instead of
    dealing with lots of complication, removing it entirely.
- Fix some documentation after the build backend support was added
- Update tox.ini to support 3.8 to 3.12
- Update cibuildwheel to 2.16.1
  * Adds Python 3.12 supports and implicitly deprecates EOL 3.7 (though it's
    still built)
This commit is contained in:
Jacob Alexander
2023-10-03 09:47:45 -07:00
parent e13a0c9254
commit 313d0d4c6d
9 changed files with 42 additions and 37 deletions

View File

@@ -13,7 +13,7 @@ To force rebuilding the pip package from source (you'll need requirments.txt or
pip install --no-binary :all: pycapnp
To force bundling libcapnp (or force system libcapnp), just in case setup.py isn't doing the right thing::
To force bundling libcapnp (or force system libcapnp), just in case pip isn't doing the right thing::
pip install --no-binary :all: -C force-bundled-libcapnp=True
pip install --no-binary :all: -C force-system-libcapnp=True
@@ -50,11 +50,6 @@ And install pycapnp with::
cd pycapnp
pip install .
or::
cd pycapnp
python setup.py install
Development
-----------
@@ -72,21 +67,15 @@ Building::
cd pycapnp
pip install .
or::
cd pycapnp
python setup.py install
Useful targets for setup.py::
python setup.py build
python setup.py clean
Useful command-line arguments are available for setup.py::
Useful command-line arguments are available for pip install::
--force-bundled-libcapnp
--force-system-libcapnp
--libcapnp-url
-C force-bundled-libcapnp=True
-C force-system-libcapnp=True
-C libcapnp-url="https://github.com/capnproto/capnproto/archive/master.tar.gz"
Testing is done through pytest::