Skip to content

Commit ad49d2e

Browse files
committed
pin oracle tests to django 5.2.10 and 6.0.1
1 parent 93c682b commit ad49d2e

File tree

4 files changed

+83
-1610
lines changed

4 files changed

+83
-1610
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
psycopg-version: ['psycopg2', 'psycopg3']
4141
django-version:
4242
- '4.2' # LTS April 2026
43-
- '5.1' # December 2025
4443
- '5.2' # LTS April 2028
4544
- '6.0' # April 2027
4645
exclude:
@@ -53,18 +52,13 @@ jobs:
5352
- postgres-version: '12'
5453
psycopg-version: 'psycopg3'
5554

56-
- postgres-version: '12'
57-
django-version: '5.1'
58-
5955
- postgres-version: '12'
6056
django-version: '5.2'
6157

6258
# https://github.com/psycopg/psycopg2/pull/1695
6359
- python-version: '3.13'
6460
psycopg-version: 'psycopg2'
6561

66-
- python-version: '3.14'
67-
django-version: '5.1'
6862
# https://github.com/psycopg/psycopg2/pull/1695
6963
- python-version: '3.14'
7064
psycopg-version: 'psycopg2'
@@ -499,8 +493,8 @@ jobs:
499493
python-version: ['3.10', '3.12', '3.14']
500494
django-version:
501495
- '4.2' # LTS April 2026
502-
- '5.2' # LTS April 2028
503-
- '6.0' # April 2027
496+
- '5.2.10' # LTS April 2028
497+
- '6.0.1' # April 2027
504498
oracle-version:
505499
- 'oracle-xe:21'
506500
- 'oracle-free:latest'

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "django-enum"
33
version = "2.3.0"
44
description = "Full and natural support for enumerations as Django model fields."
5-
requires-python = ">=3.10,<4.0"
5+
requires-python = "==3.10.17"
66
authors = [
77
{name = "Brian Kohan", email = "bckohan@gmail.com"},
88
]
@@ -23,7 +23,6 @@ classifiers = [
2323
"Topic :: Software Development :: Libraries :: Python Modules",
2424
"Development Status :: 5 - Production/Stable",
2525
"Framework :: Django :: 4.2",
26-
"Framework :: Django :: 5.1",
2726
"Framework :: Django :: 5.2",
2827
"Framework :: Django :: 6.0",
2928
"Intended Audience :: Developers",

tests/settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767
"PASSWORD": os.environ.get("ORACLE_PASSWORD", "password"),
6868
}
6969
}
70-
# try:
71-
# import oracledb
70+
try:
71+
import oracledb
7272

73-
# oracledb.init_oracle_client()
74-
# except ImportError:
75-
# pass
73+
oracledb.init_oracle_client()
74+
except ImportError:
75+
pass
7676

7777
# from django.db.backends.oracle.base import FormatStylePlaceholderCursor
7878
# from django.db.backends import utils

0 commit comments

Comments
 (0)