Commit Graph

261 Commits

Author SHA1 Message Date
James E. King III
2068544a09 THRIFT-4548: add python cross test client multiplexed protocol support
Client: py
2018-04-13 13:20:49 -04:00
James E. King III
6f8c99e981 THRIFT-3118: add http (for non-ssl and for ssl) to the python cross tests 2018-04-05 10:25:19 -04:00
Eduardo Arada
9e0c927214 THRIFT-4505: Fix python build on Vagrant Windows boxes
Client: py

This closes #1499
2018-03-05 08:26:15 -05:00
Yubing Dong (Tom)
00646bbba7 THRIFT-4464: Fix typo in TNonblockingServer.py
Client: py

This closes #1475
2018-01-24 00:10:42 -05:00
Jens Geyer
f3a2974dfe THRIFT-4398 Update EXTRA_DIST for "make dist"
Client: Build process
Patch: Jens Geyer

This closes #1431
2017-12-01 23:01:41 +01:00
James E. King, III
350fe7531f THRIFT-4370: build generated code before running static code analysis;
fix E722 flake8 issues identified in python code

This closes #1399
2017-10-26 11:37:02 -04:00
James E. King, III
e7611d0f3e THRIFT-4367: Fix missing positional argument in python
TProcessor.process
Client: py
Patch: Qyetfu

This closes #1392
2017-10-23 16:44:45 -04:00
James E. King, III
0ad20bdbfe THRIFT-4351: use travis build stages to optimize build,
avoiding duplicate rebuilds of the same image, and also
allow personal docker hub repositories for private fork
builds to be optimized. Move ubsan build to artful image
because it catches more stuff and fix what was found.

THRIFT-4345: solidify docker build strategy for maximum
coverage: trusty, xenial, artful as stock as they can be

THRIFT-4344: add top level language summary markdown and
update readme with a new image on the layered architecture

THRIFT-3847: remove VERSION macro from config.h which
was causing a conflict on artful builds.

THRIFT-4359: fix haxe map/set decode when key is binary,
as a missing break statement caused it to use an int
during decode

This closes #1389
2017-10-19 11:29:04 -04:00
Elvis Pranskevichus
2d1fe88db3 THRIFT-4206: Fix decoding of strings in containers with py:dynamic and py:utf8strings
Client: py

_read_by_ttype and _write_by_ttype must be using the *element* spec
and not the container spec when determining the correct read/write
handler.

This closes #1273
2017-09-25 17:11:33 -07:00
James E. King, III
d7142b7e4f THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
This closes #1340
2017-09-04 18:09:34 -07:00
Håkon Hitland
2f03618a6c THRIFT-4274: Catch OSError in TSSLServerSocket.accept()
Client: py

This closes #1321

wrap_socket can raise OSError instead of SSLError when receiving an
invalid connection attempt, which if not caught crashes TSimpleServer
and causes the feature tests to fail.
2017-08-10 15:39:09 -04:00
Eric Conner
b56ead3115 THRIFT-2642 Recursive structs don't work in python
Client: Python
Patch: Eric Conner <eric@pinterest.com>

Fix whitespace for flake8.

This closes #1305
2017-07-07 20:51:00 +02:00
Eric Conner
c34653f751 THRIFT-2642 Recursive structs don't work in python
Client: Python
Patch: Eric Conner <eric@pinterest.com>

This closes #1293
2017-07-06 22:59:10 +02:00
Yao Jin
6582757752 THRIFT-4029: add MANIFEST.in to include the extension files
Client: py

This closes #1206
2017-03-10 06:24:31 -05:00
James E. King, III
07f59971bd THRIFT-4081: appveyor retooling - added mingw64 build as a second job to the CI build process
This closes #1205
2017-03-10 06:18:33 -05:00
Yao Jin
e2bc972750 THRIFT-4102 remove useless code cause performance problem
Client: python

This closes #1203
2017-02-24 10:28:27 -05:00
James E. King, III
36628a28e9 THRIFT-3369 Provide SSL/TLS client for c_glib
Client: c_glib
Patch: Gonzalo Aguilar Delgado <gaguilar@level2crm.com>

This closes #1185
2017-02-13 15:25:41 -05:00
Nobuaki Sukegawa
e8ba7877ba THRIFT-4026 TSSLSocket doesn't work with Python < 2.7.9
This closes #1166
2017-02-12 21:14:48 +09:00
Nobuaki Sukegawa
4626fd889d THRIFT-3938 Python TNonblockingServer does not work with SSL
This closes #1100
2017-02-12 21:11:36 +09:00
James E. King, III
de9c330b24 THRIFT-4007: TTransport.py micro-optimization: don't call len(chunk) twice
Client: Python
Patch: Nate Jensen <nathan.jensen@raytheon.com>

This closes #1121
2017-02-01 07:16:28 -05:00
Chandler May
988b3e9bde THRIFT-4042 set zip_safe=False in python build to prevent egg ExtractionError
Client: Python

This closes #1165
2017-01-27 23:33:19 -05:00
ciarancourtney
db3a92ebcf THRIFT-4009 Use @implementer instead of implements in TTwisted.py
Client: Python
Patch: ciarancourtney <ciaran.courtney@cylon.com>

This closes #1142
2016-12-21 21:08:24 +01:00
Nobuaki Sukegawa
042ce7e7c8 THRIFT-3798 THttpClient does not use proxy from http_proxy, https_proxy environment variables
Fix CI failure due to PEP8 violation

