Commit graph

116 commits

Author SHA1 Message Date
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
Jason Paryani
4b76211b78 Bump version to v0.5.7 2015-06-16 11:57:33 -07:00
Jason Paryani
4f62593bcc Bump version for v0.5.6 2015-04-13 14:49:26 -07:00
Jason Paryani
00e6bf2a5b Bump version to v0.5.5 2015-03-05 12:56:58 -08:00
Jason Paryani
95d1ce5903 Add changelog to description 2015-03-05 12:51:56 -08:00
Jason Paryani
153575d9b0 Bump version to v0.5.4 2015-03-02 14:15:21 -08:00
Jason Paryani
bf05e555d2 Default to using cython if cythonized files not found 2015-03-02 13:44:12 -08:00
Jason Paryani
7dc6f28ed9 Bump version to v0.5.3 2015-02-23 11:23:39 -08:00
Jason Paryani
b2daf3911d Default to not using cython 2015-02-23 11:21:19 -08:00
Jason Paryani
fe768ba7c8 Bump version to v0.5.2 2015-02-20 17:24:58 -08:00
Jason Paryani
0aebde18d5 Update pycapnp to beta status in trove classifier 2015-02-20 17:20:04 -08:00