Skip to content

Commit e80bf74

Browse files
committed
use ubuntu20 as mongo installation broke with ubuntu-latest (now 22)
1 parent 2097cc4 commit e80bf74

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/github-actions.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,27 @@ jobs:
4343
test:
4444
# Test suite run against recent python versions
4545
# and against a few combination of MongoDB and pymongo
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-20.04
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
50+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3]
5151
MONGODB: [$MONGODB_4_0]
5252
PYMONGO: [$PYMONGO_3_11]
5353
include:
5454
- python-version: 3.7
5555
MONGODB: $MONGODB_3_6
5656
PYMONGO: $PYMONGO_3_9
57-
- python-version: 3.7
57+
- python-version: 3.8
5858
MONGODB: $MONGODB_4_4
5959
PYMONGO: $PYMONGO_3_11
60-
- python-version: 3.7
60+
- python-version: 3.9
6161
MONGODB: $MONGODB_4_4
6262
PYMONGO: $PYMONGO_3_12
63-
- python-version: 3.9
63+
- python-version: "3.10"
6464
MONGODB: $MONGODB_4_4
6565
PYMONGO: $PYMONGO_4_0
66-
- python-version: "3.10"
66+
- python-version: "3.11"
6767
MONGODB: $MONGODB_5_0
6868
PYMONGO: $PYMONGO_4_3
6969
steps:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def run_tests(self):
141141
long_description=LONG_DESCRIPTION,
142142
platforms=["any"],
143143
classifiers=CLASSIFIERS,
144-
python_requires=">=3.6",
144+
python_requires=">=3.7",
145145
install_requires=["pymongo>=3.4,<5.0"],
146146
cmdclass={"test": PyTest},
147147
**extra_opts

0 commit comments

Comments
 (0)