Skip to content

Commit 97305a9

Browse files
committed
Run tests against Python 3.12
1 parent c4aab40 commit 97305a9

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

.circleci/config.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ executors:
55
parameters:
66
version:
77
type: string
8+
debian_release:
9+
type: string
10+
default: "buster"
811
docker:
9-
- image: python:<< parameters.version >>-buster
12+
- image: python:<< parameters.version >>-<< parameters.debian_release >>
1013
- image: postgres:13.0
1114
environment:
1215
POSTGRES_DB: 'psqlextra'
@@ -112,6 +115,18 @@ jobs:
112115
name: Upload coverage report
113116
command: coveralls
114117

118+
test-python312:
119+
executor:
120+
name: python
121+
version: "3.12"
122+
debian_release: "bullseye"
123+
steps:
124+
- checkout
125+
- install-dependencies:
126+
extra: test
127+
- run-tests:
128+
pyversion: 312
129+
115130
analysis:
116131
executor:
117132
name: python
@@ -188,6 +203,12 @@ workflows:
188203
only: /.*/
189204
branches:
190205
only: /.*/
206+
- test-python312:
207+
filters:
208+
tags:
209+
only: /.*/
210+
branches:
211+
only: /.*/
191212
- analysis:
192213
filters:
193214
tags:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| :package: | **PyPi** | [![PyPi](https://badge.fury.io/py/django-postgres-extra.svg)](https://pypi.python.org/pypi/django-postgres-extra) |
1010
| :four_leaf_clover: | **Code coverage** | [![Coverage Status](https://coveralls.io/repos/github/SectorLabs/django-postgres-extra/badge.svg?branch=coveralls)](https://coveralls.io/github/SectorLabs/django-postgres-extra?branch=master) |
1111
| <img src="https://cdn.iconscout.com/icon/free/png-256/django-1-282754.png" width="22px" height="22px" align="center" /> | **Django Versions** | 2.0, 2.1, 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0 |
12-
| <img src="https://cdn3.iconfinder.com/data/icons/logos-and-brands-adobe/512/267_Python-512.png" width="22px" height="22px" align="center" /> | **Python Versions** | 3.6, 3.7, 3.8, 3.9, 3.10, 3.11 |
12+
| <img src="https://cdn3.iconfinder.com/data/icons/logos-and-brands-adobe/512/267_Python-512.png" width="22px" height="22px" align="center" /> | **Python Versions** | 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 |
1313
| <img src="https://pbs.twimg.com/profile_images/1152122059/psycopg-100_400x400.png" width="22px" height="22px" align="center" /> | **Psycopg Versions** | 2, 3 |
1414
| :book: | **Documentation** | [Read The Docs](https://django-postgres-extra.readthedocs.io/en/master/) |
1515
| :warning: | **Upgrade** | [Upgrade from v1.x](https://django-postgres-extra.readthedocs.io/en/master/major_releases.html#new-features)

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
envlist =
33
{py36,py37}-dj{20,21,22,30,31,32}-psycopg{28,29}
44
{py38,py39,py310}-dj{21,22,30,31,32,40}-psycopg{28,29}
5-
{py38,py39,py310,py311}-dj{41}-psycopg{28,29}
6-
{py310,py311}-dj{42,50}-psycopg{28,29,31}
5+
{py38,py39,py310,py311,py312}-dj{41}-psycopg{28,29}
6+
{py310,py311,py312}-dj{42,50}-psycopg{28,29,31}
77

88
[testenv]
99
deps =

0 commit comments

Comments
 (0)