rafsaf / minimal-fastapi-postgres-template

minimal-fastapi-postgres-template based on official template but rewritten
https://minimal-fastapi-postgres-template.rafsaf.pl
MIT License
456 stars 60 forks source link

Bump the all-dependencies group across 1 directory with 24 updates #65

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps the all-dependencies group with 23 updates in the / directory:

Package From To
pydantic 2.7.1 2.7.3
pydantic-settings 2.2.1 2.3.1
coverage 7.5.1 7.5.3
freezegun 1.5.0 1.5.1
pre-commit 3.7.0 3.7.1
pytest 8.2.0 8.2.2
ruff 0.4.3 0.4.8
uvicorn 0.29.0 0.30.1
annotated-types 0.6.0 0.7.0
anyio 4.3.0 4.4.0
certifi 2024.2.2 2024.6.2
fastapi-cli 0.0.2 0.0.4
mako 1.3.3 1.3.5
nodeenv 1.8.0 1.9.1
orjson 3.10.3 3.10.4
packaging 24.0 24.1
platformdirs 4.2.1 4.2.2
setuptools 69.5.1 70.0.0
typing-extensions 4.11.0 4.12.2
ujson 5.9.0 5.10.0
virtualenv 20.26.1 20.26.2
watchfiles 0.21.0 0.22.0
zope-interface 6.3 6.4.post2

Updates pydantic from 2.7.1 to 2.7.3

Release notes

Sourced from pydantic's releases.

v2.7.3 (2024-06-03)

What's Changed

