Repository: marcua/datools (language: python)

Issue:
Tests should include Python 3.10



Discussion / hints:

Fix patch:
diff --git a/requirements_dev.txt b/requirements_dev.txt
index 96946f6..ae07cac 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -8,7 +8,7 @@ coverage==4.5.4
 Sphinx==1.8.5
 twine==1.14.0
 Click==7.0
-pytest==4.6.5
+pytest==6.2.5
 pytest-runner==5.1
 mypy==0.910
 jupyterlab==3.2.4
diff --git a/setup.cfg b/setup.cfg
index 6179050..cbfa404 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -21,6 +21,3 @@ exclude = docs
 # Define setup.py command aliases here
 test = pytest
 
-[tool:pytest]
-collect_ignore = ['setup.py']
-
diff --git a/setup.py b/setup.py
index ea38941..6d3671d 100644
--- a/setup.py
+++ b/setup.py
@@ -12,10 +12,9 @@
 
 requirements = [
     'Click>=7.0',
-    'dataclasses==0.8; python_version<"3.7"',
+    'dataclasses; python_version<"3.7"',
     'sqlalchemy==1.4.17',
     'tabulate==0.8.9',
-    'duckdb-engine==0.1.7'
 ]
 
 setup_requirements = ['pytest-runner', ]
@@ -31,10 +30,11 @@
         'Intended Audience :: Developers',
         'License :: OSI Approved :: Apache Software License',
         'Natural Language :: English',
-        'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
     ],
     description="Some tools for working with data",
     entry_points={


Test patch:
diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml
index a725fb2..9636a46 100644
--- a/.github/workflows/python-tests.yml
+++ b/.github/workflows/python-tests.yml
@@ -11,7 +11,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [3.6, 3.7, 3.8, 3.9]
+        python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
 
     steps:
     - uses: actions/checkout@v2
@@ -23,9 +23,9 @@ jobs:
       run: |
         python -m pip install -r requirements_dev.txt
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-    - name: Lint with flake8
+    - name: Lint and typecheck
       run: |
         make lint
-    - name: Test with pytest
+    - name: Run tests
       run: |
         make test