Repository: ambitioninc/django-manager-utils (language: python)

Issue:
Revert psycopg changes



Discussion / hints:

Fix patch:
diff --git a/docs/release_notes.rst b/docs/release_notes.rst
index c108eaa..985a970 100644
--- a/docs/release_notes.rst
+++ b/docs/release_notes.rst
@@ -1,6 +1,10 @@
 Release Notes
 =============
 
+v3.1.4
+------
+* revert psycopg3 code
+
 v3.1.3
 ------
 * Added object ordering to upserts and updates to help reduce the number of deadlocks
diff --git a/manager_utils/version.py b/manager_utils/version.py
index dc0a25b..a7f6b6d 100644
--- a/manager_utils/version.py
+++ b/manager_utils/version.py
@@ -1,1 +1,1 @@
-__version__ = '3.1.3'
+__version__ = '3.1.4'
diff --git a/requirements/requirements.txt b/requirements/requirements.txt
index 1c964bd..e4fd913 100644
--- a/requirements/requirements.txt
+++ b/requirements/requirements.txt
@@ -1,3 +1,2 @@
 Django>=3.2
-django-query-builder>=3.2.0
-django-timezone-field<6
\ No newline at end of file
+django-query-builder>=3.1.0


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index d98e09a..7b09081 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -22,9 +22,6 @@ jobs:
         - 'Django~=4.0.0'
         - 'Django~=4.1.0'
         - 'Django~=4.2.0'
-        psycopg:
-        - 'psycopg2==2.9.6'
-        - 'psycopg==3.1.10'
         experimental: [false]
         exclude:
         - python: '3.7'
@@ -33,12 +30,6 @@ jobs:
           django: 'Django~=4.1.0'
         - python: '3.7'
           django: 'Django~=4.2.0'
-        - psycopg: 'psycopg==3.1.10'
-          django: 'Django~=3.2.0'
-        - psycopg: 'psycopg==3.1.10'
-          django: 'Django~=4.0.0'
-        - psycopg: 'psycopg==3.1.10'
-          django: 'Django~=4.1.0'
     services:
       postgres:
         image: postgres:latest
@@ -65,7 +56,6 @@ jobs:
         pip install -r requirements/requirements.txt
         pip install -r requirements/requirements-testing.txt
         pip install "${{ matrix.django }}"
-        pip install "${{ matrix.psycopg }}"
         pip freeze
     - name: Run tests
       env:
diff --git a/requirements/requirements-testing.txt b/requirements/requirements-testing.txt
index ba133b4..86b18e3 100644
--- a/requirements/requirements-testing.txt
+++ b/requirements/requirements-testing.txt
@@ -1,4 +1,5 @@
 coverage
+psycopg2
 django-nose>=1.3
 django-dynamic-fixture
 pytz