Skip to content

Commit

Permalink
Upgrades for python 3.11 (#111)
Browse files Browse the repository at this point in the history
* test on python 3.11

* changelog and reorder db versions to test later first

* keep on standard base image [skip ci]

-----------------------------

* set back to 1804 image

-----------------------------
  • Loading branch information
leslievandemark committed Jan 24, 2024
1 parent 8d5c167 commit 752f83f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
21 changes: 11 additions & 10 deletions .circleci/config.yml
Expand Up @@ -77,8 +77,8 @@ jobs:
name: "Unit Tests"
command: |
source /usr/local/share/virtualenvs/tap-mongodb/bin/activate
pip install pymongo==4.4.0
nosetests tests/unittests/
pip install pymongo==4.4.0 nose2
nose2 -v -s tests/unittests/
- run:
name: 'Integration Tests'
command: |
Expand Down Expand Up @@ -145,8 +145,8 @@ jobs:
name: "Unit Tests"
command: |
source /usr/local/share/virtualenvs/tap-mongodb/bin/activate
pip install pymongo==4.4.0
nosetests tests/unittests/
pip install pymongo==4.4.0 nose2
nose2 -v -s tests/unittests/
- run:
name: 'Integration Tests'
command: |
Expand Down Expand Up @@ -213,8 +213,8 @@ jobs:
name: "Unit Tests"
command: |
source /usr/local/share/virtualenvs/tap-mongodb/bin/activate
pip install pymongo==4.4.0
nosetests tests/unittests/
pip install pymongo==4.4.0 nose2
nose2 -v -s tests/unittests/
- run:
name: 'Integration Tests'
command: |
Expand All @@ -238,10 +238,6 @@ workflows:
version: 2
commit: &commit_jobs
jobs:
- build:
context:
- circleci-user
- tier-1-tap-user
- build_mongo_5_0:
context:
- circleci-user
Expand All @@ -254,6 +250,11 @@ workflows:
- tier-1-tap-user
requires:
- build_mongo_5_0
- build:
context:
- circleci-user
- tier-1-tap-user

build_daily:
<<: *commit_jobs
triggers:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## 3.1.0
* Updates to run on python 3.11.7 [#111](https://github.com/singer-io/tap-mongodb/pull/111)

## 3.0.3
* Refresh the session every 10 minutes during oplog queries [#110](https://github.com/singer-io/tap-mongodb/pull/110)

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -3,22 +3,22 @@
from setuptools import setup

setup(name='tap-mongodb',
version='3.0.3',
version='3.1.0',
description='Singer.io tap for extracting data from MongoDB',
author='Stitch',
url='https://singer.io',
classifiers=['Programming Language :: Python :: 3 :: Only'],
py_modules=['tap_mongodb'],
install_requires=[
'singer-python==5.8.0',
'singer-python==6.0.0',
'pymongo==4.4.0',
'tzlocal==2.0.0',
'terminaltables==3.1.0',
],
extras_require={
'dev': [
'pylint',
'nose',
'nose2',
'ipdb'
]
},
Expand Down

0 comments on commit 752f83f

Please sign in to comment.