diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d8d784c..1053ab3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -245,6 +245,31 @@ jobs: - store-pytest-results - store-coverage-report + py310tornado: + docker: + - image: cimg/python:3.10.12 + - image: cimg/postgres:9.6.24 + environment: + POSTGRES_USER: root + POSTGRES_PASSWORD: "" + POSTGRES_DB: circle_test + - image: cimg/mariadb:10.11.2 + - image: cimg/redis:5.0.14 + - image: rabbitmq:3.9.13 + - image: mongo:4.2.3 + - image: singularities/pubsub-emulator + environment: + PUBSUB_PROJECT_ID: "project-test" + PUBSUB_LISTEN_ADDRESS: "0.0.0.0:8432" + working_directory: ~/repo + steps: + - checkout + - pip-install-deps: + requirements: "tests/requirements-310-with-tornado.txt" + - run-tests-with-coverage-report + - store-pytest-results + - store-coverage-report + workflows: version: 2 build: @@ -257,3 +282,4 @@ workflows: - py37cassandra - py38couchbase - py38gevent + - py310tornado \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..c074d16d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,36 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "pip" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + time: "18:30" + groups: + python-packages: + patterns: + - "*" + versioning-strategy: increase + ignore: + - dependency-name: "tornado" + # The tornado issue partially recorded in the Kanbanize ticket: + # https://instana.kanbanize.com/ctrl_board/197/cards/135147/details/, and there is an AHA Idea about it. + - dependency-name: "google-cloud-pubsub" + # google-cloud-pubsub (Collecting google-cloud-pubsub<=2.1.0 (from -r tests/requirements-310.txt (line 11))) + - dependency-name: "sanic" + # The lagging of the Sanic version is a known issue for at least a year, the oldest ticket is on the archived board: + # https://instana.kanbanize.com/ctrl_board/49/cards/102939/details/ + # which is referenced from a ticket on our current board: + # https://instana.kanbanize.com/ctrl_board/197/cards/109698/details/ + - dependency-name: "urllib3" + # urllib3 (Collecting urllib3<1.27,>=1.26.5 (from instana==2.0.5->-r requirements.txt (line 2))) + - dependency-name: "starlette" + # starlette (Collecting starlette<0.28.0,>=0.27.0 (from fastapi>=0.92.0->-r tests/requirements-310.txt (line 7)) + - dependency-name: "couchbase" + - dependency-name: "protobuf" + - dependency-name: "importlib-metadata" + # fails for python-3.7 \ No newline at end of file diff --git a/test-requirements/test-requirements.txt b/test-requirements/test-requirements.txt new file mode 100644 index 00000000..00633522 --- /dev/null +++ b/test-requirements/test-requirements.txt @@ -0,0 +1,23 @@ +# Celery <= 5.3.1 +# Django <= 4.2.4 +# FastAPI <= 0.101.0 +# Flask <= 2.3.2 +# Pyramid <= 2.0.1 +# Sanic <= 21.6.2 +Starlette <0.28.0,>=0.27.0 +# Tornado <= 6.2 +# Aiohttp <= 3.8.5 +# Boto3 <= 1.28.20 +# Google-cloud-pubsub <= 2.18.1 +# Google-cloud-storage <= 2.10.0 +# Grpcio <= 1.56.2 +# Mysqlclient <= 2.2.0 +# Pika <= 1.3.2 +# PyMySQL <= 1.1.0 +# Pymongo <= 4.4.1 +# Psycopg2 <= 2.9.7 +# Redis <= 4.6.0 +# Requests <= 2.31.0 +# SQLAlchemy <= 2.0.19 +# Urllib3 <= 2.0.4 +# Gevent <= 23.7.0 \ No newline at end of file diff --git a/tests/requirements-310-with-tornado.txt b/tests/requirements-310-with-tornado.txt index f3ec01db..a301e47b 100644 --- a/tests/requirements-310-with-tornado.txt +++ b/tests/requirements-310-with-tornado.txt @@ -4,7 +4,7 @@ # AttributeError: module 'collections' has no attribute 'MutableMapping' # An alternative would be to disable this in testconf: # collect_ignore_glob.append("*test_tornado*") -tornado>=6.1 +tornado==6.2 aiofiles>=0.5.0 aiohttp>=3.8.3 boto3>=1.17.74