Commit Graph

160 Commits

Author SHA1 Message Date
Steven Silvester
5fc7c41fb5
MOTOR-1473 Add support for Python 3.14 and drop 3.9 support (#344) 2025-07-30 14:55:53 -05:00
Steven Silvester
edcae5440d
MOTOR-1466 & MOTOR-1467 Skip test and move to MacOS 14 (#338) 2025-06-02 08:22:09 -05:00
Steven Silvester
d5d0995776
MOTOR-1453 & MOTOR-1454 Update expected attributes tests and links (#331) 2025-04-17 09:51:55 -05:00
Steven Silvester
932bb7382e
MOTOR-1423 Restore compatibility with latest pymongo (#319) 2025-01-29 13:16:09 -06:00
Noah Stapp
2a9225d0ce
MOTOR-1363 - Pass correct parameter to AsyncIOMotorClientEncryption (#305) 2024-09-11 12:32:49 -04:00
Steven Silvester
00f27f3294
MOTOR-940 Improved Bulk Write API (#300) 2024-08-21 14:27:52 -05:00
Steven Silvester
633153954d
MOTOR-1353 Update Synchro Tests to support PyMongo 4.9 (#298) 2024-08-20 13:27:29 -05:00
Steven Silvester
13ca542d5e
MOTOR-1335 AsyncIOMotorClient is not suscriptable (#293) 2024-07-09 11:17:36 -05:00
Shane Harvey
73a4cf0e60
PYTHON-4499 Fix test_logging_without_listeners (#292) 2024-06-25 17:40:09 -07:00
Steven Silvester
888b36a172
MOTOR-1322 Update feature detection imports in synchro (#284) 2024-06-03 16:44:04 -05:00
Casey Clements
2d3598796e
[MOTOR-1269] Exclude Synchro test TestUnifiedInterruptInUsePoolClear (#268) 2024-03-20 15:44:45 -04:00
Shane Harvey
cd6b2bb860
MOTOR-1240 Skip GridFS tests failing due to PYTHON-4146 (#261) 2024-02-20 14:53:04 -08:00
Shane Harvey
c644cdd9a6
MOTOR-1216 Skip change stream test_concurrent_close tests (#238) 2023-11-10 13:53:58 -08:00
Shane Harvey
546f7540f1 MOTOR-1214 Fix catch_warnings on Python 3.7 2023-11-09 18:13:27 -08:00
Shane Harvey
cb050ef3d7
MOTOR-1214 Ignore IOLoop.current deprecation to make synchro pass (#236) 2023-11-09 16:45:47 -08:00
Steven Silvester
8f71800c4a
MOTOR-1210 Update pre-commit to match PyMongo Checks (#232)
* MOTOR-1210 Update pre-commit to match PyMongo Checks

* update doctests
2023-11-08 10:13:38 -06:00
Steven Silvester
684279ed0a
MOTOR-1194 Replace flake8 and isort with ruff (#231)
* adopt ruff

* fixups

* cleanup

* update traceback
2023-10-20 13:45:21 -05:00
Steven Silvester
c391969776
MOTOR-1174 Switch Synchro Tests to Pytest (#224) 2023-08-29 13:44:57 -05:00
Steven Silvester
f905df8553
MOTOR-1139 Switch to Pytest (#222) 2023-08-23 15:52:07 -05:00
Steven Silvester
9fdb62a350
MOTOR-1136 Ability to create and manage Atlas search indexes in the database (#220) 2023-08-16 15:58:03 -05:00
Steven Silvester
440b3dc2c4
MOTOR-1133 [BUILD FAILURE] test.test_client.TestClient (#206) 2023-05-12 13:39:34 -05:00
Shane Harvey
f9aed97221
MOTOR-1098 Skip synchro test_typing and encrypted coll tests on standalones (#200)
Snapshot session test needs to wait for the documents to be visible in the latest snapshot.
2023-04-06 13:27:06 -07:00
Julius Park
f4422ddaaf
MOTOR-969 Support for Range Indexes (#195) 2023-03-15 15:32:46 -07:00
Julius Park
c8ebda6726
MOTOR-995 Automatically create Queryable Encryption keys (#193) 2023-02-17 10:03:30 -08:00
Steven Silvester
8b2c17f2ce
MOTOR-1075 Ubuntu 18.04-synchro37-NoSSL Failing With SynchroMeta Object Error (#191) 2022-12-15 13:54:54 -06:00
Julius Park
99e65f85c5
MOTOR-866 Key Management API (#175) 2022-09-10 16:42:33 -07:00
Julius Park
f74e740123
MOTOR-1020 Error in Motor Synchro GridFS Tests "test_exception_file_non_existence" (#177) 2022-08-29 14:33:17 -07:00
Julius Park
b9f36c2f7a
MOTOR-1019 Migrate Synchro Tests Away From amazon1-2018 (#176) 2022-08-17 16:06:54 -07:00
Julius Park
47c84925ac
MOTOR-951 Test against MongoDB 6.0 (#174) 2022-08-11 12:48:03 -07:00
Steven Silvester
c16a62d074
MOTOR-900 Fix synchro failures on PyMongo 4.1.1 (#158)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2022-04-20 19:22:22 -05:00
Steven Silvester
5e07f66799
MOTOR-897 Set up flake8 (#146) 2022-02-17 15:28:07 -06:00
Steven Silvester
1e62b868ea
MOTOR-896 Add automatic code formatting (#144) 2022-02-15 20:29:02 -06:00
Steven Silvester
055f5e05ab
MOTOR-643 Support PyMongo 4.0 (#141)
Co-authored-by: Shane Harvey <shnhrv@gmail.com>
2021-12-23 12:33:43 -06:00
Yasser Tahiri
074d3c31be
chore: misc style/pep8 fixes (#139) 2021-11-08 14:37:40 -08:00
Shane Harvey
c81993e015
MOTOR-781 Fix synchro tests for pymongo 3.12 (#125)
Make motor client/db/collection hashable.
Make cursor close wait for killCursors.
2021-07-22 11:26:40 -07:00
Prashant Mital
ed02ce5e75
MOTOR-614 Use Python 3 syntax for super() calls (#89) 2020-09-21 13:14:13 -07:00
Prashant Mital
fad68810f9
MOTOR-589 Fix synchrotest failures (#67) 2020-08-13 16:55:47 -07:00
Prashant Mital
d7e5cb2955
MOTOR-587 Remove py2 compatibility submodule (#65) 2020-07-29 19:17:51 -07:00
Prashant Mital
8208420d61
MOTOR-581 Remove __future__ imports (#64) 2020-07-28 17:51:10 -07:00
Shane Harvey
167e6a2497 MOTOR-444 Update minimum version to PyMongo 3.10
PyMongo 3.10 provides support for Python 3.8 and the
ClientSession.in_transaction property.
2019-12-11 11:33:33 -08:00
Prashant Mital
a3c4984c7b
MOTOR-444 Start using PyMongo's ClientSession.in_transaction 2019-11-13 13:45:03 -08:00
Shane Harvey
b6bbe99766 MOTOR-439 Make Motor GridFSBucket match PyMongo
Add bucket_name, chunk_size_bytes, write_concern, and read_preference
parameters.
Deprecate the collection but still support it as an alias to
bucket_name.
2019-10-28 17:19:50 -07:00
Shane Harvey
163c56f6cc MOTOR-228 Fix Python 3 module loading
Make sys.meta_path import hook Python 3 compatible.
Make synchro ChangeStream iterable.
2019-10-28 14:49:34 -07:00
Shane Harvey
a300b5e0d5 MOTOR-440 Add session parameter to GridOut class 2019-10-28 14:46:13 -07:00
Shane Harvey
1bc89db074 MOTOR-425 Keep skipping test_custom_types change stream synchro tests 2019-10-22 14:07:08 -07:00
Shane Harvey
5b094e2640 MOTOR-401 Add client.get_default_database method 2019-10-15 12:11:19 -07:00
Shane Harvey
dc6ae3ed3e MOTOR-418 Test change stream in synchro with Python 3 2019-10-15 12:09:31 -07:00
Shane Harvey
6248419704 Fix synchro tests with PyMongo 3.9
MOTOR-401 Skip get_default_database tests
MOTOR-402 MOTOR-403 Skip internal pymongo tests
MOTOR-404 Add db.aggregate/db.watch/client.watch to synchro tests
MOTOR-407 Add missing private __die attribute on _LatentCursor
MOTOR-409 Skip flakey CMAP test
Skip tests for group
Skip TestCursor.test_min_max_without_hint
Enable faulthandler
Properly implement _SynchroTransactionContext
2019-10-10 16:16:37 -07:00
Shane Harvey
0d45707f7c MOTOR-228 Run synchro test suite with Python 3.7 2019-10-10 12:06:43 -07:00
Shane Harvey
5c2da3887d MOTOR-397 Fix import errors in synchro test 2019-09-26 15:31:00 -07:00