diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4339dca..3483a83 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,11 +22,11 @@ jobs: fail-fast: false matrix: python-version: - - 3.7 - 3.8 - 3.9 - '3.10' - '3.11' + - '3.12' - pypy3.9 services: @@ -37,11 +37,12 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | diff --git a/ming/utils.py b/ming/utils.py index 1be120f..c36a553 100644 --- a/ming/utils.py +++ b/ming/utils.py @@ -1,4 +1,3 @@ -import cgi from threading import local import warnings import pymongo diff --git a/setup.py b/setup.py index cff95a3..6781ce9 100644 --- a/setup.py +++ b/setup.py @@ -18,13 +18,13 @@ 'Topic :: Database', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers - python_requires='>=3.7', + python_requires='>=3.8', keywords='mongo, pymongo', author='Rick Copeland', author_email='rick@geek.net', @@ -38,6 +38,7 @@ "pytz", ], tests_require=[ + "setuptools" "pytz", "WebOb", "webtest", diff --git a/tox.ini b/tox.ini index 0946b45..e97b217 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,11 @@ [tox] skip_missing_interpreters = True envlist = - py{37,38,39,310,311},pypy3 + py{38,39,310,311,312},pypy3 [testenv] deps = + setuptools pytz WebOb webtest