Skip to content

Commit 143752b

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

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.circleci/config.yml

+19-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,17 @@ jobs:
112112
name: Upload coverage report
113113
command: coveralls
114114

115+
test-python312:
116+
executor:
117+
name: python
118+
version: "3.12"
119+
steps:
120+
- checkout
121+
- install-dependencies:
122+
extra: test
123+
- run-tests:
124+
pyversion: 312
125+
115126
analysis:
116127
executor:
117128
name: python
@@ -188,6 +199,12 @@ workflows:
188199
only: /.*/
189200
branches:
190201
only: /.*/
202+
- test-python312:
203+
filters:
204+
tags:
205+
only: /.*/
206+
branches:
207+
only: /.*/
191208
- analysis:
192209
filters:
193210
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)