-
Notifications
You must be signed in to change notification settings - Fork 63
bump project deps #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bump project deps #226
Changes from 4 commits
a3189ee
9929a03
e208c5b
c80b8d8
b10665c
49b8512
27a895e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -48,22 +48,10 @@ This example demonstrates the seamless integration of [FastAPI](https://fastapi. | |||||
| with [Pydantic 2.0](https://github.com/pydantic/pydantic), a robust and powerful data validation library. | ||||||
| The integration is further enhanced by the use of [SQLAlchemy ORM](https://www.sqlalchemy.org/), a popular and feature-rich Object-Relational Mapping tool, | ||||||
| and [PostgreSQL17](https://www.postgresql.org/docs/17/release.html) relational database. | ||||||
|
|
||||||
| The entire stack is connected using the [asyncpg](https://github.com/MagicStack/asyncpg) Database Client Library, | ||||||
| which provides a robust and efficient way to interact with PostgreSQL databases in Python, | ||||||
| leveraging the power of asyncio and event loops. | ||||||
|
|
||||||
| Notably, this example showcases the latest and greatest versions of SQLAlchemy and psycopg, | ||||||
| which are renowned for their robustness, power, and speed. The inclusion of FastAPI adds a modern, fast, and high-performance web framework to the mix | ||||||
| allowing for the rapid development of APIs with Python 3.13. | ||||||
|
|
||||||
| FastAPI has received significant recognition in the industry, including a review on thoughtworks Technology Radar in April 2021, | ||||||
| where it was classified as a Trial technology, with comments praising its performance, ease of use, | ||||||
| and features such as API documentation using OpenAPI. Additionally, FastAPI was recognized in the Python Developers Survey 2023 Results, | ||||||
| conducted by the Python Software Foundation and JetBrains, where it was reported that 1 in 4 Python developers use FastAPI, | ||||||
| with a 4 percentage point increase from the previous year. | ||||||
|
|
||||||
|
|
||||||
| ### Built With | ||||||
| [![FastAPI][fastapi.tiangolo.com]][fastapi-url] | ||||||
| [![Pydantic][pydantic.com]][pydantic-url] | ||||||
|
|
@@ -106,7 +94,7 @@ Next models were generated with https://github.com/agronholm/sqlacodegen | |||||
|
|
||||||
| To elevate the logging capabilities beyond simple colored output, | ||||||
| this project has transitioned to [Rotoger](https://github.com/tinyplugins/rotoger). | ||||||
| This powerful library provides a comprehensive, production-ready logging setup for modern asynchronous applications, | ||||||
| This tiny library provides a comprehensive, production-ready logging setup for modern asynchronous applications, | ||||||
|
||||||
| This tiny library provides a comprehensive, production-ready logging setup for modern asynchronous applications, | |
| This lightweight yet comprehensive library provides a production-ready logging setup for modern asynchronous applications, |
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change log summary has been updated from "3 changes" to "7 changes" in 2025, but the PR title is "bump project deps" which suggests this is primarily a dependency update. If this PR includes 4 additional changes beyond the dependency bumps, they should be documented in the change log. If not, the count should reflect only the changes actually made in this PR.
| <summary>2025 (7 changes)</summary> | |
| <summary>2025 (6 changes)</summary> |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,47 +1,44 @@ | ||||||||||
| [project] | ||||||||||
| name = "fastapi-sqlalchemy-asyncpg" | ||||||||||
| version = "0.22.0" | ||||||||||
| version = "1.22.0" | ||||||||||
|
||||||||||
| version = "1.22.0" | |
| version = "0.23.0" |
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Python version constraint changed from >=3.14 to ==3.14.0, which is overly restrictive. This will prevent the project from working with any Python 3.14.x patch releases (e.g., 3.14.1, 3.14.2). Consider using >=3.14,<3.15 or ~=3.14.0 to allow patch version updates while maintaining compatibility.
| requires-python = "==3.14.0" | |
| requires-python = ">=3.14,<3.15" |
Outdated
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependency pinning strategy has changed from using minimum version specifiers (>=) to exact version pinning (==) for most dependencies. While this provides reproducibility, it prevents automatic security patches and bug fixes. This is particularly concerning for security-sensitive packages like bcrypt, pyjwt, and redis. Consider using ~= for compatible releases (e.g., bcrypt~=5.0.0) to allow patch updates while preventing breaking changes.
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
locust and sqlacodegen have been removed from dev dependencies. If these tools are still being used for load testing or model generation, they should remain in the dependencies. If they're no longer needed, ensure all references to them have been removed from documentation and scripts.
| "tryceratops==2.4.1", | |
| "tryceratops==2.4.1", | |
| "locust", | |
| "sqlacodegen", |
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ruff target version has been updated from py313 to py314, but this is inconsistent with the actual Python version being used (3.14.0). However, py314 is not a valid ruff target version identifier. The correct identifier should be py314 only if ruff version 0.14.5+ supports Python 3.14. Please verify that the version of ruff being used (0.14.5) actually supports the py314 target version.
| target-version = "py314" | |
| target-version = "py313" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] An empty line was removed after line 50, which changes the paragraph spacing. While this is a minor formatting change, it affects readability. The removed line helped separate the discussion of the technology stack from the "Built With" section.