Commit graph

340 commits

Author SHA1 Message Date
Aarni Koskela
527962ec04 Switch linting and formatting from flake8+isort+black to ruff 2025-12-19 12:05:33 +02:00
Matt Seymour
992999193d Merge branch 'akx/ci-split' 2025-12-19 09:19:01 +00:00
Matt Seymour
59b3cd6283 Update workflow to be uv compatable 2025-12-19 09:17:33 +00:00
Matt Seymour
37b252e678 Migrate release workflow to release events, update actions, and integrate uv for builds. 2025-12-16 15:54:59 +00:00
Matt Seymour
a01d6b1551 Update project to use uv. 2025-12-16 14:18:42 +00:00
Matt Seymour
989429838a Expand test matrix to support Python 3.14 and Django 6.0, update compatibility exclusions 2025-12-15 16:15:57 +00:00
GabrielBarrantes
438ec393ab
Update license to BSD-3-Clause in setup.py (#279) 2025-12-15 15:58:23 +00:00
pre-commit-ci[bot]
8a3c372deb
[pre-commit.ci] pre-commit autoupdate (#278)
updates:
- [github.com/pycqa/isort: 6.0.1 → 7.0.0](https://github.com/pycqa/isort/compare/6.0.1...7.0.0)
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...25.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-12-15 15:56:33 +00:00
pre-commit-ci[bot]
390d524112
[pre-commit.ci] pre-commit autoupdate (#276)
updates:
- [github.com/psf/black: 25.1.0 → 25.9.0](https://github.com/psf/black/compare/25.1.0...25.9.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-22 18:45:50 +01:00
Aarni Koskela
58ed5a2276 CI: run typechecks only once, not for each Django/Python version 2025-08-20 12:15:31 +03:00
pre-commit-ci[bot]
7cc1121b29
[pre-commit.ci] pre-commit autoupdate (#270)
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-08-11 21:06:04 +01:00
Matt Seymour
0819957676 Allow conn_max_age to accept None for flexibility in configuration 2025-07-11 17:15:17 +01:00
pre-commit-ci[bot]
34170b5aef
[pre-commit.ci] pre-commit autoupdate (#268)
updates:
- [github.com/pycqa/flake8: 7.2.0 → 7.3.0](https://github.com/pycqa/flake8/compare/7.2.0...7.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-11 16:22:42 +01:00
Matt Seymour
ab20a3aebd
Update setup.py 2025-07-02 10:28:15 +01:00
Matt Seymour
7d47e451a0
Update CHANGELOG.md 2025-07-02 10:28:00 +01:00
Ed Morley
ae2fabf95e
Re-drop dependency on typing_extensions (#269)
Since it was only being used for `TypedDict`, which was added in
Python 3.8 and `dj-database-url` v2.3.0+ only supports Python 3.9+.

See:
https://docs.python.org/3.12/library/typing.html#typing.TypedDict
https://github.com/jazzband/dj-database-url/blob/master/CHANGELOG.md#v230-2024-10-23

Note: This is a repeat of #257, since that PR was lost as part
of merges that occurred during the release of 3.0.0:
https://github.com/jazzband/dj-database-url/pull/257#issuecomment-3023857093
2025-07-01 18:53:01 +01:00
Matt Seymour
7c47649053
Update CHANGELOG.md 2025-06-23 08:54:54 +01:00
Matt Seymour
3e8b69aafc Update python supported version
Pre-empt python 3.14 support.
2025-06-20 20:19:31 +01:00
Matt Seymour
4977c7d0d6
Update package version to 3.0.0 2025-05-18 20:46:58 +01:00
Matt Seymour
a139abcf22
Update project dependencies
Adds typing_extensions
2025-05-18 20:46:51 +01:00
Matt Seymour
e4ccc63ec6
Remove Python 3.9 support from setup.py
Python 3.9 is no longer listed as a supported version in setup.py.
2025-05-09 10:29:33 +01:00
Matt Seymour
9598fb0d85
Add support for Django 5.2 in classifiers
This commit updates the setup.py file to include Django 5.2 in the list of supported framework versions.
2025-05-09 10:29:16 +01:00
Matt Seymour
cdb5d645ec
Update tests 2025-04-30 14:13:38 +01:00
Matt Seymour
15ac40b0a7
Fix pyright issues 2025-04-30 14:08:18 +01:00
pre-commit-ci[bot]
79d929b4e0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-30 12:29:23 +00:00
Matt Seymour
c469885ebf
Merge branch 'master' into master 2025-04-30 13:29:15 +01:00
pre-commit-ci[bot]
e90f975526
[pre-commit.ci] pre-commit autoupdate (#262)
updates:
- [github.com/pycqa/isort: 6.0.0 → 6.0.1](https://github.com/pycqa/isort/compare/6.0.0...6.0.1)
- [github.com/pycqa/flake8: 7.1.1 → 7.2.0](https://github.com/pycqa/flake8/compare/7.1.1...7.2.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-29 09:39:28 +01:00
Adam Johnson
5f5af49340
Fix type errors (#261)
First, Mypy reported a lot of issues for the tests not including  `-> None` annotations. After adding them, there were lots of issues due to the `url` variables being reassigned from `str` to `DBConfig` objects, fixed by inlining the URLs into the `parse()` calls.
2025-02-16 07:53:52 +00:00
pre-commit-ci[bot]
8501773f73
[pre-commit.ci] pre-commit autoupdate (#259)
updates:
- [github.com/pycqa/isort: 5.13.2 → 6.0.0](https://github.com/pycqa/isort/compare/5.13.2...6.0.0)
- [github.com/psf/black: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-03 18:13:35 +00:00
Ed Morley
358746c41d
Drop dependency on typing_extensions (#257)
Since it was only being used for `TypedDict`, which was added in
Python 3.8 and `dj-database-url` v2.3.0+ only supports Python 3.9+.

See:
https://docs.python.org/3.12/library/typing.html#typing.TypedDict
https://github.com/jazzband/dj-database-url/blob/master/CHANGELOG.md#v230-2024-10-23
2024-11-22 12:31:02 +00:00
Matt Seymour
0f8cfdf1c9
Update test.yml 2024-10-23 10:57:17 +01:00
Matt Seymour
3505200b18
Update CHANGELOG.md 2024-10-23 10:55:15 +01:00
Matt Seymour
396344b251
Update setup.py
Bump version 2.3.0 ready for next release.
2024-10-23 10:53:25 +01:00
Matt Seymour
64660c7c5f
Update setup.py
Updated supported versions of python and django
2024-10-23 10:52:32 +01:00
pre-commit-ci[bot]
eff9f27514
[pre-commit.ci] pre-commit autoupdate (#256)
updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](https://github.com/psf/black/compare/24.8.0...24.10.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-23 10:50:06 +01:00
Tom Parker-Shemilt
08d9cf0978
Add Python 3.13 and Django 5.1 testing (#255)
* Add Python 3.13 and Django 5.1 testing
* Upgrade to modern actions
2024-10-10 23:00:30 +01:00
Tom Parker-Shemilt
99128b507b
Make config test options not unknown types (#252)
* Make config test options not unknown types
* Run pyright as part of tests
2024-10-10 22:45:31 +01:00
pre-commit-ci[bot]
45ac3bbf89
[pre-commit.ci] pre-commit autoupdate (#254)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-08 14:33:05 -05:00
Lino
8d32603e18
Update CHANGELOG.md
As requested in https://github.com/jazzband/dj-database-url/issues/250
2024-10-03 05:46:26 +02:00
pre-commit-ci[bot]
ed306f37ca
[pre-commit.ci] pre-commit autoupdate (#251)
updates:
- [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0)
- [github.com/pycqa/flake8: 7.1.0 → 7.1.1](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-27 09:26:28 +01:00
pre-commit-ci[bot]
3aad9adc71
[pre-commit.ci] pre-commit autoupdate (#249)
updates:
- [github.com/pycqa/flake8: 7.0.0 → 7.1.0](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-19 10:52:48 +01:00
Matt Seymour
51773f3a89
Update setup.py 2024-05-28 13:23:37 +01:00
boxydog
5a91d7a2c7
Update README.rst (#247)
Add `postgresql` as an alternative URL, which works and is in the code.
2024-05-28 13:11:20 +01:00
pre-commit-ci[bot]
cda5b0c3ce
[pre-commit.ci] pre-commit autoupdate (#245)
updates:
- [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-28 13:07:41 +01:00
pre-commit-ci[bot]
7906f3bf80
[pre-commit.ci] pre-commit autoupdate (#244)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)
- [github.com/psf/black: 24.2.0 → 24.4.0](https://github.com/psf/black/compare/24.2.0...24.4.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-22 11:47:10 +01:00
pre-commit-ci[bot]
5106a19129
[pre-commit.ci] pre-commit autoupdate (#242)
updates:
- [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-14 16:15:34 +00:00
Alexander Gerbik
b27bd63e82 Generic backend registration 2024-02-29 14:09:10 +01:00
Gert Burger
bcf163e3ab
Check list of schemes to determine if search_path option should be added (#243) 2024-02-20 00:02:06 +00:00
pre-commit-ci[bot]
86f04ef5c6
[pre-commit.ci] pre-commit autoupdate (#241)
updates:
- [github.com/pycqa/flake8: 6.1.0 → 7.0.0](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-09 15:57:45 +00:00
Matt Seymour
fc0dca1b25
Update django 5.0 python compatability (#239) 2023-12-27 16:47:04 +00:00