diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 67563e5..fe08c20 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.9'] + python: ['3.10'] steps: - name: Checkout code @@ -24,11 +24,11 @@ jobs: - name: Install extra packages for tests run: | - pip install wheel nose lxml + pip install wheel pynose lxml - name: Install package run: | - python setup.py install + pip install . - name: Run tests run: nosetests --exe diff --git a/scraperwiki/sql.py b/scraperwiki/sql.py index 138fdea..62aa149 100644 --- a/scraperwiki/sql.py +++ b/scraperwiki/sql.py @@ -1,5 +1,6 @@ from __future__ import absolute_import, print_function -from collections import Iterable, Mapping, OrderedDict +from collections import OrderedDict +from collections.abc import Iterable, Mapping import atexit import datetime