Commit graph

126 commits

Author SHA1 Message Date
Jacob Alexander
33c453eff7 Increment version to v1.3.0 2023-01-26 16:43:40 -08:00
Jacob Alexander
9b6ff51f9c Update to v1.2.2 2022-12-01 21:58:30 -08:00
Jacob Alexander
56ef658e46 Update bundled bundled capnp to 0.8.1 due to CVE-2022-46149
- This only affects pycapnp if you're using bundled capnp (otherwise
  just update libcapnp)
  * pypi packages are affected
2022-11-30 10:18:06 -08:00
Lasse Blaauwbroek
928dd13652
Bundle lib/capnp_api.h and helpers/capabilityHelper.cpp (#301) 2022-11-04 11:20:38 -07:00
Jacob Alexander
1814105967 Incrementing version to v1.2.1 2022-09-11 23:08:45 -07:00
Jacob Alexander
583fe9e42d Incrementing version to v1.2.0 2022-08-29 01:13:39 -07:00
Madhava Jay
7862d2a0c4
Added macos arm64 Apple Silicon to CI (#296)
* Added macos arm64 Apple Silicon to CI

- Added missing python 3.10 metadata to setup.py

* Need all python versions in the matrix

* Fixing github action matrix syntax

* Changing MACOSX_DEPLOYMENT_TARGET for older python versions

- Technically no one would be running python 3.7 on M1 anyway

* Adding windows visualcpp build tools and updated cmake

* Increase max-parallel for all matrix builds

* yaml indent

* trying visualstudio2022-workload-vctools

* disabled everything but windows and added tunshell for debugging

* try older powershell

* trying again

* try python instead of powershell

* bash with wget

* Using old windows client on other side

* wrong way

* backwards

* :(

* urgh back to caveman debugging

- trying older windows runners

* try it again with extra build tools

* Reverting back to windows-2019 runner for windows builds

Fixing error:
CMake Error at CMakeLists.txt:2 (project):
  Generator
    Ninja
  does not support platform specification, but platform
    x64
  was specified.
2022-08-26 08:13:09 -07:00
Jacob Alexander
e93b0452cc Incrementing version to v1.1.1 2022-05-23 21:39:51 -07:00
Jacob Alexander
6e7fffd7de
Applying black formatting
- Fixing flake8 configuration to agree with black
- Adding black validation check to github actions
2021-10-01 11:12:21 -07:00
Jacob Alexander
6aa59476a0
Incrementing to v1.1.0 2021-06-07 21:30:48 -07:00
John Vandenberg
8c15feb4eb Remove many lint warnings
Mostly whitespace changes, with max-line-length set to 120
and double-quotes used, adopting black settings.

Related to https://github.com/capnproto/pycapnp/issues/128
2021-05-03 17:02:30 +08:00
Jacob Alexander
2e6d7be1dd
Changing PyPi classifier from Beta to Stable 2020-11-20 13:55:19 -08:00
Jacob Alexander
d6e73c8d75
Adding missing Python 3.9 category 2020-11-20 13:02:54 -08:00
Jacob Alexander
50d3a8e964
Preparing for v1.0.0 release 2020-11-20 11:50:09 -08:00
Jacob Alexander
5e8ccba536
Updating docs for v1.0.0b2
- Full cleanup of all the docs
- General sphinx housekeeping
- Updated all the old/bad links
- More reliable tests
- Updated Changelog
- Removed dead/deprecated code
- Added documentation generation test
2020-06-14 17:05:45 -07:00
Jacob Alexander
49fd4854d8 Minor code cleanup
- Reducing linter errors
- Removing old Python 2-only code (__future__ print)
2020-06-08 23:51:07 -07:00
Jacob Alexander
255119b838 Updating to capnproto v0.8.0
- Includes some test stabilization
- Fixes manylinux2010 build issues (linker flag order due to old gcc)
- More rigorous python setup.py clean
- Requires capnproto v0.8.0 or greater
- Including system libcapnp include path for import (e.g. import
  stream_capnp)
- Bundle libcapnp .capnp files when not using system libcapnp
- Removing more distutils usage. Now using pkg-config to determine the
  system version of libcapnp (mainly for Linux, but should work on macOS
  with brew)
- Removed dead code

Resolves issues #215 #216 #217
Lots of fixes for Issue #218 (all sorts of retry methods needed for
GitHub Actions)
2020-06-08 11:49:17 -07:00
Keith Rothman
dbc9debbbf Move exported functions used in capabilityHelper.h from extern "C" to api.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-03-02 06:49:59 -08:00
Jacob Alexander
01e4d3ed2f
Removing pypandoc/pandoc requirement
- Was not working well on manylinux2010 build image
- Not necessary, can use markdown directly now
2019-12-26 23:52:10 -08:00
Jacob Alexander
84600a7ebf
Fixing Pypi warnings and errors
- Issues with pypandoc prevented uploading
2019-12-26 23:16:40 -08:00
Jacob Alexander
0e7a133080
Preparations for v1.0.0 release
- Starting with a beta1 release
2019-12-26 22:49:07 -08:00
Jacob Alexander
6cd971e74f
Adding manylinux2010 github action
- Validates that the manylinux2010 environment can build pycapnp
- Handle lib and lib64 cases
- Has patch for aligned_alloc symbol (not available prior to glibc 2.16)
https://github.com/capnproto/capnproto/issues/743
- Fixes #197
- Should be ready to prepare a v1.0.0b1 release
2019-12-21 00:13:04 -08:00
Jacob Alexander
795a0d88eb
Merge pycapnp-async into pycapnp
- Remove references to pycapnp-async
- Cleanup README.md and setup.py
2019-12-11 22:20:44 -08:00
Jacob Alexander
c1cba47346
Small updates for PyPi 2019-10-21 00:13:19 -07:00
Jacob Alexander
8062e6f401 Adding Windows 32-bit and 64-bit builds
- Basic tests are working
- May need some adjustments to get all tests working
- Cleaned up bundling to take Python arch into account when building
with multiple architectures
2019-10-17 00:36:46 -07:00
Jacob Alexander
67d5276936
Defaulting to built-in capnproto
- Adding code to detect if bundled capnproto is already built
2019-10-15 09:35:55 -07:00
Jacob Alexander
12ddd743ef
Fork pycapnp to pycapnp-async
- Breaking some earlier compatibility to cleanup build messages
- As well as being able to publish pypi releases
  * Builds can be complicated to package correctly
- Windows support
2019-10-14 21:34:08 -07:00
Yann Diorcet
722579d671
Guess include and lib directory using capnp executable 2019-09-30 00:58:10 -07:00
Jacob Alexander
d62e9b80f7
Always use Cython 2019-09-27 00:30:08 -07:00
Jacob Alexander
b3021e4f6b
Fixing flake8 warnings and errors
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude benchmark

Excluding the benchmark directory (due to protobuf generated files)
Also removing some Python2 specific code
2019-09-27 00:15:13 -07:00
Andrey Cizov
423e4f1f8c
remove warning during compilation 2019-09-16 21:34:58 -07:00
Jacob Alexander
de22f7eb97
Fixing compilation errors with capnproto-7.0.0 2019-09-16 21:33:56 -07:00
Andrey Cizov
ab267eccbd fix travis build failure 2019-07-13 15:06:18 +01:00
Jason Paryani
a4f740fb0f Bump version to v0.6.4 and update changelog 2019-01-31 01:10:15 -08:00
Jason Paryani
e4d7e21a66 Add error if trying to run python setup.py sdist without pandoc 2019-01-31 01:03:21 -08:00
Colin Jermain
2b26665f56 Removing Python 3.7 from this PR 2018-11-18 16:27:09 -05:00
Colin Jermain
3afcbb3918 Replacing end-of-life Python versions with live versions 2018-11-18 10:01:10 -05:00
Jason Paryani
19e1b189ca Bump version to v0.6.3 and update changelog 2018-01-14 11:57:08 -08:00
Jason Paryani
add8af4bc9 Bump version to v0.6.2 and update changelog 2017-11-30 22:08:01 -08:00
Jason Paryani
0242ba2d33 Bump to v0.6.1 and update changelog 2017-07-27 20:11:49 -07:00
Ben Moran
1221ec75a9 Update bundled capnproto to 0.6.0 2017-06-08 12:19:52 +01:00
Jason Paryani
98b5ed837b Bump version to v0.5.12 and update CHANGELOG 2017-04-18 21:44:30 -07:00
Jason Paryani
44c2b8dfe6 Bump version to v0.5.11 and update CHANGELOG 2017-04-10 20:37:16 -07:00
Jason Paryani
ed06d6533b Merge remote-tracking branch 'origin/forgotten-v0.5.10' into develop 2017-04-09 20:57:51 -07:00
Ben Nizette
2ee80532a0 Rework logic to determine whether to use bundled or system libcapnp.
The current logic unconditionally tries to build /and run/ a small
executable linked against libcapnp. The 'run' step is ostensibly
to get the current library version number, however this number isn't
actually used anywhere.

More importantly, this breaks cross-compiling completely as in that
mode you can't run an executable that's just been built.

One option would be to fix the build scripts for cross-compiling but
this is relatively complex. This patch implements a simple change
that basically boils down to '--force-system-libcapnp' actually
forcing that, skipping the build and run tests. The assumption is
that if you're cross-compiling then you're most likely to be building
the library yourself anyway and if you're specifying that flag, then
you know what you're doing.
2017-01-09 13:07:08 +11:00
Jason Paryani
7ad51120e6 Bump to v0.5.10 and update changelog 2016-11-28 13:38:50 -08:00
Jason Paryani
0a941a9e06 Switch to using setuptools 2016-08-31 14:03:19 -07:00
Jason Paryani
3efb3f41f0 Bump version to v0.5.9 and update CHANGELOG 2016-07-07 12:15:14 -07:00
Jason Paryani
239286d4ac Bump version to v0.5.8 and update CHANGELOG 2016-05-27 17:21:24 -07:00
Jason Paryani
5d69eda752 Add --libcapnp-url to allow installing arbitrary libcapnp versions 2016-02-17 17:24:27 -08:00