Skip to content

Commit

Permalink
Merge pull request #95 from M1ha-Shvn/deps-remove-psycopg2
Browse files Browse the repository at this point in the history
1. Added django 5.0 CI
  • Loading branch information
M1ha-Shvn authored Jan 4, 2024
2 parents e5f74a5 + fe30eec commit e77c533
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
postgres-version: ["9.6", "10", "11", "12", "13", "14", "15"]
django-version: ["3.1", "3.2", "4.0", "4.1", "4.2"]
django-version: ["3.1", "3.2", "4.0", "4.1", "4.2", "5.0"]
exclude:
# Django 4.0+ doesn't support PostgreSQL 9.6
- django-version: "4.0"
Expand All @@ -22,16 +22,28 @@ jobs:
postgres-version: "9.6"
- django-version: "4.2"
postgres-version: "9.6"
- django-version: "5.0"
postgres-version: "9.6"

# Django 4.1+ doesn't support PostgreSQL 10
- django-version: "4.1"
postgres-version: "10"
- django-version: "4.2"
postgres-version: "10"
- django-version: "5.0"
postgres-version: "10"

# Django 4.2+ doesn't support PostgreSQL 11
- django-version: "4.2"
postgres-version: "11"
- django-version: "5.0"
postgres-version: "11"

# Django 5.0+ does not support python 3.8, 3.9
- django-version: "5.0"
python-version: "3.8"
- django-version: "5.0"
python-version: "3.9"

services:
postgres:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ Django extension to update multiple table records with similar (but not equal) c
django.postgres.contrib.JSONField is supported since django 1.9
* pytz for python before 3.3
* typing for python before 3.5
* psycopg2
* psycopg2 or psycopg2-binary
This library is not added to requirements file as it is not used directly (thorugh django cursor only).
Any form of psycopg2 installation can be used.
* PostgreSQL 9.4+
Previous versions may also work, but haven't been tested.
JSONB operations are available for PostgreSQL 9.4+.
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
django>=1.7
psycopg2
pytz; python_version < '3.3'
typing; python_version < '3.5'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='django-pg-bulk-update',
version='3.7.1',
version='3.7.2',
packages=['django_pg_bulk_update'],
package_dir={'': 'src'},
url='https://github.com/M1hacka/django-pg-bulk-update',
Expand Down

0 comments on commit e77c533

Please sign in to comment.