Steven Silvester
0b2900d162
PYTHON-5413 Handle flaky tests ( #2395 )
2025-07-01 15:42:58 -05:00
Noah Stapp
e2bfa9a590
PYTHON-5248 - Drop support for MongoDB 4.0 ( #2353 )
2025-06-20 14:25:19 -04:00
Iris
b8460b6001
PYTHON-5387 Better test assertions for membership ( #2348 )
2025-05-23 09:04:32 -07:00
Iris
65089ead4c
PYTHON-5386 Better test assertions for isinstance ( #2347 )
2025-05-22 16:15:44 -07:00
Noah Stapp
e51ad27d20
PYTHON-4493 - Use asyncio protocols instead of sockets for network IO ( #2151 )
...
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2025-03-28 15:02:40 -04:00
Noah Stapp
34ca759f85
PYTHON-5113 - Refactor test utils for async ( #2149 )
2025-03-12 12:59:56 -04:00
Steven Silvester
dc34833d97
PYTHON-5005 Skip more csot tests where applicable ( #2029 )
2024-12-04 09:26:29 -06:00
Noah Stapp
0e8d70457f
Async client uses tasks instead of threads
...
PYTHON-4725 - Async client should use tasks for SDAM instead of threads
PYTHON-4860 - Async client should use asyncio.Lock and asyncio.Condition
PYTHON-4941 - Synchronous unified test runner being used in asynchronous tests
PYTHON-4843 - Async test suite should use a single event loop
PYTHON-4945 - Fix test cleanups for mongoses
Co-authored-by: Iris <58442094+sleepyStick@users.noreply.github.com>
2024-11-26 16:55:27 -05:00
Noah Stapp
a1ade45dd3
PYTHON-4881 - Use OvertCommandListener wherever sensitive events are not needed ( #1943 )
...
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2024-10-18 13:32:09 -04:00
Shane Harvey
a911245bde
PYTHON-4866 Fix test_command_cursor_to_list_csot_applied ( #1926 )
2024-10-14 15:06:42 -07:00
Shane Harvey
821811e80d
PYTHON-4782 Fix deadlock and blocking behavior in _ACondition.wait ( #1875 )
2024-09-30 16:24:07 -07:00
Iris
c136684047
PYTHON-4585 Cursor.to_list does not apply client's timeoutMS setting ( #1860 )
2024-09-17 13:38:24 -07:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests ( #1855 )
2024-09-17 09:22:17 -04:00
Steven Silvester
adf8817df8
PYTHON-4584 Add length option to Cursor.to_list for motor compat ( #1791 )
2024-08-14 13:13:56 -05:00
Steven Silvester
f69d330b25
PYTHON-4654 Clean up Async API to match Motor ( #1789 )
2024-08-13 19:17:45 -05:00
Shane Harvey
4742737876
PYTHON-4643 Fix test_to_list_tailable ( #1783 )
2024-08-09 23:19:15 -07:00
Shane Harvey
da59318327
PYTHON-4610 More robust to_list tests ( #1773 )
2024-08-06 16:29:24 -07:00
Noah Stapp
f7da1172cb
PYTHON-4592 - Synchronize inline examples and docstrings ( #1756 )
2024-08-02 12:02:28 -07:00
Noah Stapp
a3cd7045df
PYTHON-4549 - Optimize Cursor.to_list ( #1749 )
2024-07-30 15:45:30 -07:00
Noah Stapp
105393109e
PYTHON-4533 - Fix failing async tests ( #1739 )
2024-07-17 12:57:55 -07:00
Noah Stapp
f0e025a127
PYTHON-4533 - Convert test/test_cursor.py to async ( #1731 )
2024-07-16 13:55:11 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively ( #1678 )
2024-06-26 10:12:39 -07:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta ( #1629 )
2024-06-06 09:01:24 -07:00
Jib
60d0761527
PYTHON-2884: Replaced SON usage in all internal classes and commands ( #1426 )
2023-12-19 15:42:23 -08:00
Steven Silvester
7936708d97
PYTHON-4014 Apply QA Suggestions from Scientific Python Library Development Guide ( #1414 )
2023-11-01 19:37:22 -05:00
Shane Harvey
58a36e9838
PYTHON-4010 Fix test_timeout_kills_cursor_asynchronously ( #1408 )
2023-10-25 12:25:20 -07:00
Noah Stapp
d82946334e
PYTHON-3953 - PyMongo should send killCursors on MaxTimeMSExpired Error ( #1372 )
2023-10-20 13:42:59 -07:00
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff ( #1399 )
2023-10-19 11:56:22 -05:00
Noah Stapp
1f7b74f37d
PYTHON-3943 Serverless failure - TestUnifiedRunCursorCommand ( #1374 )
2023-10-19 09:41:21 -07:00
Shane Harvey
0092b0af79
PYTHON-2504 Run pyupgrade 3.4.0 and ruff 0.0.265 ( #1196 )
...
pyupgrade --py37-plus bson/*.py pymongo/*.py gridfs/*.py test/*.py tools/*.py test/*/*.py
ruff --fix-only --select ALL --fixable ALL --target-version py37 --line-length=100 --unfixable COM812,D400,D415,ERA001,RUF100,SIM108,D211,D212,SIM105,SIM,PT,ANN204,EM bson/*.py pymongo/*.py gridfs/*.py test/*.py test/*/*.py
2023-05-11 15:27:17 -07:00
Steven Silvester
ee2badff75
PYTHON-3524 Support passing list of strings to create_index ( #1121 )
2022-11-29 05:27:45 -06:00
Shane Harvey
79aa5e6757
PYTHON-3516 Improve test EventListener api ( #1114 )
2022-11-14 08:50:08 -08: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
f4cef37328
PYTHON-3064 Add typings to test package ( #844 )
2022-02-07 19:33:41 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Shane Harvey
ff3a8b44dc
PYTHON-1864 PYTHON-2931 Spec complaint $readPreference ( #809 )
...
Stop sending $readPreference to standalone servers.
Stop sending $readPreference primary because it's the server default.
Remove outdated secondary_ok flag.
2021-12-13 15:47:34 -08:00
Shane Harvey
e154642968
Removed references to outdated server versions ( #812 )
2021-12-07 15:47:28 -08:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 ( #729 )
...
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Bernie Hackett
f64c5aa940
PYTHON-2904 Further language modernization
2021-09-14 12:24:06 -07:00
Shane Harvey
d9e5666336
PYTHON-2875 Require hint with min/max queries ( #712 )
2021-09-08 11:32:14 -07:00
Shane Harvey
e1b068d37a
PYTHON-2525 Remove Collection.count and Cursor.count ( #700 )
2021-08-10 13:52:29 -07:00
Shane Harvey
be47e4ca14
PYTHON-2532 Remove modifiers option for find methods ( #696 )
2021-08-09 10:02:36 -07:00
Shane Harvey
edda903b5b
PYTHON-2711 Remove profile command helpers ( #693 )
2021-08-06 12:54:52 -07:00
Shane Harvey
da49bd88a2
PYTHON-2806 Fix test_aggregate_raw_transaction ( #673 )
2021-07-12 16:54:50 -07:00
Prashant Mital
0e0c4fd944
PYTHON-2389 Add session support to find_raw_batches and aggregate_raw_batches ( #658 )
2021-06-30 19:14:22 -07:00
Prashant Mital
b69d00d21b
PYTHON-2734 Document that find_raw_batches now sends user-specified R… ( #634 )
...
* PYTHON-2734 Document that find_raw_batches now sends user-specified ReadConcern to the server instead of raising ConfigurationError
* fix
* fix2
* fix 3
2021-06-08 14:13:43 -07:00
Prashant Mital
209d5009e6
PYTHON-1860 Use OP_MSG for find/aggregate_raw_batches when supported ( #622 )
2021-05-19 12:05:35 -07:00
Prashant Mital
048ee81836
PYTHON-2719 RawBatchCursor must raise StopIteration instead of returning empty bytes when the cursor contains no results ( #624 )
2021-05-17 13:58:06 -07:00
Shane Harvey
7c1060cfec
PYTHON-1307 Remove SONManipulator APIs ( #557 )
2021-01-25 16:22:00 -08:00