Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Add Django 4.1 support #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelog

## Pending
### Feature
- Django 4.1 support.

## 1.0.3 (2022-07-31)
### Trivial
- Updated with latest Django temlate, fixing doc builds [Wes Kendall, 2181b3c]
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ version = "1.0.3"
description = "Route postgres connections and hook into cursor execution"
authors = ["Wes Kendall"]
classifiers = [
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
Comment on lines +34 to +38
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding classifiers helps advertise which versions the package is tested on

"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
[tox]
isolated_build = true
envlist = clean,py37-django22,py37-django32,{38,39,310}-django{22,32,40},report
envlist =
clean
py37-django{22,32}
py{38,39,310}-django{22,32,40,41}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the previous config was missing py for these versions - it would just generate e.g. 38-django22, which I think doesn't affect the Python version. So my guess is your tests have not been running with different Python versions for these environments.

report

[testenv]
deps =
django22: Django>=2.2,<2.3
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
whitelist_externals =
poetry
bash
Expand Down