Skip to content

Commit 881b177

Browse files
committed
fix CI
1 parent e51ee40 commit 881b177

File tree

3 files changed

+12
-20
lines changed

3 files changed

+12
-20
lines changed

.github/workflows/github-actions.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ on:
1313
tags:
1414
- 'v[0-9]+\.[0-9]+\.[0-9]+*'
1515
env:
16-
MONGODB_3_6: "3.6.23"
17-
MONGODB_4_0: "4.0.28"
18-
MONGODB_4_2: "4.2.25"
1916
MONGODB_4_4: "4.4.29"
2017
MONGODB_5_0: "5.0.31"
21-
MONGODB_6_0: "6.0.20"
22-
MONGODB_7_0: "7.0.17"
23-
MONGODB_8_0: "8.0.5"
18+
MONGODB_6_0: "6.0.22"
19+
MONGODB_7_0: "7.0.19"
20+
MONGODB_8_0: "8.0.9"
2421

2522
PYMONGO_3_12: "3.12.3"
2623
PYMONGO_3_13: "3.13.0"
@@ -55,17 +52,14 @@ jobs:
5552
test:
5653
# Test suite run against recent python versions
5754
# and against a few combination of MongoDB and pymongo
58-
runs-on: ubuntu-20.04
55+
runs-on: ubuntu-22.04
5956
strategy:
6057
fail-fast: false
6158
matrix:
6259
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
63-
MONGODB: [$MONGODB_4_0]
60+
MONGODB: [$MONGODB_4_4]
6461
PYMONGO: [$PYMONGO_3_12]
6562
include:
66-
- python-version: "3.9"
67-
MONGODB: $MONGODB_3_6
68-
PYMONGO: $PYMONGO_3_12
6963
- python-version: "3.9"
7064
MONGODB: $MONGODB_4_4
7165
PYMONGO: $PYMONGO_3_13

.github/workflows/install_mongo.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ fi
1212
MONGODB="$1"
1313

1414
# Determine build name based on version
15-
if [[ "${MONGODB}" =~ ^(7.0|8.0) ]]; then
15+
if [[ "${MONGODB}" =~ ^(6.0|7.0|8.0) ]]; then
16+
mongo_build="mongodb-linux-x86_64-ubuntu2204-${MONGODB}"
17+
elif [[ "${MONGODB}" =~ ^(4.4|5.0) ]]; then
1618
mongo_build="mongodb-linux-x86_64-ubuntu2004-${MONGODB}"
17-
elif [[ "${MONGODB}" =~ ^(4.0|4.2|4.4|5.0|6.0) ]]; then
18-
mongo_build="mongodb-linux-x86_64-ubuntu1804-${MONGODB}"
19-
elif [[ "${MONGODB}" =~ ^3.6 ]]; then
20-
mongo_build="mongodb-linux-x86_64-${MONGODB}"
2119
else
2220
echo "Error: Unsupported MongoDB version: ${MONGODB}"
2321
usage

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ an `API reference <https://mongoengine-odm.readthedocs.io/apireference.html>`_.
3535

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

4343
Installation
4444
============

0 commit comments

Comments
 (0)