Commit Graph

81 Commits

Author SHA1 Message Date
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide (#1414) 2023-11-01 19:37:22 -05:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Steven Silvester
6f4e617e6d
PYTHON-3905 Use from __future__ import annotations in all files (#1370)
* PYTHON-3905 Use from __future__ import annotations in all files

* cleanup

* cleanup

* cleanup
2023-09-11 10:49:24 -05:00
Iris
c1d33831e8
PYTHON-3907 add --disallow-untyped-defs for mypy (#1351) 2023-08-10 11:08:36 -07:00
Iris
94fd83e92e
PYTHON-3814 add types to pyopenssl_context.py (#1341) 2023-08-03 15:40:58 -07:00
Steven Silvester
1d052cb706
PYTHON-3639 Release Build is Failing to Create Universal Wheels for MacOS (#1174) 2023-03-27 11:31:51 -05:00
Steven Silvester
1019c91bf6
PYTHON-3424 PyMongo Universal Wheels Are Improperly Compiled (#1051) 2022-09-12 19:14:50 -05:00
Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting (#868) 2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter (#852) 2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package (#831) 2022-02-02 21:12:36 -06:00
Steven Silvester
52ed5a4135
PYTHON-3052 Add Typings to PyMongo Itself (#829) 2022-01-13 16:09:48 -06:00
Shane Harvey
2eb0df812c
PYTHON-2879 Fix get_ssl_context for CSFLE and ocsptest.py (#713) 2021-08-24 13:36:37 -04:00
Shane Harvey
e01d9a37e7
PYTHON-1320 Remove legacy CRUD methods (#556)
Remove save, insert, update, remove, and find_and_modify.
Remove tools/benchmark.py
2021-01-22 17:11:15 -08:00
Shane Harvey
70fb1cce95 PYTHON-2293 Fix OCSP test script for Windows 2020-06-16 15:39:06 -07:00
Shane Harvey
6d2f2b516e PYTHON-2144 Test OCSP on macOS and Windows
Add ECDSA testing on Ubuntu.
ECDSA certs are not supported on macOS/Windows, only test RSA.
Log error message when OCSP HTTP request fails.
Remove nohup which does not work on macOS.
2020-06-09 09:31:17 -07:00
Bernie Hackett
a06a0e7aa6 PYTHON-2093 OCSP Support 2020-02-20 14:44:24 -08:00
Nikolai Matiushev
72cab9356d PYTHON-1556 Fix compatibility issues with Python >= 3.6 (#352)
Use raw strings to avoid invalid escape sequence warnings in Python >= 3.6
2018-05-15 15:20:03 -07:00
Bernie Hackett
aec685b374 Fix up copyright dates. 2015-03-25 11:55:02 -07:00
A. Jesse Jiryu Davis
108e97baad Unused imports in tests. 2014-12-10 14:11:33 -05:00
A. Jesse Jiryu Davis
2fa1750b07 Update copyright notices and company name. 2014-01-31 09:36:46 -05:00
A. Jesse Jiryu Davis
d35bec12e5 Tests use MongoClient instead of Connection PYTHON-451 2013-02-11 20:57:17 -05:00
behackett
0ee7170cc2 It's 2012... 2012-04-19 12:40:38 -07:00
Ross Lawley
341c391efb PYTHON-305 updated replica pair test.
Connection syntax has changed.
Removed old auto reconnect test in tools as lots of
testcases for auto reconnect.
2012-02-09 08:50:20 -08:00
behackett
2ed05bec70 PEP8 cleanups. 2011-04-06 14:57:17 -07:00
Mike Dirolf
e9088badbc update tools/clean.py 2010-09-14 16:41:21 -04:00
Mike Dirolf
789296c6ef Split C extension in two (pymongo, bson) PYTHON-60 2010-09-14 13:55:41 -04:00
Mike Dirolf
7a79560f5f better auto-reconnect test helper 2010-08-05 09:35:04 -04:00
Mike Dirolf
0726f21543 Rework connection handling, and add support for replSets 2010-07-15 11:58:10 -04:00
Mike Dirolf
3c2cb08edf minor: cleaning 2010-04-05 15:51:22 -04:00
Mike Dirolf
03bcb23053 helper to check for C extension PYTHON-51 2010-03-10 10:16:44 -05:00
Mike Dirolf
3d7240e57f It's 2010! 2010-01-30 10:48:26 -05:00
Mike Dirolf
244ada075f minor: update deprecated api 2010-01-08 16:40:05 -05:00
Mike Dirolf
826fb0d4db Simplification of connection pooling.
Makes driver ~2x faster for simple benchmarks.

DEPRECATED pool_size, auto_start_request and timeout parameters to Connection
DEPRECATED Connection.start_request

Each thread now gets it's own socket reserved on it's first operation. Those
sockets are held until Connection.end_request is called by that thread, or
Connection.disconnect is called by any thread, or the thread dies.

Calling Connection.end_request allows the socket to be returned to the pool,
and to be used by other threads instead of creating a new socket. Judicious use
of this method is important for applications with many threads or with long
running threads that make few calls to PyMongo operations.
2010-01-08 15:13:50 -05:00
Mike Dirolf
54be5db873 removing all support for mongo-qa tests
allows us to remove SON.from_xml
  - not deprecating this as it was used internally only AFAIK

therefore eliminates driver dependency on elementtree
2010-01-05 14:20:12 -05:00
Mike Dirolf
1d1346bef1 revert to old benchmark script, even though neither of these is really being used 2009-10-21 17:31:51 -04:00
Mike Dirolf
682ed95a89 API CHANGE: deprecating passing direction to ensure_index, create_index for single key - just creates an ascending index since direction doesn't matter 2009-09-02 17:38:35 -04:00
Mike Dirolf
76537ce5b7 minor: return posted data in benchmark script 2009-08-27 15:20:54 -04:00
Michael DIrolf
3b7ada5556 clean out pyd build artifacts as well MINOR 2009-06-08 16:49:54 -04:00
Mike Dirolf
fc381e38e0 new benchmark setup 2009-04-20 16:58:20 -04:00
Mike Dirolf
4aa0438f76 minor: clean script fails if cleaning fails 2009-04-08 14:01:52 -04:00
Mike Dirolf
9edafa2167 make sure we're using utc 2009-02-25 17:42:03 -05:00
Mike Dirolf
df221cf2fe replace old benchmark suite with new one 2009-02-25 10:07:16 -05:00
Mike Dirolf
19f0d9a041 ops / second, fix range tests 2009-02-25 10:06:42 -05:00
Mike Dirolf
68667ef189 new benchmark suite 2009-02-24 17:42:49 -05:00
Mike Dirolf
f7a1349f74 oops -a by accident
This reverts commit 28d2d0cbb0.
2009-02-23 18:05:47 -05:00
Mike Dirolf
28d2d0cbb0 use cursorInfo command instead of intr collection 2009-02-23 18:05:20 -05:00
Mike Dirolf
92f671958d add simple auto-reconnect test script 2009-02-23 15:37:53 -05:00
Mike Dirolf
d8bca13d43 reraise to see why this is failing sometimes 2009-02-23 09:02:29 -05:00
Mike Dirolf
f167101a3e changes to support python 2.4 2009-02-20 10:38:17 -05:00
Mike Dirolf
e37432d917 spam 2009-02-18 17:35:13 -05:00