Skip to content

Commit 7708308

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

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

.circleci/config.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ executors:
66
version:
77
type: string
88
docker:
9-
- image: python:<< parameters.version >>-buster
9+
- image: python:<< parameters.version >>-bullseye
1010
- image: postgres:13.0
1111
environment:
1212
POSTGRES_DB: 'psqlextra'
@@ -22,7 +22,7 @@ commands:
2222
steps:
2323
- run:
2424
name: Install packages
25-
command: apt-get update && apt-get install -y --no-install-recommends postgresql-client-11 libpq-dev build-essential git
25+
command: apt-get update && apt-get install -y --no-install-recommends postgresql-client-13 libpq-dev build-essential git
2626

2727
- run:
2828
name: Install Python packages
@@ -112,6 +112,18 @@ jobs:
112112
name: Upload coverage report
113113
command: coveralls
114114

115+
test-python312:
116+
executor:
117+
name: python
118+
version: "3.12"
119+
debian_release: "bullseye"
120+
steps:
121+
- checkout
122+
- install-dependencies:
123+
extra: test
124+
- run-tests:
125+
pyversion: 312
126+
115127
analysis:
116128
executor:
117129
name: python
@@ -188,6 +200,12 @@ workflows:
188200
only: /.*/
189201
branches:
190202
only: /.*/
203+
- test-python312:
204+
filters:
205+
tags:
206+
only: /.*/
207+
branches:
208+
only: /.*/
191209
- analysis:
192210
filters:
193211
tags:

README.md

+1-1
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

+2-2
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)