Skip to content

Commit 94c3735

Browse files
authored
Merge pull request #2698 from bagerard/mongo5
Add mongo5 to pipeline
2 parents 8ea77fc + 9946d1e commit 94c3735

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.github/workflows/github-actions.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ on:
1111
tags:
1212
- 'v[0-9]+\.[0-9]+\.[0-9]+*'
1313
env:
14-
MONGODB_3_6: 3.6.14
15-
MONGODB_4_0: 4.0.23
16-
MONGODB_4_2: 4.2
14+
MONGODB_3_6: 3.6.23
15+
MONGODB_4_0: 4.0.28
1716
MONGODB_4_4: 4.4
17+
MONGODB_5_0: "5.0"
1818

1919
PYMONGO_3_4: 3.4
2020
PYMONGO_3_6: 3.6
2121
PYMONGO_3_9: 3.9
2222
PYMONGO_3_11: 3.11
2323
PYMONGO_3_12: 3.12
2424
PYMONGO_4_0: 4.0
25+
PYMONGO_4_3: 4.3.2
2526

2627
MAIN_PYTHON_VERSION: 3.7
2728

@@ -53,9 +54,6 @@ jobs:
5354
- python-version: 3.7
5455
MONGODB: $MONGODB_3_6
5556
PYMONGO: $PYMONGO_3_9
56-
- python-version: 3.7
57-
MONGODB: $MONGODB_4_2
58-
PYMONGO: $PYMONGO_3_9
5957
- python-version: 3.7
6058
MONGODB: $MONGODB_4_4
6159
PYMONGO: $PYMONGO_3_11
@@ -65,6 +63,9 @@ jobs:
6563
- python-version: 3.9
6664
MONGODB: $MONGODB_4_4
6765
PYMONGO: $PYMONGO_4_0
66+
- python-version: "3.10"
67+
MONGODB: $MONGODB_5_0
68+
PYMONGO: $PYMONGO_4_3
6869
steps:
6970
- uses: actions/checkout@v2
7071
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/install_mongo.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ if [[ "$MONGODB" == *"4.2"* ]]; then
99
mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
1010
elif [[ "$MONGODB" == *"4.4"* ]]; then
1111
mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
12+
elif [[ "$MONGODB" == *"5.0"* ]]; then
13+
mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
1214
fi
1315

1416
wget http://fastdl.mongodb.org/linux/$mongo_build.tgz

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ an `API reference <https://mongoengine-odm.readthedocs.io/apireference.html>`_.
3131

3232
Supported MongoDB Versions
3333
==========================
34-
MongoEngine is currently tested against MongoDB v3.6, v4.0, v4.2 and v4.4. Future versions
34+
MongoEngine is currently tested against MongoDB v3.6, v4.0, v4.4 and v5.0. Future versions
3535
should be supported as well, but aren't actively tested at the moment. Make
3636
sure to open an issue or submit a pull request if you experience any problems
3737
with a more recent MongoDB versions.

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Development
99
- (Fill this out as you fix issues and develop your features).
1010
- Support MONGODB-AWS authentication mechanism (with `authmechanismproperties`) #2507
1111
- Turning off dereferencing for the results of distinct query. #2663
12+
- Add tests against Mongo 5.0 in pipeline
1213

1314
Changes in 0.24.2
1415
=================

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ deps =
1111
mg311: pymongo>=3.11,<3.12
1212
mg312: pymongo>=3.12,<3.13
1313
mg4: pymongo>=4.0,<4.1
14+
mg432: pymongo>=4.3,<4.4
1415
setenv =
1516
PYTHON_EGG_CACHE = {envdir}/python-eggs

0 commit comments

Comments
 (0)