Gabriel Barrantes
e8fe5666b2
build: switch to pyproject.toml for package building
...
Use the pyproject.toml configuration instead of setup.py for building
the package. This modernizes the build process, ensures better
compatibility with PEP tools, and simplifies dependency
management.
2025-09-04 15:33:48 -06: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
pre-commit-ci[bot]
ebb86f9b9a
[pre-commit.ci] pre-commit autoupdate ( #238 )
...
updates:
- [github.com/psf/black: 23.12.0 → 23.12.1](https://github.com/psf/black/compare/23.12.0...23.12.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-27 16:34:07 +00:00
pre-commit-ci[bot]
1412cef6b5
[pre-commit.ci] pre-commit autoupdate ( #237 )
...
updates:
- [github.com/pycqa/isort: 5.13.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.13.0...5.13.2 )
- [github.com/psf/black: 23.11.0 → 23.12.0](https://github.com/psf/black/compare/23.11.0...23.12.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-21 12:50:55 +00:00
pre-commit-ci[bot]
186900d937
[pre-commit.ci] pre-commit autoupdate ( #236 )
...
updates:
- [github.com/pycqa/isort: 5.12.0 → 5.13.0](https://github.com/pycqa/isort/compare/5.12.0...5.13.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-12 16:25:10 +00:00
Tom Parker-Shemilt
d23a2ca4c5
OPTIONS cannot be None given our code ( #232 )
...
As per the notes in https://github.com/jazzband/dj-database-url/issues/218
2023-12-09 09:41:09 +00:00
truongvan
0879f127b9
Enhance Query String Parsing for Server-Side Binding in Django 4.2 with psycopg 3.1.8+ Resolves #234 ( #235 )
...
* Refactor parsing of query string to handle int, bool, and text types
2023-12-09 09:39:35 +00:00
pre-commit-ci[bot]
9a74cc5283
[pre-commit.ci] pre-commit autoupdate ( #233 )
...
updates:
- [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-13 18:26:14 +00:00
Fabian Binz
44bfba5fa2
Add disable_server_side_cursors parameter ( #231 )
2023-11-08 22:21:29 +00:00
pre-commit-ci[bot]
ee2cb860f5
[pre-commit.ci] pre-commit autoupdate ( #229 )
...
updates:
- [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-30 17:54:47 +00:00
pre-commit-ci[bot]
9ea2808ed2
[pre-commit.ci] pre-commit autoupdate ( #228 )
...
updates:
- [github.com/psf/black: 23.9.1 → 23.10.0](https://github.com/psf/black/compare/23.9.1...23.10.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-23 19:24:42 +01:00