This closes #1097
2016-09-29 02:44:46 +09:00
Martin Wilck
1ac0a80aa0 THRIFT-3798 THttpClient does not use proxy from http_proxy, https_proxy environment variables
Client: Python
Patch: Martin Wilck <mwilck@arcor.de>
2016-09-26 21:20:01 +02:00
Nobuaki Sukegawa
d2b4f24836 THRIFT-3917 Check backports.ssl_match_hostname module version
This closes #1076
2016-09-04 18:49:23 +09:00
Nobuaki Sukegawa
bf9fa905d2 THRIFT-3910 Do not invoke pip as part of build process
This closes #1073
2016-09-04 18:49:21 +09:00
Chandler May
6657b8337d THRIFT-3765 fix memory leak in python compact protocol extension
This closes #970
2016-03-29 12:03:34 +09:00
Nobuaki Sukegawa
e134cbc6ff Update make dist entries 2016-03-18 22:37:02 +09:00
Helgi Kristvin Sigurbjarnarson
f2b7a4805f THRIFT-3726 Fix incorrect conditional in TMultiplexedProtocol.py
This closes #661
2016-03-09 17:23:48 +09:00
Nobuaki Sukegawa
356c998658 Add missing make dist entry 2016-03-09 10:36:12 +09:00
Nobuaki Sukegawa
5bac5ba8bf THRIFT-3712 TTornadoServer cannot handle IPv6 address
This closes #924
2016-03-06 09:45:34 +09:00
Nobuaki Sukegawa
d9b4425f68 follow-up: THRIFT-3599 Validate client IP address against cert's SubjectAltName
Client: Python
Patch: Nobuaki Sukegawa

Fix required version of Python or dependency

This closes #914
2016-03-05 22:53:48 +09:00
Nobuaki Sukegawa
f7a8d946a0 THRIFT-3699 Fix integer limit symbol includes in Python C extension
This closes #915
2016-03-02 23:44:23 +09:00
Nobuaki Sukegawa
d479e23a1d THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python)
Patch: Nobuaki Sukegawa

This closes #907
2016-02-28 12:05:14 +09:00
Nobuaki Sukegawa
f32bae7a89 THRIFT-3651 Make backports.match_hostname and ipaddress optional
Client: Python
Patch: Nobuaki Sukegawa

This closes #880
2016-02-22 23:25:32 +09:00
Tristen Georgiou
a72ffbea4d THRIFT-3649 Python TSaslClientTransport initializes TTransportException incorrectly
Client: Python
Patch: Tristen Georgiou modified by Nobuaki Sukegawa

This closes #879
2016-02-22 23:24:31 +09:00
Nobuaki Sukegawa
7efa4fb9b1 THRIFT-3646 Fix Python extension build warnings
Client: Python
Patch: Nobuaki Sukegawa

This closes #877
2016-02-20 00:45:35 +09:00
Nobuaki Sukegawa
1c8b5cb152 THRIFT-3634 Fix Python TSocket resource leak on connection failure
Client: Python
Patch: Nobuaki Sukegawa

This closes #867
2016-02-17 23:21:51 +09:00
Nobuaki Sukegawa
66f5053140 THRIFT-3614 Improve logging of test_sslsocket.py
Suppress server exception log for expected connection failures
Client: Test (Python)
Patch: Nobuaki Sukegawa

This closes #866
2016-02-14 22:47:19 +09:00
Nobuaki Sukegawa
6a0ca7ff27 THRIFT-3618 Python TSSLSocket deprecation message should print caller's location
Client: Python
Patch: Nobuaki Sukegawa

This closes #852
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
7af189a236 THRIFT-3613 Port Python C extension to Python 3
Client: Python
Patch: Nobuaki Sukegawa

This closes #845
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
6525f6ae87 THRIFT-3612 Add Python C extension for compact protocol
Client: Python
Patch: Nobuaki Sukegawa

This closes #844
2016-02-13 23:12:34 +09:00
John Sirois
ac06704a0c THRIFT-3616 Improve TSSLSocketTest robustness.
Client: Test (Python)
Patch: John Sirois

Previously a combination of fixed ports, fixed paths and delays was used
in all TSSLSocketTest tests that involved making a client-server
connection; now ephemeral ports, unique tmp files and no delays for
successful connection tests are all implemented. A delay still remains
for the failed connection tests to allow for SSL handshake initiation
but not wait too long.

This closes #850
2016-02-13 02:32:12 +09:00
Nobuaki Sukegawa
ce1c8abfa4 THRIFT-3615 Fix Python SSL client resource leak on connection failure
Client: Python
Patch: Nobuaki Sukegawa

This closes #847
2016-02-11 20:07:11 +09:00
Nobuaki Sukegawa
355116eb1d THRIFT-3614 Improve logging of test_sslsocket.py
Client: Test (Python)
Patch: Nobuaki Sukegawa

This closes #846
2016-02-11 20:07:02 +09:00
Nobuaki Sukegawa
f39f7dbd26 THRIFT-3599 Validate client IP address against cert's SubjectAltName 2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
25536ad83a THRIFT-2103 [python] Support for SSL certificates with Subject Alternative Names 2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
10308cb975 THRIFT-3596 Better conformance to PEP8
This closes #832
2016-02-04 14:28:24 +09:00
Nobuaki Sukegawa
f07b4a14df Adjust Python SSL test delay in an attempt to avoid flakiness on CI 2016-02-03 01:07:43 +09:00
Nobuaki Sukegawa
7b545b5720 THRIFT-3532 Add configurable string and container read size limit to Python protocols
This closes #787
2016-01-13 20:25:23 +09:00