diff --git a/.circleci/config.yml b/.circleci/config.yml index cc6bdd6..cbad7a0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,49 +29,31 @@ common: &common jobs: - python/pip-run-tests: name: python27 - image: circleci/python:2.7 + image: cimg/python:2.7 - python/pip-run-tests: name: python36 - # so we test the mock monkey patches: - image: circleci/python:3.6.6 + image: cimg/python:3.6 - python/pip-run-tests: - name: python37 - image: circleci/python:3.7 + name: python310 + image: cimg/python:3.10 - python/pip-run-tests: - name: python38 - image: circleci/python:3.8 - - python/pip-run-tests: - name: python39 - image: circleci/python:3.9 - - python/pip-run-tests: - name: python39-mock-backport - image: circleci/python:3.9 + name: python310-mock-backport + image: cimg/python:3.10 extra_packages: "mock" - python/pip-run-tests: - name: python27-django-1-9 - image: circleci/python:2.7 - extra_packages: "'django<1.10'" - - python/pip-run-tests: - name: python36-django-1-11 - image: circleci/python:3.6 - extra_packages: "'django<1.12'" - - python/pip-run-tests: - name: python39-django-latest - image: circleci/python:3.9 + name: python310-django-latest + image: cimg/python:3.9 + extra_packages: "django" - python/coverage: name: coverage - image: circleci/python:3.7 + image: cimg/python:3.10 requires: - python27 - python36 - - python37 - - python38 - - python39 - - python39-mock-backport - - python27-django-1-9 - - python36-django-1-11 - - python39-django-latest + - python310 + - python310-mock-backport + - python310-django-latest - python/pip-docs: name: docs @@ -88,35 +70,35 @@ common: &common - check-package: name: check-package-python27 - image: circleci/python:2.7 + image: cimg/python:2.7 requires: - package - check-package: - name: check-package-python39 - image: circleci/python:3.9 + name: check-package-python310 + image: cimg/python:3.10 requires: - package - check-package: name: check-package-python27-mock - image: circleci/python:2.7 + image: cimg/python:2.7 extra_package: mock imports: "testfixtures, testfixtures.mock" requires: - package - check-package: - name: check-package-python39-mock - image: circleci/python:3.9 + name: check-package-python310-mock + image: cimg/python:3.10 extra_package: mock imports: "testfixtures, testfixtures.mock" requires: - package - check-package: - name: check-package-python39-django - image: circleci/python:3.9 + name: check-package-python310-django + image: cimg/python:3.10 extra_package: django imports: "testfixtures, testfixtures.django" requires: @@ -128,9 +110,9 @@ common: &common requires: - check-package-python27 - check-package-python27-mock - - check-package-python39 - - check-package-python39-mock - - check-package-python39-django + - check-package-python310 + - check-package-python310-mock + - check-package-python310-django workflows: push: diff --git a/setup.py b/setup.py index ae58d72..ceae0fa 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], packages=find_packages(), zip_safe=False,