Commit Graph

193 Commits

Author SHA1 Message Date
dependabot[bot]
49e59d41b2
PYTHON-5661 Bump mypy from 1.18.2 to 1.19.0 (#2629)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
Co-authored-by: Steven Silvester <steve.silvester@mongodb.com>
2025-12-10 10:37:29 -06:00
Steven Silvester
67384f0f08
PYTHON-5550 Add a test that uses uvloop as the event loop (#2543) 2025-09-30 12:30:00 -05:00
Steven Silvester
fad2ccb0e7
PYTHON-5565 Add minimum version test for Encryption (#2547) 2025-09-25 09:28:39 -05:00
Steven Silvester
dba0aa94ad
PYTHON-5472 Remove driver tests for Atlas Data Lake (#2542) 2025-09-17 08:15:32 -05:00
Steven Silvester
d7316afb63
PYTHON-5328 CRUD Support in Driver for Prefix/Suffix/Substring Indexes (#2521) 2025-09-10 10:35:35 -05:00
Steven Silvester
f7b94be0db
PYTHON-5143 Support auto encryption in unified tests (#2488) 2025-08-20 08:58:20 -05:00
Steven Silvester
ffb372aec7
PYTHON-5027 Test Windows with Python 3.14t (#2444) 2025-07-24 13:20:19 -05:00
Steven Silvester
0b2900d162
PYTHON-5413 Handle flaky tests (#2395) 2025-07-01 15:42:58 -05:00
Iris
578c6c2ad2
PYTHON-5423 Always use subprocess.run instead of subprocess.check_call or subprocess.call (#2412) 2025-06-30 11:08:42 -07:00
Noah Stapp
e2bfa9a590
PYTHON-5248 - Drop support for MongoDB 4.0 (#2353) 2025-06-20 14:25:19 -04:00
Steven Silvester
1bcb85f1c1
PYTHON-5321 Remove Serverless testing (#2359) 2025-06-09 19:46:10 -05:00
Noah Stapp
09897b698e
PYTHON-5212 - Do not hold Topology lock while resetting pool (#2301) 2025-04-23 15:13:38 -04:00
Steven Silvester
6ed3533b73
PYTHON-5313 Create Evergreen tests that do not run orchestration (#2284) 2025-04-18 13:03:53 -05:00
Steven Silvester
93886286a3
PYTHON-5275 Fix handlig of FIPS build (#2266) 2025-04-08 11:30:17 -05:00
Steven Silvester
4e5166b29a
PYTHON-3712 Deprecate sharded-replicaset topology type and clean up redundant runOnRequirements (#2232) 2025-03-26 17:39:10 -05:00
Iris
eea8a37257
PYTHON-3636 AsyncMongoClient should perform SRV resolution lazily (#2191)
Co-authored-by: Noah Stapp <noah@noahstapp.com>
Co-authored-by: Shane Harvey <shane.harvey@mongodb.com>
2025-03-25 13:45:06 -07:00
Shane Harvey
2b667df14f
PYTHON-5120 Reduce configureFailPoint duplication in tests (#2131) 2025-02-26 11:16:44 -08:00
Noah Stapp
ac8fa2d645
PYTHON-5094 - Convert test.test_read_preferences to async (#2110) 2025-02-05 12:13:56 -05:00
Shane Harvey
01f659cd8b
PYTHON-5071 Use one event loop for all asyncio tests (#2086) 2025-01-30 12:34:59 -08: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
3a662291e0
PYTHON-4700 - Convert CSFLE tests to async (#1907) 2024-10-11 10:48:24 -04:00
Shane Harvey
e76d411b59
PYTHON-4794 Start running IPv6 tests again (#1879) 2024-09-30 16:48:14 -07:00
Noah Stapp
739510214b
PYTHON-4731 - Explicitly close all MongoClients opened during tests (#1855) 2024-09-17 09:22:17 -04:00
Iris
b37fb91896
PYTHON-4704 Migrate test_bulk.py to async (#1827) 2024-09-04 10:36:35 -07:00
Iris
ba8a139e72
PYTHON-4651: Migrate test_client_context.py to async (#1819) 2024-09-03 11:18:58 -07:00
Steven Silvester
efcecc9a7f
PYTHON-4648 Fix handling of event_loop_policy in tests (#1799) 2024-08-19 12:57:15 -05:00
Shruti Sridhar
2afbd4b279
PYTHON-4650 Fix MongoClient.bulk_write test failure when compression is enabled (#1786) 2024-08-12 10:21:09 -07:00
Shane Harvey
0a578b4452
PYTHON-4396 Unskip failCommand+appName tests on MongoDB 4.4.7+ (#1735) 2024-08-08 11:26:25 -07:00
Noah Stapp
cb89061627
PYTHON-4537 - Use selector asyncio loop on windows tests (#1748) 2024-07-26 09:49:28 -07:00
Noah Stapp
636603f893
PYTHON-4552 - Make AsyncCollection.find synchronous (#1734) 2024-07-16 11:05:51 -07:00
Noah Stapp
d0193eb045
PYTHON-4533 - Convert test/test_client.py to async (#1730) 2024-07-10 13:15:13 -07:00
shruti-sridhar
f5b102ab2a
PYTHON-4525 Transition the existing test_database.py test to be asynchronous (#1716) 2024-07-02 17:03:10 -07:00
Noah Stapp
cfa215c185
PYTHON-4530 - Move synchronized test code into top-level test directory (#1718) 2024-07-02 08:59:39 -07:00
Noah Stapp
ffa6555485
PYTHON-4476 Separate data and IO classes more effectively (#1678) 2024-06-26 10:12:39 -07:00
Steven Silvester
d4b4b740dd
PYTHON-4509 Update to FIPS host with Python 3.8 binary (#1688) 2024-06-17 12:04:12 -05:00
Noah Stapp
d6bf0e1e78
PYTHON-4264 Async PyMongo Beta (#1629) 2024-06-06 09:01:24 -07:00
Steven Silvester
3004523ab0
PYTHON-4439 Use environment variable to detect dataLake test (#1637) 2024-05-13 14:14:47 -05:00
Noah Stapp
bc7181c3c0
PYTHON-4354 & PYTHON-4355 - Increase logging limit for tests cleanup (#1585) 2024-04-12 17:13:57 -07:00
Noah Stapp
29df4159ed
PYTHON-4354 & PYTHON-4355 - Increase logging limit for tests (#1584) 2024-04-12 16:15:54 -07:00
Steven Silvester
4bc2a482d9
PYTHON-3467 OIDC: Automatic token acquisition for Azure Identity Provider (#1443)
Co-authored-by: Jib <Jibzade@gmail.com>
2024-02-02 09:53:48 -06:00
Shane Harvey
0615df47b5
PYTHON-4112 Support named KMS providers (#1487)
Requires pymongocrypt >= 1.9.0 and libmongocrypt >= 1.9.0.
2024-01-30 12:00:24 -08:00
Shane Harvey
c3458e9d8e
PYTHON-4155 Add perf benchmark with TLS enabled (#1481) 2024-01-22 10:39:26 -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
Steven Silvester
992d1507e7
PYTHON-4005 Replace flake8 and isort with ruff (#1399) 2023-10-19 11:56:22 -05:00
Noah Stapp
015073d4c1
PYTHON-3988 Python Test Suite still uses legacy isMaster Command when… (#1395) 2023-10-17 10:55:18 -07:00
Noah Stapp
14640256cb
PYTHON-3940 Pytest Config Improvements (#1373) 2023-09-13 11:31:43 -07:00
Shane Harvey
02de1ba00e
PYTHON-3909 Fix OIDC reauth for bulk write operations, remove unneeded AUTH_MECH (#1353)
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
2023-08-14 17:41:24 -07:00
Steven Silvester
f7738b8665
PYTHON-3887 Remove custom test command in setup.py (#1350) 2023-08-09 20:11:38 -05:00
Steven Silvester
5d6d8ca68e
PYTHON-3885 Use tox in remaining Evergreen Tests (#1347) 2023-08-09 14:13:59 -05: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