Bernie Hackett
c1a7bdfd4e
PYTHON-1026 - Make test suite resilient against elections
2016-10-27 10:42:44 -07:00
Bernie Hackett
8ae717d0df
Always check for errors after calling PyLong/Int_AsLong
2016-10-26 16:48:24 -07:00
Petr Messner
8712009f5a
Fix ref count management when building _element_to_dict result tuple
2016-10-20 15:46:00 -07:00
elitan
097e7e7b55
added import for MongoClient
2016-10-20 10:15:05 -07:00
Bernie Hackett
0edd1cdf72
PYTHON-1156 - Note 3.0 MongoClient constructor change
2016-10-20 10:13:15 -07:00
Bernie Hackett
f2dafb6f2a
PYTHON-1151 - Add third party notices file
2016-10-17 15:59:51 -07:00
Bernie Hackett
11f32deb9f
PYTHON-1166 - Various fixes for Sphinx doc builds
2016-10-17 15:57:33 -07:00
Shane Harvey
1f30c3ba99
PYTHON-1152 Update common.MAX_SUPPORTED_WIRE_VERSION for MongoDB 3.4
2016-10-13 11:29:32 -07:00
Bernie Hackett
141dda84c0
Fix error message formatting
2016-10-13 09:10:55 -07:00
Bernie Hackett
c11c6a28e1
PYTHON-1161 - Add Unix domain socket examples
2016-10-12 17:36:09 -07:00
Bernie Hackett
25fd33b089
PYTHON-1160 - Fix __repr__ for Unix domain sockets
2016-10-03 07:06:29 -07:00
Bernie Hackett
ba1144932e
Merge PyMongo 2.9.4 changelog changes to master
2016-10-03 06:32:53 -07:00
Bernie Hackett
ed59b574c3
Update tox and travis configs
...
I'm removing python2.6 from travis for the time being. It
requires unittest2 and it's not clear how to install that
for just 2.6 in travis.
2016-10-01 22:40:49 -07:00
Bernie Hackett
c3be08afe0
Update ez_setup.py to latest
...
The latest versions of setuptools support the same
versions of Python we do.
2016-10-01 19:37:48 -07:00
Bernie Hackett
4f3f9f3544
PYTHON-1154 - Various doc and doctest fixes
...
- Make the doctests pass against MongoDB 2.6 - master (3.3)
- Make the doctests pass under python 2.6 - python 3.5
2016-09-28 16:46:02 -07:00
Shane Harvey
5905a86785
PYTHON-1075 Support running the entire test suite with SSL/TLS
...
SSL connections are configurable via the environment variables
"CLIENT_PEM", "CA_PEM", and "CERT_REQS".
2016-09-28 16:34:14 -07:00
Shane Harvey
bb6cd59525
PYTHON-1157 SSL timeouts should raise NetworkTimeout, not AutoReconnect
2016-09-27 16:28:09 -07:00
A. Jesse Jiryu Davis
b3b8114779
Update SDAM tests from Specs repo.
2016-09-27 13:59:44 -04:00
Bernie Hackett
c0767a551a
PYTHON-1153 - Make docs build and test under python 3
2016-09-26 15:49:59 -07:00
Bernie Hackett
e89ba4bcd0
PYTHON-1026 - Remove test assumption about primary host
2016-09-21 11:15:43 -07:00
Bernie Hackett
100a069a63
Continue work on 3.4
2016-09-21 11:15:01 -07:00
Bernie Hackett
17e3683384
BUMP 3.4rc0
2016-09-19 18:02:03 -07:00
Bernie Hackett
b37e828422
Fix handling of maxStalenessMS default
2016-09-19 14:00:28 -07:00
Bernie Hackett
747d6dcb4d
Minor README change
2016-09-19 11:18:32 -07:00
Bernie Hackett
5f16e33a6d
PYTHON-1150 - Add maxStalenessMS to $readPreference
2016-09-19 11:09:41 -07:00
Bernie Hackett
1a45a0fa08
Changelog for PyMongo 3.4
2016-09-16 14:31:20 -07:00
Luke Lovett
d513eb785d
Lower the minimum version required for running collation index name test.
2016-09-16 11:45:33 -07:00
Bernie Hackett
dedaea0d4d
PYTHON-1114 - Fix high availability examples
2016-09-15 14:16:13 -07:00
Bernie Hackett
d614fa286f
PYTHON-1147 - Make sockets non-inheritable if possible
...
This change attempts to set the close-on-exec flag on
sockets when possible. If socket.SOCK_CLOEXEC is defined
we attempt to use it, otherwise we fall back to fcntl. If
fcntl isn't available (Windows and various other platforms)
there isn't anything we can do.
Note that using fcntl is *not* atomic. It's possible that a socket
can be created and fork + execv can happen before the call to
fcntl, leaking the file descriptor anyway. CPython 3.4 implements
PEP 446, making all newly created file descriptors non-inheritable
by default. If your application needs the behavior this change
attempts to provide you should really use CPython 3.4+.
Note also, this change *does not* make PyMongo fork safe.
2016-09-14 17:12:40 -07:00
Bernie Hackett
9a1d52a33c
PYTHON-1144 - Add Atlas usage guide
2016-09-14 11:53:05 -07:00
Luke Lovett
8e4a4f33c3
PYTHON-1143 - Add example docs for collation.
2016-09-13 14:04:25 -07:00
Shane Harvey
888d0fab1f
PYTHON-1135 Replace JSONOptions.strict_date with JSONOptions.datetime_representation
2016-09-12 11:11:30 -07:00
Luke Lovett
d37bb4aabf
Merge branch 'patch-1' of https://github.com/cjgibson/mongo-python-driver into 34dev
2016-09-09 15:07:59 -07:00
Christian Gibson
bca7e3b994
Updating class reference in comment.
2016-09-09 17:55:20 -04:00
Bernie Hackett
26a4ae2c2f
PYTHON-1113 - Fix _first_batch helper
2016-09-07 16:17:21 -07:00
Bernie Hackett
708a85657d
PYTHON-1113 - Small doc fixes
2016-09-07 15:32:10 -07:00
Luke Lovett
0fbdf85f53
PYTHON-1113 - Index collation documentation into API docs.
2016-09-07 15:15:15 -07:00
Luke Lovett
8fdb581c6a
PYTHON-1113 - Support collation per operation.
...
This commit add the pymongo.collation.Collation class and associated enums. A
collation may be sent with individual write operations when connected to MongoDB
3.4+. Unlike read and write concern, a collation may not be attached to a
database or collection instance.
2016-09-07 13:45:41 -07:00
Bernie Hackett
851728d5a7
PYTHON-1140 - Expand handshake metadata OS information
2016-09-06 17:33:55 -07:00
Bernie Hackett
9a76d827ad
Update supported MongoDB versions in README
2016-09-02 16:33:08 -07:00
Bernie Hackett
cf8e168f7d
PYTHON-1136 - Report python implementation in metadata
2016-09-02 16:19:27 -07:00
Bernie Hackett
81b93a251d
PYTHON-1141 - Always publish failed event when heartbeats fail
2016-09-02 15:35:56 -07:00
Luke Lovett
f9aecf139a
PYTHON-1139 - Document that PyMongo is not fork-safe.
2016-09-02 12:35:06 -07:00
Bernie Hackett
eb7f2e625a
PYTHON-1138 - Improve SDAM monitoring documentation
2016-09-01 17:49:30 -07:00
Bernie Hackett
1d8f12fa60
Fix pool docstring.
2016-09-01 14:24:36 -07:00
Bernie Hackett
f570f322c3
PYTHON-1142 - Add topology_type_name and server_type_name
2016-09-01 13:23:32 -07:00
Bernie Hackett
0fd60e63fd
PYTHON-1137 - Add IsMaster.document
2016-08-31 13:46:47 -07:00
Bernie Hackett
f6e84fdff8
PYTHON-1117 - Add TopologyDescription.has_readable/writable_server
2016-08-31 13:43:15 -07:00
Bernie Hackett
1355c5af1d
PYTHON-1068 - Update tests to latest
...
And update the test runner to support them.
2016-08-29 15:07:07 -07:00
Bernie Hackett
b320f82457
PYTHON-1068 - Update FAQ entry for Decimal
2016-08-29 15:07:07 -07:00