Repository: stardog-union/pystardog (language: python)

Issue:
tests failing for python 3:10
the default python base image got updated in dockerhub from 3.9 to 3.10. This breaks the old version of pytests we were using. the error can be found here: https://app.circleci.com/pipelines/github/stardog-union/pystardog/226/workflows/6f9c56ff-5b04-40b3-8bc3-85eb5dd6df58/jobs/259



Discussion / hints:

Fix patch:
diff --git a/dockerfiles/dockerfile-python b/dockerfiles/dockerfile-python
index a0ac7de..f78ada0 100644
--- a/dockerfiles/dockerfile-python
+++ b/dockerfiles/dockerfile-python
@@ -5,7 +5,7 @@ RUN apt-get update && apt-get install sshpass jq -y
 COPY . /var/pystardog
 
 WORKDIR /var/pystardog
-RUN pip install -r requirements.txt
+RUN pip install -r requirements.txt -r test-requirements.txt
 
 
 
diff --git a/requirements.txt b/requirements.txt
index 5d5de84..90e91fe 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,6 @@
 requests==2.22.0
 requests-toolbelt==0.9.1
 contextlib2==0.5.5
-pytest==3.7.2
 Sphinx==2.1.2
 sphinx-rtd-theme==0.4.3
 recommonmark==0.5.0


Test patch:
diff --git a/test-requirements.txt b/test-requirements.txt
new file mode 100644
index 0000000..9270945
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1,1 @@
+pytest==6.2.5