Skip to content

Commit

Permalink
mongo 5.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerr, Duncan (London) authored and Kerr, Duncan (London) committed Feb 23, 2023
1 parent 550125a commit 206e0a7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults: &defaults
command: |
echo $VERSION > "$CIRCLE_ARTIFACTS/version.txt"
- run:
name: Install MongoDB 4.4
name: Install MongoDB 5.0.14
command: |
# run "cat /etc/os-release" to view information about the OS
# good article on how to install mongo, https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
Expand All @@ -35,13 +35,13 @@ defaults: &defaults
sudo apt-get update
sudo apt-get install libssl1.1
# -------
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
sudo apt-get install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
sudo apt-get update
sudo ln -Tf /bin/true /usr/bin/systemctl
sudo apt-get install -y mongodb-org=4.4.18 mongodb-org-server=4.4.18 mongodb-org-shell=4.4.18 mongodb-org-mongos=4.4.18 mongodb-org-tools=4.4.18
sudo apt-get install -y mongodb-org=5.0.14 mongodb-org-server=5.0.14 mongodb-org-shell=5.0.14 mongodb-org-mongos=5.0.14 mongodb-org-tools=5.0.14
sudo rm /usr/bin/systemctl
sudo rm /etc/apt/sources.list.d/focal-security.list
Expand Down Expand Up @@ -165,8 +165,8 @@ workflows:
version: 2
build_all:
jobs:
#- build_3_6
#- build_3_7
#- build_3_8
- build_3_6
- build_3_7
- build_3_8
- build_3_9

2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### 1.80.6
* Bugfix: #979 fix circleci mongo install
* Feature: #980 get testpack running with mongod 4.4.18
* Feature: add python 3.9 support pin pandas<1.2.0, numpy<1.20.0
* Feature: python<=3.9, pandas<1.2.0, numpy<1.20.0, pymongo==3.12.0, mongod==5.0.14

### 1.80.5 (2022-09-05)
* Feature: #950 remove all traces of python 2.7 and six package
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ Arctic storage implementations are **pluggable**. VersionStore is the default.
Arctic currently works with:

* python 3.6, 3.7, 3.8, 3.9
* pymongo >= 3.6.0 <= 3.14.0
* pymongo >= 3.6.0 <= 3.12.0
* pandas >= 0.22.0 < 1.2.0
* MongoDB >= 2.4.x <= 4.4.18
* MongoDB >= 2.4.x <= 5.0.14


Operating Systems:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run_tests(self):
"mockextras",
"pandas<1.2.0",
"numpy<1.20.0",
"pymongo>=3.6.0, <= 3.14.0",
"pymongo>=3.6.0, <= 3.12.0",
"pytz",
"tzlocal",
"lz4",
Expand Down

0 comments on commit 206e0a7

Please sign in to comment.