Packaging

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.2...v2.7.3/*

v2.7.2 (2024-05-28)

What's Changed

Packaging

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.7.1...v2.7.2/

Changelog

Sourced from pydantic's changelog.

v2.7.3 (2024-06-03)

GitHub release

What's Changed

Packaging

Fixes

v2.7.2 (2024-05-28)

GitHub release

What's Changed

Packaging

Fixes

Commits


Updates pydantic-settings from 2.2.1 to 2.3.1

Release notes

Sourced from pydantic-settings's releases.

v2.3.1

What's Changed

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1

v2.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0

Commits
  • 39d5e81 Prepare release 2.3.1 (#302)
  • ad07a57 Fix a regresion in parsing env value for nested dict (#301)
  • bcbfd17 Prepare release 2.3.0 (#297)
  • 4169814 Add CLI Settings Source (#214)
  • e066774 Fix a bug when we have case insentive field in nested model (#294)
  • 6d25cee Fix test_nested_env_delimiter_aliases to use BaseModel in sub model (#286)
  • 8c5a45e Fix an issue when inner types of a discriminated union with a callable discri...
  • 09d1009 Add python versions and downloads badges to readme (#283)
  • 1ffbd95 fix: a second level of environment nesting expected a dict (#281)
  • 2d2f94f fix: superfluous deep env conflicts with non-dict model leaf (#276)
  • Additional commits viewable in compare view


Updates coverage from 7.5.1 to 7.5.3

Changelog

Sourced from coverage's changelog.

Version 7.5.3 — 2024-05-28

  • Performance improvements for combining data files, especially when measuring line coverage. A few different quadratic behaviors were eliminated. In one extreme case of combining 700+ data files, the time dropped from more than three hours to seven minutes. Thanks for Kraken Tech for funding the fix.

  • Performance improvements for generating HTML reports, with a side benefit of reducing memory use, closing issue 1791_. Thanks to Daniel Diniz for helping to diagnose the problem.

.. _issue 1791: nedbat/coveragepy#1791

.. _changes_7-5-2:

Version 7.5.2 — 2024-05-24

  • Fix: nested matches of exclude patterns could exclude too much code, as reported in issue 1779_. This is now fixed.

  • Changed: previously, coverage.py would consider a module docstring to be an executable statement if it appeared after line 1 in the file, but not executable if it was the first line. Now module docstrings are never counted as executable statements. This can change coverage.py's count of the number of statements in a file, which can slightly change the coverage percentage reported.

  • In the HTML report, the filter term and "hide covered" checkbox settings are remembered between viewings, thanks to Daniel Diniz <pull 1776_>_.

  • Python 3.13.0b1 is supported.

  • Fix: parsing error handling is improved to ensure bizarre source files are handled gracefully, and to unblock oss-fuzz fuzzing, thanks to Liam DeVoe <pull 1788_>. Closes issue 1787.

.. _pull 1776: nedbat/coveragepy#1776 .. _issue 1779: nedbat/coveragepy#1779 .. _issue 1787: nedbat/coveragepy#1787 .. _pull 1788: nedbat/coveragepy#1788

.. _changes_7-5-1:

Commits
  • f310d7e docs: sample HTML for 7.5.3
  • a51d52f docs: prep for 7.5.3
  • b666f3a perf: it's faster in all versions if we don't cache tokenize #1791
  • a2b4929 docs: changelog entry for combine performance improvements
  • b9aff50 perf: don't read full line_bits table each time
  • c45ebac perf: cache alias mapping
  • 390cb97 perf: avoid quadratic behavior when combining line coverage
  • d3caf53 docs(build): tweaks to howto
  • 909e887 build: bump version
  • 242adea build: don't claim pre-alpha-1 in classifiers
  • Additional commits viewable in compare view


Updates freezegun from 1.5.0 to 1.5.1

Changelog

Sourced from freezegun's changelog.

1.5.1

  • Fix the typing of the tick() method, and improve it's behaviour.
Commits
  • 3f9fac4 Increase version number
  • e0f2c3c CHANGELOG for 1.5.1
  • ea054a3 Merge pull request #546 from robsdedude/patch-1
  • df263dc Extend type checking
  • aecc78a Keep numbers for runtime type checks, use float for type hints
  • 023c7a3 Revert runtime type-check to numbers.Real
  • be779f4 Add test for manually ticking StepTickTimeFactory
  • d2872d0 Fix instance checks
  • c963608 Fix tick delta type handling
  • See full diff in compare view


Updates pre-commit from 3.7.0 to 3.7.1

Release notes

Sourced from pre-commit's releases.

pre-commit v3.7.1

Fixes

Changelog

Sourced from pre-commit's changelog.

3.7.1 - 2024-05-10

Fixes

Commits
  • 9ee0768 v3.7.1
  • eeac061 Merge pull request #3201 from pre-commit/rust-default-language-version
  • 296f592 determine rust default language version independent of rust-toolchain.toml
  • 1602328 Merge pull request #3193 from pre-commit/pre-commit-ci-update-config
  • 0142f45 [pre-commit.ci] pre-commit autoupdate
  • d7e21cd Merge pull request #3194 from pre-commit/handle-readonly-3-12
  • 5c3d006 use a simpler gem for testing additional_dependencies
  • 0d4c6da adjust _handle_readonly for typeshed updates
  • 85fe182 Merge pull request #3176 from pre-commit/pre-commit-ci-update-config
  • 74d05b4 [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view


Updates pytest from 8.2.0 to 8.2.2

Release notes

Sourced from pytest's releases.

8.2.2

pytest 8.2.2 (2024-06-04)

Bug Fixes

  • #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
  • #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
  • #12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation

  • #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
  • #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
  • #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.

8.2.1

pytest 8.2.1 (2024-05-19)

Improvements

  • #12334: Support for Python 3.13 (beta1 at the time of writing).

Bug Fixes

  • #12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
  • #12191: Keyboard interrupts and system exits are now properly handled during the test collection.
  • #12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
  • #12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created .pytest_cache directories became rwx------ instead of the expected rwxr-xr-x.

Trivial/Internal Changes

  • #12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
Commits
  • 329d371 Prepare release version 8.2.2
  • 214d098 Merge pull request #12414 from bluetech/backport-12409
  • 153a436 [8.2.x] fixtures: fix catastrophic performance problem in reorder_items
  • b41d5a5 Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x
  • 9bb73d7 [8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...
  • 4569a01 [8.2.x] doc: Update trainings/events (#12402)
  • 1d103e5 [8.2.x] Clarify pytest_ignore_collect docs (#12386)
  • 240a252 [8.2.x] Add html_baseurl to sphinx conf.py (#12372)
  • a5ee3c4 Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.x
  • f7358ae [8.2.x] unittest: fix class instances no longer released on test teardown sin...
  • Additional commits viewable in compare view


Updates ruff from 0.4.3 to 0.4.8

Release notes

Sourced from ruff's releases.

v0.4.8

Changes

Performance

  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)

Preview features

  • [flake8-bugbear] Implement return-in-generator (B901) (#11644)
  • [flake8-pyi] Implement PYI063 (#11699)
  • [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#11540)

Rule changes

  • [pyupgrade] Update UP035 for Python 3.13 and the latest version of typing_extensions (#11693)
  • [numpy] Update NPY001 rule for NumPy 2.0 (#11735)

Server

  • Formatting a document with syntax problems no longer spams a visible error popup (#11745)

CLI

  • Add RDJson support for --output-format flag (#11682)

Bug fixes

  • [pyupgrade] Write empty string in lieu of panic when fixing UP032 (#11696)
  • [flake8-simplify] Simplify double negatives in SIM103 (#11684)
  • Ensure the expression generator adds a newline before type statements (#11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#11728)

Contributors

v0.4.7

... (truncated)

Changelog

Sourced from ruff's changelog.

0.4.8

Performance

  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#11457)

Preview features

  • [flake8-bugbear] Implement return-in-generator (B901) (#11644)
  • [flake8-pyi] Implement PYI063 (#11699)
  • [pygrep_hooks] Check blanket ignores via file-level pragmas (PGH004) (#11540)

Rule changes

  • [pyupgrade] Update UP035 for Python 3.13 and the latest version of typing_extensions (#11693)
  • [numpy] Update NPY001 rule for NumPy 2.0 (#11735)

Server

  • Formatting a document with syntax problems no longer spams a visible error popup (#11745)

CLI

  • Add RDJson support for --output-format flag (#11682)

Bug fixes

  • [pyupgrade] Write empty string in lieu of panic when fixing UP032 (#11696)
  • [flake8-simplify] Simplify double negatives in SIM103 (#11684)
  • Ensure the expression generator adds a newline before type statements (#11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#11728)

0.4.7

Preview features

  • [flake8-pyi] Implement PYI064 (#11325)
  • [flake8-pyi] Implement PYI066 (#11541)
  • [flake8-pyi] Implement PYI057 (#11486)
  • [pyflakes] Enable F822 in __init__.py files by default (#11370)

Formatter

  • Fix incorrect placement of trailing stub function comments (#11632)

Server

  • Respect file exclusions in ruff server (#11590)
  • Add support for documents not exist on disk (#11588)
  • Add Vim and Kate setup guide for ruff server (#11615)

... (truncated)

Commits
  • a8cf709 Bump version to v0.4.8 (#11755)
  • 895eb3e [red-knot] refactor CFG outside of symbol table (#11746)
  • 2e0a975 Disallow access to Parsed output, use the API instead (#11741)
  • b021b5b Use Tokens from parsed type annotation or parsed source (#11740)
  • eed6d78 Update type annotation parsing API to return Parsed (#11739)
  • 8338db6 ruff server: Formatting a document with syntax problems no longer spams a v...
  • d056d09 [red-knot] add if-statement support to FlowGraph (#11673)
  • 1645be0 Update NPY001 rule for NumPy 2.0 (#11735)
  • 2c86502 CI: add job to run tests under minimum supported rust version (msrv) (#11737)
  • 2567e14 Lexer should consider BOM for the start offset (#11732)
  • Additional commits viewable in compare view


Updates uvicorn from 0.29.0 to 0.30.1

Release notes

Sourced from uvicorn's releases.

Version 0.30.1

Fixed

  • Allow horizontal tabs \t in response header values (#2345)

Full Changelog: https://github.com/encode/uvicorn/compare/0.30.0...0.30.1

Version 0.30.0

Added

  • New multiprocess manager (#2183)
  • Allow ConfigParser or a io.IO[Any] on log_config (#1976)

Fixed

  • Suppress side effects of signal propagation (#2317)
  • Send content-length header on 5xx (#2304)

Deprecated

  • Deprecate the uvicorn.workers module (#2302)

Full Changelog: https://github.com/encode/uvicorn/compare/0.29.0...0.30.0

Changelog

Sourced from uvicorn's changelog.

0.30.1 (2024-06-02)

Fixed

  • Allow horizontal tabs \t in response header values (#2345)

0.30.0 (2024-05-28)

Added

  • New multiprocess manager (#2183)
  • Allow ConfigParser or a io.IO[Any] on log_config (#1976)

Fixed

  • Suppress side-effects of signal propagation (#2317)
  • Send content-length header on 5xx (#2304)

Deprecated

  • Deprecate the uvicorn.workers module (#2302)
Commits


Updates annotated-types from 0.6.0 to 0.7.0

Release notes

Sourced from annotated-types's releases.

v0.7.0

What's Changed

New Contributors

Full Changelog: https://github.com/annotated-types/annotated-types/compare/v0.6.0...v0.7.0

Commits


Updates anyio from 4.3.0 to 4.4.0

Release notes

Sourced from anyio's releases.

4.4.0

  • Added the BlockingPortalProvider class to aid with constructing synchronous counterparts to asynchronous interfaces that would otherwise require multiple blocking portals
  • Added __slots__ to AsyncResource so that child classes can use __slots__ (#733; PR by Justin Su)
  • Added the TaskInfo.has_pending_cancellation() method
  • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() (#706; PR by Dominik Schwabe)
  • Fixed two bugs with TaskGroup.start() on asyncio:
    • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() (#706; PR by Dominik Schwabe)
    • Fixed the entire task group being cancelled if a TaskGroup.start() call gets cancelled (#685, #710)
  • Fixed a race condition that caused crashes when multiple event loops of the same backend were running in separate threads and simultaneously attempted to use AnyIO for their first time (#425; PR by David Jiricek and Ganden Schaffner)
  • Fixed cancellation delivery on asyncio incrementing the wrong cancel scope's cancellation counter when cascading a cancel operation to a child scope, thus failing to uncancel the host task (#716)
  • Fixed erroneous TypedAttributeLookupError if a typed attribute getter raises KeyError
  • Fixed the asyncio backend not respecting the PYTHONASYNCIODEBUG environment variable when setting the debug flag in anyio.run()
  • Fixed SocketStream.receive() not detecting EOF on asyncio if there is also data in the read buffer (#701)
  • Fixed MemoryObjectStream dropping an item if the item is delivered to a recipient that is waiting to receive an item but has a cancellation pending (#728)
  • Emit a ResourceWarning for MemoryObjectReceiveStream and MemoryObjectSendStream that were garbage collected without being closed (PR by Andrey Kazantcev)
  • Fixed MemoryObjectSendStream.send() not raising BrokenResourceError when the last corresponding MemoryObjectReceiveStream is closed while waiting to send a falsey item (#731; PR by Ganden Schaffner)
Changelog

Sourced from anyio's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

UNRELEASED

  • Added support for the from_uri(), full_match(), parser methods/properties in anyio.Path, newly added in Python 3.13

4.4.0

  • Added the BlockingPortalProvider class to aid with constructing synchronous counterparts to asynchronous interfaces that would otherwise require multiple blocking portals

  • Added __slots__ to AsyncResource so that child classes can use __slots__ ([#733](https://github.com/agronholm/anyio/issues/733) <https://github.com/agronholm/anyio/pull/733>_; PR by Justin Su)

  • Added the TaskInfo.has_pending_cancellation() method

  • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() ([#706](https://github.com/agronholm/anyio/issues/706) <https://github.com/agronholm/anyio/issues/706>_; PR by Dominik Schwabe)

  • Fixed two bugs with TaskGroup.start() on asyncio:

    • Fixed erroneous RuntimeError: called 'started' twice on the same task status when cancelling a task in a TaskGroup created with the start() method before the first checkpoint is reached after calling task_status.started() ([#706](https://github.com/agronholm/anyio/issues/706) <https://github.com/agronholm/anyio/issues/706>_; PR by Dominik Schwabe)
    • Fixed the entire task group being cancelled if a TaskGroup.start() call gets cancelled ([#685](https://github.com/agronholm/anyio/issues/685) <https://github.com/agronholm/anyio/issues/685>, [#710](https://github.com/agronholm/anyio/issues/710) <https://github.com/agronholm/anyio/issues/710>)
  • Fixed a race condition that caused crashes when multiple event loops of the same backend were running in separate threads and simultaneously attempted to use AnyIO for their first time ([#425](https://github.com/agronholm/anyio/issues/425) <https://github.com/agronholm/anyio/issues/425>_; PR by David Jiricek and Ganden Schaffner)

  • Fixed cancellation delivery on asyncio incrementing the wrong cancel scope's cancellation counter when cascading a cancel operation to a child scope, thus failing to uncancel the host task ([#716](https://github.com/agronholm/anyio/issues/716) <https://github.com/agronholm/anyio/issues/716>_)

  • Fixed erroneous TypedAttributeLookupError if a typed attribute getter raises KeyError

  • Fixed the asyncio backend not respecting the PYTHONASYNCIODEBUG environment variable when setting the debug flag in anyio.run()

  • Fixed SocketStream.receive() not detecting EOF on asyncio if there is also data in the read buffer ([#701](https://github.com/agronholm/anyio/issues/701) <https://github.com/agronholm/anyio/issues/701>_)

  • Fixed MemoryObjectStream dropping an item if the item is delivered to a recipient that is waiting to receive an item but has a cancellation pending ([#728](https://github.com/agronholm/anyio/issues/728) <https://github.com/agronholm/anyio/issues/728>_)

  • Emit a ResourceWarning for MemoryObjectReceiveStream and MemoryObjectSendStream that were garbage collected without being closed (PR by Andrey Kazantcev)

... (truncated)

Commits
  • 053e8f0 Bumped up the version
  • e7f750b Fixed memory object stream sometimes dropping sent items (#735)
  • 9f5f14b Fixed task group getting cancelled if start() gets cancelled (#717)
  • 8b648bc Adjusted the pull request template
  • 3ff5e9a Rearranged changelog items
  • 541d1f8 [pre-commit.ci] pre-commit autoupdate (#734)
  • 8a07690 Fix MemoryObjectSendStream.send(falsey) not raising BrokenResourceError w...
  • 4b3de97 Adjust the headings in the PR template
  • dfc44cf Added __slots__ to AsyncResource (#733)
  • 96920b0 Fix typo in PR template (#730)
  • Additional commits viewable in compare view


Updates certifi from 2024.2.2 to 2024.6.2

Commits
  • 124f4ad 2024.06.02 (#291)
  • c2196ce --- (#290)
  • fefdeec Bump actions/checkout from 4.1.4 to 4.1.5 (#289)
  • 3c5fb15 Bump actions/download-artifact from 4.1.6 to 4.1.7 (#286)
  • 4a9569a Bump actions/checkout from 4.1.2 to 4.1.4 (#287)
  • 1fc8086 Bump peter-evans/create-pull-request from 6.0.4... _Description has been truncated_
dependabot[bot] commented 2 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.